Im considering extending the Struts taglibs (specfically the form object
tags). What Im thinking about doing is adding a "formStateObject" to my
ActionForm beans and having it dictate the "state" of specifc elements of a
form. For example, if a particular field should be disabled, then I would
add disable="true" to the parsed form tag. Other properties of my
formStateObject include changing the css class of the object (to indicate
which fields are required) and whether or not to display a form object. My
intention is to clean up the JSP's that currently have logic tags wrapping
code according to the values set in formStateObject.

Has anyone else extended the taglibs in such a way? 
Opinions on this type of approach?

Thanks,

Shane

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

Reply via email to