Re: [Tobago] valueChangeListener not called

2007-01-17 Thread Clemens Sietas
Hello Bernd, thank you for adding example code to the gendoc pages. I got no error messages anymore. The converter is configured in the faces-config.xml. However, the valueChangeListener is still not invoked. (No log entry in my logfile). I can already detect the change from one option to the o

Re: [Tobago] valueChangeListener not called

2007-01-17 Thread Bernd Bohmann
Sorry, the section should be included in the tc:selectOneChoice This belongs to the faces-config.xml org.apache.myfaces.tobago.example.reference.IntegerConverter org.apache.myfaces.tobago.example.reference.IntegerConverter But I revisit my testPage I forgot to set the valuebinding for the

Re: [Tobago] valueChangeListener not called

2007-01-17 Thread Clemens Sietas
Hello Bernd, thank you for your hints. I implemented the converter class IntegerConverter (hopefully I did choose the right Interface (javax.faces.convert.Converter) My IDE already tells me that converter-id and converter-class are not allowed here. Thus the converter does not work in Tomcat. I

Re: [Tobago] valueChangeListener not called

2007-01-15 Thread Bernd Bohmann
Hello Clemens, I think you get a Validation Error : Value is not a valid option. Can you add a message tag to your page? Please change the type of your Constants to String or add a converter to your selectOneChoice tag on the page for example converterId="org.apache.myfaces.tobago.example

[Tobago] valueChangeListener not called

2007-01-15 Thread Clemens Sietas
Hello, I have read a long thread on the valueChangeListener from November 2006 in this mailing-list. I adapted my code to the help in the tread, however, the valueChangeListener still is not called. I just subscribed to ask for further help. Here is my code: ... ...

[Tobago] valueChangeListener not called

2007-01-15 Thread Clemens Sietas
Hello, I have read a long thread on the valueChangeListener from November 2006 in this mailing-list. I adapted my code to the help in the tread, however, the valueChangeListener still is not called. I just subscribed to ask for further help. Here is my code: ... ...

Re: [Tobago] ValueChangeListener not called

2006-10-09 Thread Udo Schnurpfeil
I'm working on integration of the gendoc in the demo And we should rename gendoc to tobago-tour or something else and add more component examples. Ok? Regards, Udo

Re: [Tobago] ValueChangeListener not called

2006-10-08 Thread Peter Rabing
Hi Jeff, while you are correct in asking about the sense of the code if no value attribute is specified, you are incorrect in saying, that the value attribute is required. The only thing which is required is the onchange="Tobago.submitAction('combo1');" attribute. The code works fine whether o

Re: [Tobago] ValueChangeListener not called

2006-10-06 Thread Bernd Bohmann
Hello Volker, Volker Weber wrote: try adding a change facet to the selectOneChoice and ommit the onchange attribute: this is new since 05. Aug. see http://issues.apache.org/jira/browse/TOBAGO-109?page=all @bernd: have we any docu for this feature? I'm working on a description of

Re: ValueChangeListener not called

2006-10-06 Thread Peter Rabing
Hi, by adding a button to submit the value (which did work as expected !) I found out, that the button uses a different JScript function to submit. Adding this to the choice tag produces the following jsp code (see below in earlier posts for full jsp and bean code): This code wor

Re: ValueChangeListener not called

2006-10-06 Thread Jeff Bischoff
The valueChangeListener can not fire from your code. >> > valueChangeListener="#{mybean.processValueChange}" >> onchange="submit();" value=""> >> >> Look, you have hard-coded the value! So how can the value ever change? And your original example code didn't even have a

Re: [Tobago] ValueChangeListener not called

2006-10-06 Thread Volker Weber
Hi Peter, please add a '[tobago]' to the subject of tobago issues. try adding a change facet to the selectOneChoice and ommit the onchange attribute: this is new since 05. Aug. see http://issues.apache.org/jira/browse/TOBAGO-109?page=all @bernd: have we any docu for this feature?

Re: ValueChangeListener not called

2006-10-06 Thread Gerald Müllan
Please post your jsp with the value setted to the bean and the corresponding bean code. If the former choosen value is resetted to the first entry in the list, the binding of the value to the model doesn`t work. On 10/6/06, Peter Rabing <[EMAIL PROTECTED]> wrote: Hi, I do get a response, the p

Re: ValueChangeListener not called

2006-10-06 Thread Peter Rabing
Hi, I do get a response, the page is rendered again with the same combo, any values I selected are resetted to the first entry in the list. I tried setting an initial value, but this doesn't make any difference. I've added a Phase Listener and debugged through it to see in which order the phas

Re: ValueChangeListener not called

2006-10-06 Thread Gerald Müllan
Hi, have you put any message/messages-tag into the page, to see if there comes some message from the jsf environment? Also set the "value" attribute of selectOneChoice to a value in the managed bean., like "Nabe_Name" or "Kette_Name". Maybe thats the problem. cheers, Gerald On 10/6/06, Peter

Re: ValueChangeListener not called

2006-10-06 Thread Peter Rabing
Hi, "submit() " or "submit();" makes no difference, the form is submitted when a value in the combo is selected, sorry that I wasn't clear on this in my first post. My Bean does implement public void processValueChange(javax.faces.event.ValueChangeEvent valueChangeEvent) { log.fin

Re: ValueChangeListener not called

2006-10-05 Thread Marco Pöhler
Hi Peter, Does your bean implement the method public void processValueChange(javax.faces.event.ValueChangeEvent event) {...} ? and Is the form rendered in the HTML output ? May be missing ? regards Marco -- http://www.lenses-price-comparison.com http://www.perfume-price-comparison.com

Re: ValueChangeListener not called

2006-10-05 Thread Matthias Wessendorf
-you are inside the page comp. ? -"submit();" instead of "submit() " -M On 10/5/06, Peter Rabing <[EMAIL PROTECTED]> wrote: Hi, I am trying to install a changelistener on a combo box. But unfortunately, nothing happens, no listener is called. The box is rendered correctly, and has the correc

ValueChangeListener not called

2006-10-05 Thread Peter Rabing
Hi, I am trying to install a changelistener on a combo box. But unfortunately, nothing happens, no listener is called. The box is rendered correctly, and has the correct values on click it is submitted, but the listener is never called and no exception occurs: My Bean implements the V