Hi Nagiel,

if (sb.getTitle().equals("Mr."))
        formularBean.setTestSelect(sb.getTitle())

in your preprocessing action class to set the value of "testSelect", which will automatically add the SELECTED attribute on the option tag?
because of the fact, that i�ve got no access to this bean in my preprocessing action. testSelect is a member of the upcoming DynaActionValidatorForm with is initiatet during the <html:form/> tag of my JSP.

You are right the sbBean and the DynaActionValidatorForm have exactly the same members which seems to be a big design failure in my application. I should get rid of the sbBean and initiate the DynaActionValidatorForm earlier in my preprocessing action.

But how ??? Does anyone have an example how to retrieve a DynaActionValidatorForm from the mapping ?

And, if i use the DynaActionValidatorForm earlier in my preprocessing action, store it in requestScope, does the <html:form/> Tag take notice of it, or simply 'overrides' it ?

It is my first Struts app and this is quit complex for me, hope Nagiel or someone else will help.

Thank you.

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



Reply via email to