Re: Dynamically adding form elements client-side

2005-06-22 Thread Werner Punz
Martin Marinschek wrote: By the way: DWR is under the ASL, no licensing problems here for sure! regards, neither is the MIT license, I just looked it up :-) Anyway I will look into DWR, it looks really interesting, it might already deliver some stuff which I need for the next component. btw..

Re: Dynamically adding form elements client-side

2005-06-22 Thread Martin Marinschek
By the way: DWR is under the ASL, no licensing problems here for sure! regards, Martin On 6/22/05, Werner Punz <[EMAIL PROTECTED]> wrote: > Richard Wallace wrote: > > Werner Punz wrote: > > > >> Richard Wallace wrote: > >> > >>> Actually, on reflection, I can't really think of a good way to get

Re: Dynamically adding form elements client-side

2005-06-21 Thread Werner Punz
Richard Wallace wrote: Werner Punz wrote: Richard Wallace wrote: Actually, on reflection, I can't really think of a good way to get everything I want for free anyways. I think I will need to develop a custom component, probably something that is composed of other existing UI elements. The

Re: Dynamically adding form elements client-side

2005-06-21 Thread Richard Wallace
Werner Punz wrote: Richard Wallace wrote: Actually, on reflection, I can't really think of a good way to get everything I want for free anyways. I think I will need to develop a custom component, probably something that is composed of other existing UI elements. The three primary use cases

Re: Dynamically adding form elements client-side

2005-06-21 Thread Werner Punz
Richard Wallace wrote: Werner Punz wrote: Richard Wallace wrote: Werner Punz wrote: Richard Wallace wrote: Ok, but how should I "tinker" with the element tree? I'm guessing AJAX will need to come into play. But how do I get access to the element tree? And exactly how should I manipula

Re: Dynamically adding form elements client-side

2005-06-20 Thread Richard Wallace
Werner Punz wrote: Richard Wallace wrote: Werner Punz wrote: Richard Wallace wrote: Ok, but how should I "tinker" with the element tree? I'm guessing AJAX will need to come into play. But how do I get access to the element tree? And exactly how should I manipulate it? I'm guessing th

Re: Dynamically adding form elements client-side

2005-06-20 Thread Werner Punz
Richard Wallace wrote: Werner Punz wrote: Richard Wallace wrote: Ok, but how should I "tinker" with the element tree? I'm guessing AJAX will need to come into play. But how do I get access to the element tree? And exactly how should I manipulate it? I'm guessing there's no ready to go m

Re: Dynamically adding form elements client-side

2005-06-20 Thread Richard Wallace
Werner Punz wrote: Richard Wallace wrote: Martin Marinschek wrote: You need to explicitly add these new elements, this is entirely your responsibility... I understand that, my question is "How do I add the new elements?" If you can do a refresh, you simple do a binding to the backend

Re: Dynamically adding form elements client-side

2005-06-20 Thread Richard Wallace
Werner Punz wrote: Richard Wallace wrote: Ok, but how should I "tinker" with the element tree? I'm guessing AJAX will need to come into play. But how do I get access to the element tree? And exactly how should I manipulate it? I'm guessing there's no ready to go methods already in the JS

Re: Dynamically adding form elements client-side

2005-06-20 Thread Werner Punz
Richard Wallace wrote: Thanks, I understand how to do it on the javascript side. I'm just not sure how to translate it into something the JavaServer Faces will be able to understand. Optimally, of course, the values of the new elements would be bound to the backing bean in the same way as any

Re: Dynamically adding form elements client-side

2005-06-20 Thread Werner Punz
Richard Wallace wrote: Ok, but how should I "tinker" with the element tree? I'm guessing AJAX will need to come into play. But how do I get access to the element tree? And exactly how should I manipulate it? I'm guessing there's no ready to go methods already in the JSF APIs to accomplish

Re: Dynamically adding form elements client-side

2005-06-20 Thread Werner Punz
Richard Wallace wrote: Martin Marinschek wrote: You need to explicitly add these new elements, this is entirely your responsibility... I understand that, my question is "How do I add the new elements?" If you can do a refresh, you simple do a binding to the backend bean, and there you

Re: Dynamically adding form elements client-side

2005-06-20 Thread Richard Wallace
Martin Marinschek wrote: You need to explicitly add these new elements, this is entirely your responsibility... I understand that, my question is "How do I add the new elements?" Rich regards, Martin On 6/20/05, Richard Wallace <[EMAIL PROTECTED]> wrote: Werner Punz wrote: R

Re: Dynamically adding form elements client-side

2005-06-20 Thread Martin Marinschek
You need to explicitly add these new elements, this is entirely your responsibility... regards, Martin On 6/20/05, Richard Wallace <[EMAIL PROTECTED]> wrote: > Werner Punz wrote: > > > Richard Wallace wrote: > > > >> Hello again, > >> > >> I'm trying to figure out how, if it's possible to add f

Re: Dynamically adding form elements client-side

2005-06-20 Thread Richard Wallace
Werner Punz wrote: Richard Wallace wrote: Werner Punz wrote: Richard Wallace wrote: 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. Only by using javascrip

Re: Dynamically adding form elements client-side

2005-06-20 Thread Werner Punz
Richard Wallace wrote: Werner Punz wrote: Richard Wallace wrote: 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. Only by using javascript, but without javascri

Re: Dynamically adding form elements client-side

2005-06-20 Thread Richard Wallace
Werner Punz wrote: Richard Wallace wrote: 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. Only by using javascript, but without javascript no. That is a limit ca

Re: Dynamically adding form elements client-side

2005-06-20 Thread Werner Punz
Richard Wallace wrote: 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. Only by using javascript, but without javascript no. That is a limit caused by the beast which

Re: Dynamically adding form elements client-side

2005-06-18 Thread Martin Marinschek
place it exactly WHERE you want it in > >your form. The link I mentioned should include various methods you could > >invoke to add it after the element, or elements, of your choice. > > > >Good luck! > > > >Regards, > >David > > > >-Origina

Re: Dynamically adding form elements client-side

2005-06-18 Thread Richard Wallace
invoke to add it after the element, or elements, of your choice. Good luck! Regards, David -Original Message- From: Richard Wallace [mailto:[EMAIL PROTECTED] Sent: Saturday, June 18, 2005 11:10 PM To: MyFaces Discussion Subject: Re: Dynamically adding form elements client-side David G. Fr

RE: Dynamically adding form elements client-side

2005-06-18 Thread David G. Friedman
The link I mentioned should include various methods you could invoke to add it after the element, or elements, of your choice. Good luck! Regards, David -Original Message- From: Richard Wallace [mailto:[EMAIL PROTECTED] Sent: Saturday, June 18, 2005 11:10 PM To: MyFaces Discussion Sub

Re: Dynamically adding form elements client-side

2005-06-18 Thread Richard Wallace
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 hav

RE: Dynamically adding form elements client-side

2005-06-18 Thread David G. Friedman
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 ST

Dynamically adding form elements client-side

2005-06-18 Thread Richard Wallace
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