Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cedric Staub
committed
Oct 1, 2012
1 parent
30c4a25
commit 3862cb1
Showing
2 changed files
with
408 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0"?> | ||
|
||
<resource xmlns="http://www.wyona.org/yanel/1.0" | ||
name="contact-form-v2" | ||
namespace="http://www.wyona.org/yanel/resource/1.0" | ||
class="org.wyona.yanel.impl.resources.contactform.ContactResourceV2" | ||
> | ||
<description> | ||
Contact form for sending email | ||
</description> | ||
|
||
<rtd> | ||
<!-- Mandatory properties --> | ||
<!-- TODO: Allow more than one "to" --> | ||
<property name="to"/> | ||
|
||
<!-- Optional properties --> | ||
<property name="subject"/> | ||
<property name="xslt"/> <!-- Global XSLT --> | ||
<property name="xslt-body"/> <!-- XSLT to render body (actual form) --> | ||
<property name="mime-type"/> | ||
<property name="from"/> <!-- INFO: If not configured then the email address specified of the form is used as from address --> | ||
<property name="email-validation-regex"/> | ||
<!-- NOTE: Please note that one needs to reload/restart Yanel in order to activate changes of host and port! --> | ||
<property name="smtpHost"/> | ||
<property name="smtpPort"/> | ||
</rtd> | ||
</resource> |
Oops, something went wrong.