Hi,
I'm working on transfering a preexisting web app to use
struts. So i'm abstracting all the
java code out of the
jsp's and into the actions. That part i have no problem with, but the one problem im running into now is that the submits on all of the forms are controlled by javascript functions. These functions also set different values on different inputs (fields, hidden fields, etc.) and then submits the form.
So, im using <html:hidden property="propInForm" value="some value" />, but i still need the regular name attribute, not the struts 'bean' name attribute. Since the javascript changes these form fields on submit i need to be able to reference them via their 'html' name.
Does anyone know why the developers of the struts tags wouldn't have included this field? something like htmlName would suffice, i do realize that its probably not too proper to be changing fields and properties via javascript functions, but right now im just worried about getting this whole web app transistioned in certain period of time.
Can anyone help?
Thanks,
Dave
SCJP 1.4, SCJD 1.4, SCWCD 1.3, SCBCD 1.3, IBM Certified Solution Developer -WebSphere Studio V5.0