[S2] Action-specific validate method?

2007-10-15 Thread ironic
I have a class that services many actions. For each action that needs validation I have a corresponding Class-action-validation.xml, which takes care of the simple validation. However, I have a case where two actions need more complex validation (handled in Struts 1 by validwhen and indexedpropert

Re: [S2] Action-specific validate method?

2007-10-16 Thread ironic
ns into a method and then call that method from each of > your execute() equivalent methods." > > So instead of overriding validate(), I have several validation() methods > [action1Validation(), action2Validation)(), etc) and calls those first > off, as needed. > > ir

Struts2: list and map indexing

2007-07-27 Thread ironic
Can anyone point me to a working example of Struts2 indexed properties? I've managed to get list indexing working: but haven't had any luck with the map style: (where state.getName retu