On 8/24/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
The other approach, if you're using something like Digester (which is true
at least for S1) to parse the config file, is to define an explicit rule
that calls the right setter if there is an attribute with a specified name.

We do the same sort of thing in Struts2/Xwork2. The
ValidatorFileParser looks for the "short-circuit" attribute and uses
it to set the ShortCircuit boolean property.

-Ted.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to