Ajax + Inmediate=true Problem

2008-03-13 Thread daniel ccss
Hi all, I´m using JSF Tomahawk and ajax, but something happens. I have a t:inputText that is where the user enters the ID of a person and next to that input I have a t:commanLink for search the info of the person after the id is typed. Also in that same form, i have some h:selectOneMenu controls

Re: Ajax + Inmediate=true Problem

2008-03-13 Thread Mike Kienenberger
I'm not following everything you're saying, but if you make commandLink immediate=true, then you need to make inputText immediate=true if you want to have access to that data from your commandLink's action. On 3/13/08, daniel ccss [EMAIL PROTECTED] wrote: Hi all, I´m using JSF Tomahawk and

Re: Ajax + Inmediate=true Problem

2008-03-13 Thread daniel ccss
Thanks, I did what you said and nothing, the inputText comes in null. Let me explain better my problem, the problem is that to call the action by the command link, first i need to fill the selectOneMenu combos that are updated by ajax, if I don´t do that, I recived an h:message that says that the

Re: Ajax + Inmediate=true Problem

2008-03-13 Thread daniel ccss
My question is the same that this person did here: http://www.nabble.com/action-only-called-when-immediate%3Dtrue-td7778196.html The only differences is that my h:selectOneMenu are not required. Thanks On Thu, Mar 13, 2008 at 12:58 PM, daniel ccss [EMAIL PROTECTED] wrote: Thanks, I did

Re: Ajax + Inmediate=true Problem

2008-03-13 Thread daniel ccss
I attach a graphical image of what is happening attachment: image002.jpg

Re: Ajax + Inmediate=true Problem

2008-03-13 Thread Andrew Robinson
Have a look at a4j:region it may be what you are looking for On Thu, Mar 13, 2008 at 3:14 PM, daniel ccss [EMAIL PROTECTED] wrote: I attach a graphical image of what is happening

Re: Ajax + Inmediate=true Problem

2008-03-13 Thread Martin Marinschek
Hi Daniel, putting immediate=true to your input component will not be sufficient. The problem is that immediate=true will trigger the validation for your input-component, but nothing more than that. So what happens is your value is converted and validated, but not put into your managed bean. What