[ 
http://issues.apache.org/jira/browse/TAPESTRY-866?page=comments#action_12376039 
] 

Martin Dirichs commented on TAPESTRY-866:
-----------------------------------------

Incorrect use of the prerender-attribute lead to this entry. If used with 
prerender="false", field labels that are placed behind the corresponding input 
fields work correctly .

> Order of FieldLabel and corresponding TextField affects behaviour
> -----------------------------------------------------------------
>
>          Key: TAPESTRY-866
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-866
>      Project: Tapestry
>         Type: Bug

>   Components: Framework
>     Versions: 4.0
>     Reporter: Martin Dirichs

>
> Components FieldLabel and TextField only work as expected if they are
> specified in this order in the Template. Switching the order, ie. having the
> label behind the input field, causes the value of the input field to be lost.
> Example:
> This works:
> <span jwcid="@FieldLabel" field="component:lastname">Name</span>
> <input jwcid="[EMAIL PROTECTED]" value="ognl:lastname" displayName="Name"/>
> This does not:
> <input jwcid="[EMAIL PROTECTED]" value="ognl:lastname" displayName="Name"/>
> <span jwcid="@FieldLabel" field="component:lastname">Name</span>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to