Re: DHTML and Struts

2006-08-03 Thread Frank W. Zammetti
Yeah, leave it to IE to not work with DOM-compliant code :) I guess I only tried it in FF, which is odd since I don't generally use FF (it was probably just open at the time!). Glad you got it working! Frank Puneet Lakhina wrote: On 8/3/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: Any

Re: DHTML and Struts

2006-08-03 Thread Puneet Lakhina
On 8/3/06, Puneet Lakhina <[EMAIL PROTECTED]> wrote: Any form elements created dynamically on the client-side will have no > intrinsic link to the ActionForm. However, this is not necessarily a > problem... imagine if your ActionForm has this in it: > > private String firstName; > public voi

Re: DHTML and Struts

2006-08-03 Thread Puneet Lakhina
Any form elements created dynamically on the client-side will have no intrinsic link to the ActionForm. However, this is not necessarily a problem... imagine if your ActionForm has this in it: private String firstName; public void setFirstName(String inFirstName) { firstName = inFirstName; }

Re: DHTML and Struts

2006-08-02 Thread Frank W. Zammetti
Any form elements created dynamically on the client-side will have no intrinsic link to the ActionForm. However, this is not necessarily a problem... imagine if your ActionForm has this in it: private String firstName; public void setFirstName(String inFirstName) { firstName = inFirstName; } pu

Re: DHTML and Struts

2006-08-01 Thread Puneet Lakhina
you were hung up (maybe I read into your question incorrectly). So are you actually hung up on the JavaScript to dynamically add fields? Yes, i am able to add text fields to my page, but I dont know what all attributes to specify in the input tag so that my user bean recieves the values fro

Re: DHTML and Struts

2006-08-01 Thread Frank W. Zammetti
On Tue, August 1, 2006 5:05 am, Puneet Lakhina wrote: >> >> >> http://struts.apache.org/1.x/userGuide/building_controller.html >> >> Specifically, section 4.3.3 Map-backed ActionForms. > > > have already read that. But in that the page is generated dynamically, it > doesnt change once rendered on t

Re: DHTML and Struts

2006-08-01 Thread Puneet Lakhina
http://struts.apache.org/1.x/userGuide/building_controller.html Specifically, section 4.3.3 Map-backed ActionForms. have already read that. But in that the page is generated dynamically, it doesnt change once rendered on the client, which is what I want to do. -- Puneet

Re: DHTML and Struts

2006-07-31 Thread Frank W. Zammetti
Hi, Have a look here: http://struts.apache.org/1.x/userGuide/building_controller.html Specifically, section 4.3.3 Map-backed ActionForms. Frank Puneet Lakhina wrote: I have a set of text fields on a form. but the number of the text fields il need is soemthing that depends on the user using t