Antwort: RE: Antwort: Re: Problem with commandButton and required form fields

2005-08-08 Thread mathias . werlitz
At the moment there is a problem with it, because of the canged behavior of the UIInput component (through MYFACES-277). Now it does not make much sense to use it, because all not validated fields will lose their value and the user has to reenter all the data. My opinion is that this new

Re: RE: Antwort: Re: Problem with commandButton and required form fields

2005-08-08 Thread Mike Kienenberger
Thanks for pointing that out. I'm now watching MYFACES-277. I'm currently using the immediate=true methodology, but I'm convinced that a separate form is the best solution for my use case. On 8/8/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: At the moment there is a problem with it,

Antwort: Re: Problem with commandButton and required form fields

2005-08-05 Thread mathias . werlitz
I had a similar problem. I use UIInput components with NO value binding. Instead the components have a valueChangedListern (function) of a bean. So the values are added there internally. Setting immediate=true on the input components helps, but if you have serveral parts of a form, e.g. a second

RE: Antwort: Re: Problem with commandButton and required form fields

2005-08-05 Thread Eric Kelm
Yes that might be helpful. Can you make the code available? Thanks! - Eric Kelm From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, August 05, 2005 2:41 AM To: users@myfaces.apache.org Subject: Antwort: Re: Problem with commandButton and required

Re: Re: Problem with commandButton and required form fields

2005-08-05 Thread Mike Kienenberger
I was thinking of a similar solution. Open a new window with a new form, and move everything that's on the tabbed view to this popup panel. Have this triggered with a control on the first form. I don't know much javascript, but I think this is possible. On 8/5/05, [EMAIL PROTECTED] [EMAIL

Re: Problem with commandButton and required form fields

2005-08-04 Thread Mike Kienenberger
I don't have any answers yet, but I'm having the same issue. On 8/4/05, Eric Kelm [EMAIL PROTECTED] wrote: Hi all, I am having a problem with a form in an application I am working on and was wondering if anyone else had the problem. I have a large form that is part of a tabbed pane, where

RE: Problem with commandButton and required form fields

2005-08-04 Thread Eric Kelm
--Original Message- -From: Mike Kienenberger [mailto:[EMAIL PROTECTED] -Sent: Thursday, August 04, 2005 4:07 PM -To: MyFaces Discussion -Subject: Re: Problem with commandButton and required form fields - -I don't have any answers yet, but I'm having the same issue. - -On 8/4/05, Eric Kelm

Re: Problem with commandButton and required form fields

2005-08-04 Thread Mike Kienenberger
Worldwide LLC 510 Spur 63 Longview, TX 75601 --Original Message- -From: Mike Kienenberger [mailto:[EMAIL PROTECTED] -Sent: Thursday, August 04, 2005 4:07 PM -To: MyFaces Discussion -Subject: Re: Problem with commandButton and required form fields - -I don't have any answers

Re: Problem with commandButton and required form fields

2005-08-04 Thread Mike Kienenberger
:07 PM -To: MyFaces Discussion -Subject: Re: Problem with commandButton and required form fields - -I don't have any answers yet, but I'm having the same issue. - -On 8/4/05, Eric Kelm [EMAIL PROTECTED] wrote: - Hi all, - - I am having a problem with a form in an application I am working

Re: Problem with commandButton and required form fields

2005-08-04 Thread Gary VanMatre
I don't have any answers yet, but I'm having the same issue. On 8/4/05, Eric Kelm [EMAIL PROTECTED] wrote: Hi all, I am having a problem with a form in an application I am working on and was wondering if anyone else had the problem. I have a large form that is part of a tabbed

RE: Problem with commandButton and required form fields

2005-08-04 Thread CONNER, BRENDAN \(SBCSI\)
Discussion Subject: Re: Problem with commandButton and required form fields Yeah, it looks like the two options are: 1) parse out the form values yourself 2) create an alternate lifecycle that conditionally skips the validation phase. Have you found any shortcuts for pulling in and populating the form

Re: Problem with commandButton and required form fields

2005-08-04 Thread Mike Kienenberger
Gary, It seems like a good idea, but there are still some gotchas. There's no guarantee that the CommandButton's ActionEvent will be broadcast after the ValueChangeEvent from the UIInput. The value bindings also won't be performed since those happen in the update model phase. So, it'll help