Hi Juan,

thank you for this hint. I'll try it when I need it.

Up to now, I could work around that problem but not very elegant.

Regards, Klaus


Juan Isern wrote:
> 
> Hi Klaus,
> 
> I've been facing the same exact problem with validations when also
> developing a similar component (maybe this should be taken as a suggestion
> for the tapestry developers to include a more traditional date field...)
> 
> What I've found out so far is that you can inject a FormSupport object
> that has a defer() method taking as its first argument a command whose
> execution will be postponed until the wrapping form is submitted. I think
> that meets our requirement.
> 
> The problem is that when that deferred action is executed, the component
> is in a "weird" state: for instance, it happens to me that all the
> component state is nullified.
> 
> Please check it out, maybe it works for you. It can't be THIS hard!
> 
> Regards - Juan
> 

-- 
View this message in context: 
http://old.nabble.com/Cross-field-validation-in-a-component-tp26690823p28001350.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to