[
https://issues.apache.org/jira/browse/TAPESTRY-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Horn updated TAPESTRY-2013:
--------------------------------
Description:
BeanEditor does not support informal parameters like BeanEditForm does.
For example the following text area inside the BeanEditor is ignored and the
default TextField is used instead. In a BeanEditForm this same <t:paramater..>
element would work correctly.
<form t:type="form" t:id="form">
<t:errors />
<span t:type="beaneditor" t:object="component"
reorder="id,name,description" >
<t:parameter name="description">
<t:label for="description"/>
<t:textarea t:id="description" cols="80"
rows="5" value="mybean.description"/>
</t:parameter>
</span>
</form>
was:
BeanEditor does not support informal parameters like BeanEditForm does.
For example the following text area inside the BeanEditor is ignored and the
default TextField is used instead. In a BeanEditForm this same <t:paramater..>
element would work correctly.
{code}
<form t:type="form" t:id="form">
<t:errors />
<span t:type="beaneditor" t:object="component"
reorder="id,name,description" >
<t:parameter name="description">
<t:label for="description"/>
<t:textarea t:id="description" cols="80" rows="5"
value="mybean.description"/>
</t:parameter>
</span>
</form>
{code}
> BeanEditor does not support informal parameters
> -----------------------------------------------
>
> Key: TAPESTRY-2013
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2013
> Project: Tapestry
> Issue Type: Bug
> Components: Core Components
> Affects Versions: 5.0.7
> Reporter: Mark Horn
>
> BeanEditor does not support informal parameters like BeanEditForm does.
> For example the following text area inside the BeanEditor is ignored and the
> default TextField is used instead. In a BeanEditForm this same
> <t:paramater..> element would work correctly.
> <form t:type="form" t:id="form">
> <t:errors />
> <span t:type="beaneditor" t:object="component"
> reorder="id,name,description" >
> <t:parameter name="description">
> <t:label for="description"/>
> <t:textarea t:id="description" cols="80"
> rows="5" value="mybean.description"/>
> </t:parameter>
> </span>
> </form>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]