Richard,

Are you talking about hiding/showing the fields (such as using a CSS style)
or completely adding to the page without a resubmit?

Regards,
David

-----Original Message-----
From: Richard Wallace [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 18, 2005 11:04 PM
To: MyFaces Discussion
Subject: Dynamically adding form elements client-side


Hello again,

I'm trying to figure out how, if it's possible to add form elements,
like text fields, when a user clicks an add button without having to
have the page resubmit.  I'm not even sure it's 100% possible unless the
STATE_SAVING_METHOD is client.  And then the javascript would have to
manipulate that hidden field.  Or do some kind of AJAX operation to
modify the state when it's being stored server side.  At this point, I
think if anything prevents us from adopting JSF at work it would be
dynamically adding form elements.  Any suggestions?

Thanks,
Rich

Reply via email to