Hi all, This is a conceptual doubt:
Let there be an action class member "t" of type "T". For a <s:textfield name="t.a"/> in the JSP, a new instance of T will be created and the member variable of T,namely a, will be populated with the value entered in the textfield. I have a scenario wherein depending on the user's selection (java-script action), I must create one of the run-time instances of T, say X, Y or Z. Subsequent values the user enters will sit in one of these instances. Is there anyway I can specify the actual instance of T in the <s:textfield/> tag? My intention is to have a single action class member definition "T t". I can live with 3 different <s:textfield/> tags in my JSP. Regards, Kumar. -- View this message in context: http://www.nabble.com/Polymorphism-through-s%3Atextfield-tp22149774p22149774.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org