tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Horn (JIRA)" <...@tapestry.apache.org>
Subject [jira] Updated: (TAPESTRY-2013) BeanEditor does not support informal parameters
Date Fri, 04 Jan 2008 02:18:34 GMT

     [ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message