[ 
https://issues.apache.org/jira/browse/TAPESTRY-2634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629109#action_12629109
 ] 

Andy Pahne commented on TAPESTRY-2634:
--------------------------------------

I apologize for being too unspecific.

"Does not work" should mean: the page property 

   @Property @Persist
    private String simpleProperty;

is not updated by the form, when the mixin is used.

It should be, as you can see by looking at the form's definition:

    <form t:type="Form" t:zone="resultZone" t:mixins="SimpleMixin">
        
        <t:label for="searchTerm"/>
        <input t:type="TextField" 
               t:value="simpleProperty"
               t:id="searchTerm"/>
        
        <input t:type="submit" 
               t:clientId="Submit"
               t:id="submitButton"
               value="Submit"/>
               
    </form>


No exceptions were thrown. There were no error messages. But when the zone is 
updated after form submission, only the page without mixin does update the page 
property. 

Because both pages only differ in the mixin that is applied to the form 
component, I suspect that the mixin is the reason that the TextField does not 
update the page property. But that's just a guess, and my knowledge about T5 is 
still limited.






> Form component does not work when a mixin is applied
> ----------------------------------------------------
>
>                 Key: TAPESTRY-2634
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2634
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.14
>         Environment: Jetty 6, Tapestry 5.0.14, Windows XP, Sun Java 1.6
>            Reporter: Andy Pahne
>         Attachments: t5-simple.zip
>
>
> As you can see in the attached example application, a very simple for 
> component does
> not work when a mixin is applied.
> I have no clue what's going on here, but it's definetly not expected 
> behaviour.

-- 
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]

Reply via email to