tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fritz Pröbstle (JIRA) <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-2514) onValidate and property-setters are called in wrong execution order
Date Mon, 14 Jul 2008 06:49:32 GMT

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

Fritz Pröbstle commented on TAPESTRY-2514:
------------------------------------------


I did not realize how to get the value of the Filed i want to validate.
Now I saw that you can transfer it to the onValidateXX(..) by Parameter.



> onValidate  and property-setters are called in wrong execution order
> --------------------------------------------------------------------
>
>                 Key: TAPESTRY-2514
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2514
>             Project: Tapestry
>          Issue Type: Bug
>    Affects Versions: 5.0.13
>            Reporter: Fritz Pröbstle
>            Assignee: Howard M. Lewis Ship
>
> In a form submission first the onValidateXX() is called.
> (No Properties are yet set  and you can not  validate ). 
> Then the setXX()-Property setters are called.
> Solution:
> Change the excution order: set Properties first then call onValidateXX() .

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