Hi,
I have coded and programmed myself into a corner. Gotta hate that.
I don't seem to be able to get to the archives at the moment, either.
In a nutshell the problem is this:
A certain form has a wad of known elements. Based on J. Random Criteria I need to be able to dynamically add elements to that form on both the back-end and front-end. So really I need to be able to add elements to a DynaValidatorActionForm (which is what all my forms are, declared in struts-config.xml) _AND_ add the "appropriate" elements on the JSP page.
So, say I had a form with a first name, last name, and email. Sometimes I'd need/want the same page to have, say, a FormFile upload element in the form def. and in the JSP. Other times I might want a different FormFile upload element and an additional text input, like a URL.
Any thoughts, or am I living in a dream world? It kinda feels like it at this point, especially considering my deadline (and it's Sunday night... niiiiiiice...)
It seems like this should be doable assuming I have the ability to process the form fields dynamically (I had planned on associating a class name with the various "types" of additional fields I'd want to add and using an instance of that class instantiated on a form post to process the dynamic form fields)... But after pondering for a little bit I'm less sure of myself.
*sigh*
Any help GREATLY appreciated!
Thanks, Dave
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]