struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "j alex" <>
Subject S2 : Validation per Action method - ideas?
Date Thu, 09 Aug 2007 13:37:57 GMT

Is there a way to declaratively restrict validations depending on the method
within the Action? - this could be useful for wizard-like forms where each
step of the wizard has a set of fields ; corresponds to a different method
but all of them share the same Action.

I can think of having an expression validator based on currentstep added to
every field short-circuited ; but that's more of a workaround rather than
the right way to do it.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message