Hello,
i have a widget fiels that I would like to have a initial value. I have this code in mine define.xml file;
<wd:form xmlns:wd="http://apache.org/cocoon/woody/definition/1.0"
xmlns:i18n="http://apache.org/cocoon/i18n/2.1">
<wd:field id="from" required="true">
<wd:initial-value>
[email protected]
</fd:initial-value>
<wd:datatype base="string">
<wd:validation />
</wd:datatype>
<wd:label>
<i18n:text>extranet.create_ticket.from</i18n:text>
</wd:label>
</wd:field>
the form works good, validation is ok, but there is no initial value set . The fiels is always blank.
What am I doing wrong?
vriendelijke groeten,
Roel Croonenberghs
- Re: cocoon.exit(); jantje
- initial value Roel Croonenberghs
- Re: initial value Jason Johnston
- Re: cocoon.exit(); Joerg Heinicke
