Re: [S2] Master-Detail Form

2007-07-10 Thread Don Brown
If you are wanting to do this on the client side via JavaScript, you won't be using Struts 2 server-side tags. Look around for JavaScript tutorials about adding form elements. Perhaps one of the popular JavaScript frameworks like Dojo will be of help here. Don On 6/29/07, Luciano Costa <[EMAIL

Re: [S2] Master Detail Form - needing a sample

2007-06-29 Thread Martin Gainty
e in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Luciano Costa" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Friday, Ju

[S2] Master Detail Form - needing a sample

2007-06-29 Thread Luciano Costa
Hi, I'm trying to implement a "Poll" register form. The Poll object have "PollOption pollOptions;" property. How should I show pollOptions in my form, in way that struts can bind the data with my PollAction.poll property? I've tried this, but it's not binding: <@s.textfield name="poll.name" />

RES: [S2] Master-Detail Form

2007-06-28 Thread Luciano Costa
.innerHTML = " "; td.innerHTML += " "; td.setAttribute("valign", "top"); } thanks, Luciano Costa -Mensagem original- De: Dave Newton [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 28 de junho de 2007 06:58 Para: Struts Users Mailing List Assunto

Re: [S2] Master-Detail Form

2007-06-28 Thread Dave Newton
From: Luciano Costa <[EMAIL PROTECTED]> > I have the "Poll" and "PollOption" objects. In my > form, I want to be able to add more options to > my Poll via javascript code. You didn't include the JavaScript you're using to create the new form elements, so it's kinda hard to say. d. _