Re: ajax error in SelectOneMenu on change event

2010-07-12 Thread Marcus Büttner
Thanks for fix. Now it works! Marcus Werner Punz schrieb: Am 12.07.10 14:07, schrieb Werner Punz: Am 12.07.10 14:02, schrieb Bruno Aranda: Uhm, just opened a new thread about the same bug. It is an uninitialized variable in the _AjaxUtils class. Jepp as I said I am working on it currently a

Re: ajax error in SelectOneMenu on change event

2010-07-12 Thread Werner Punz
Am 12.07.10 14:07, schrieb Werner Punz: Am 12.07.10 14:02, schrieb Bruno Aranda: Uhm, just opened a new thread about the same bug. It is an uninitialized variable in the _AjaxUtils class. Jepp as I said I am working on it currently and again, thanks for reporting it, it is vital to get the bug

Re: ajax error in SelectOneMenu on change event

2010-07-12 Thread Werner Punz
Am 12.07.10 14:02, schrieb Bruno Aranda: Uhm, just opened a new thread about the same bug. It is an uninitialized variable in the _AjaxUtils class. Jepp as I said I am working on it currently and again, thanks for reporting it, it is vital to get the bugs out. I introduced the bug with my perfo

Re: ajax error in SelectOneMenu on change event

2010-07-12 Thread Werner Punz
Never mind, I will do it myself and will get on it right away. Werner Am 12.07.10 13:57, schrieb Werner Punz: Hi Markus this looks like a new bug to me, which I introduced with some performance patches I did last week, can you file a bugrepot on this one, I will fix it today. It is vital to ge

Re: ajax error in SelectOneMenu on change event

2010-07-12 Thread Bruno Aranda
Uhm, just opened a new thread about the same bug. It is an uninitialized variable in the _AjaxUtils class. Cheers, Bruno On 12 July 2010 12:57, Werner Punz wrote: > Hi Markus this looks like a new bug to me, which I introduced with some > performance patches I did last week, can you file a bugr

Re: ajax error in SelectOneMenu on change event

2010-07-12 Thread Werner Punz
Hi Markus this looks like a new bug to me, which I introduced with some performance patches I did last week, can you file a bugrepot on this one, I will fix it today. It is vital to get this out before the 2.0.1 release. Werner Am 12.07.10 11:48, schrieb Marcus Büttner: Hi, a small exampl

ajax error in SelectOneMenu on change event

2010-07-12 Thread Marcus Büttner
Hi, a small example: valueChangeListener="#{myBean.menuValueChangedListener}"> Switching from no to yes works, but switching from yes to no causes the following error messages in browser (firefox) and no request is send to server: clientError-TypeEr

Re: Bad Bug: SelectOneMenu, SelectItems, _SystemItemsUtil, and the missing conversion

2010-01-06 Thread Jakob Korherr
kob Korherr > Sent: Wednesday, January 06, 2010 3:09 PM > To: MyFaces Discussion > Subject: Re: Bad Bug: SelectOneMenu, SelectItems, _SystemItemsUtil, and the > missing conversion > > Hi John, > > Use >itemValue="#{day}"< and it will work. > > Regards, > Jakob Kor

RE: Bad Bug: SelectOneMenu, SelectItems, _SystemItemsUtil, and the missing conversion

2010-01-06 Thread Ogrady, John
fromaust...@gmail.com] On Behalf Of Jakob Korherr Sent: Wednesday, January 06, 2010 3:09 PM To: MyFaces Discussion Subject: Re: Bad Bug: SelectOneMenu, SelectItems, _SystemItemsUtil, and the missing conversion Hi John, Use >itemValue="#{day}"< and it will work. Regards, Jakob Kor

Re: Bad Bug: SelectOneMenu, SelectItems, _SystemItemsUtil, and the missing conversion

2010-01-06 Thread Jakob Korherr
st" /> > > > > A simple drop down list made from an ArrayList of Enums. > > > value="#{calendar.day}"> >

Bad Bug: SelectOneMenu, SelectItems, _SystemItemsUtil, and the missing conversion

2010-01-06 Thread Ogrady, John
x27;m using SpringBeanVariableResolver to get the "daysEnumList" object from the spring application context. 2) The problem goes away if I take the daysOfWeekList selectOneMenu control off the jsp page. Also, there is another dropdown list using only strings and that works just fin

Re: How do I change the value of a selectOneMenu on the fly

2009-12-17 Thread laredotornado
re-populate another select menu) but I DON'T want to do validation. Is there any way to skip the validation phase when the only reason I want to reload the page is to re-populate the selectOneMenu? Thanks, - Dave Julián Osorio Amaya EuphoriaIT wrote: > > laredotornado escribió: &

Re: How do I change the value of a selectOneMenu on the fly

2009-12-17 Thread Julián Osorio Amaya EuphoriaIT
d, and not prompt validation? Is it as simple as "this.form.submit();"? Thanks, - Dave Julián Osorio Amaya EuphoriaIT wrote: laredotornado escribió: Hi, I'm using MyFaces 1.1.6 and Tomahawk 1.1.9.

Re: How do I change the value of a selectOneMenu on the fly

2009-12-17 Thread laredotornado
values that were already entered, and not >> prompt >> validation? Is it as simple as "this.form.submit();"? >> >> Thanks, - Dave >> >> >> >> Julián Osorio Amaya EuphoriaIT wrote: >> >>&g

Re: How do I change the value of a selectOneMenu on the fly

2009-12-16 Thread Julián Osorio Amaya EuphoriaIT
were already entered, and not prompt validation? Is it as simple as "this.form.submit();"? Thanks, - Dave Julián Osorio Amaya EuphoriaIT wrote: laredotornado escribió: Hi, I'm using MyFaces 1.1.6 and Tomahawk 1.1.9. I hav

Re: How do I change the value of a selectOneMenu on the fly

2009-12-16 Thread laredotornado
d not prompt validation? Is it as simple as "this.form.submit();"? Thanks, - Dave Julián Osorio Amaya EuphoriaIT wrote: > > laredotornado escribió: >> Hi, >> >> I'm using MyFaces 1.1.6 and Tomahawk 1.1.9. I have this selectOneMenu >>

Re: How do I change the value of a selectOneMenu on the fly

2009-12-16 Thread Julián Osorio Amaya EuphoriaIT
laredotornado escribió: Hi, I'm using MyFaces 1.1.6 and Tomahawk 1.1.9. I have this selectOneMenu ... When another text field on the page changes value, I would like to re-populate the s

How do I change the value of a selectOneMenu on the fly

2009-12-16 Thread laredotornado
Hi, I'm using MyFaces 1.1.6 and Tomahawk 1.1.9. I have this selectOneMenu ... When another text field on the page changes value, I would like to re-populate the select menu with new option

Re: Value is not a valid option on a selectOneMenu

2009-08-05 Thread Lloyd Lin
-a-valid-option-on-a-selectOneMenu-tp5156195p24840385.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: [myfaces] change selectonemenu value through setsubmitedvalue commandlink immediate=true

2009-03-11 Thread alvaro tovar
eckbox, but for selectonemenu not, the > value not change. the selectonemenu use converter. i don't know what > happend. the commandlink is immediate=true because i need that no > validate. > this is my code > >   required="true"  binding="#{editReofferBean.in

[myfaces] change selectonemenu value through setsubmitedvalue commandlink immediate=true

2009-03-11 Thread alvaro tovar
hello list i need help whit this, i need to change the submitedvalue for some input fields, a commandlink action change the value for this inputs, also the commandlink change the submitedvalue of this inputs, run ok for inputext and selectbooleancheckbox, but for selectonemenu not, the value not

Re: set selectOneMenu from bean

2008-07-15 Thread [EMAIL PROTECTED]
Alexander Staff schrieb: Hi, I initially set a selectOneMenu (with selectItems-List) to a non-valid default-value. In my validator I check the contents and inform the user about the invalid values. BUT! I also set some valid values in the corresponding bean. Problem: the value set in the bean

set selectOneMenu from bean

2008-07-15 Thread Alexander Staff
Hi, I initially set a selectOneMenu (with selectItems-List) to a non-valid default-value. In my validator I check the contents and inform the user about the invalid values. BUT! I also set some valid values in the corresponding bean. Problem: the value set in the bean are not displayed in the

Re: to limit the length of the drop down list in selectOneMenu in JSF

2008-05-29 Thread Andrew Robinson
hanks, > > > > -Original Message- > From: Andrew Robinson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 28, 2008 5:43 PM > To: MyFaces Discussion > Subject: Re: to limit the length of the drop down list in selectOneMenu in > JSF > > > > use a ski

Re: to limit the length of the drop down list in selectOneMenu in JSF

2008-05-28 Thread Andrew Robinson
ing: > > > > Is there a way to limit the length of the drop down list in selectOneMenu in > JSF. I added size="10" but it is not working. The print screen is from the > user (who want only 10 values to be displayed when he clicks on the down > arrow). > >

to limit the length of the drop down list in selectOneMenu in JSF

2008-05-28 Thread Chenini, Mohamed
Hello , Could you, please, help on the following: Is there a way to limit the length of the drop down list in selectOneMenu in JSF. I added size="10" but it is not working. The print screen is from the user (who want only 10 values to be displayed when he clicks on the

to limit the length of the drop down list in selectOneMenu in JSF

2008-04-10 Thread Chenini, Mohamed
Hello, Is there a way to limit the length of the drop down list in selectOneMenu in JSF. I added size="10" but it is not working. The print screen is from the user (who want only 10 values to be displayed when he clicks on the down arrow).

valueChangeListner of selectOneMenu is called three times.....

2007-10-15 Thread Arvind Pandey
Hi all, valueChangeListner of selectOneMenu is called three times.what could be the region? Can any one pls explain why? Is it normal behaviour of selectoneMenu valueChangeListner? please help me... thanks and regards... Arvind Disclaimer: The information contained in this e

Re: help, with ppr and multiple selectonemenu nested

2007-09-27 Thread alvaro tovar
hello, thaks, i am using myfaces, tomahok and sandbox 1.5, i will look the code, i can´t remenber if is there a panel grid containing all, but is a to rare this, unmmm, i am loking what hapend, maybe is because i am using the popup of myfaces for the selectonemenu but maybe is other problem

Re: help, with ppr and multiple selectonemenu nested

2007-09-27 Thread Ernst Fastl
ome one have a example ,please tell me. > > this is mi code: > > onchange="submit(this);"> > > > > > onchange="submit(this);"> > > > > > > > > > > onchange="submit(this);"> > > > > > > > if only i have 2 selectonemenu run ok. but whith 3 not. > >

help, with ppr and multiple selectonemenu nested

2007-09-25 Thread alvaro tovar
hi all, i can't make this, if some one have a example ,please tell me. this is mi code: if only i have 2 selectonemenu run ok. but whith 3 not.

Re: JSF Newbie needs help with selectOneMenu and valueChangeListener

2007-09-04 Thread tfuda
's data fields. Hope this helps someone out there. Good luck finding this documented somewhere. -- View this message in context: http://www.nabble.com/JSF-Newbie-needs-help-with-selectOneMenu-and-valueChangeListener-tf4341404.html#a12484864 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: SelectOneMenu text

2007-08-31 Thread daniel ccss
Thanks! Yes I was using the wrote: > > LoV = List of Values. > > In page.jspx > Either > > > > or > > > > > In MyBeanClass.java > Either > public class MyBeanClass > { > private UISelectOne mySelector; > > public UISelectOne getMySelector() > { > return mySelector; > } >

Re: SelectOneMenu text

2007-08-31 Thread Simon Lessard
LoV = List of Values. In page.jspx Either or In MyBeanClass.java Either public class MyBeanClass { private UISelectOne mySelector; public UISelectOne getMySelector() { return mySelector; } public void setMySelector(UISelectOne mySelector) { this.mySelector = mySele

Re: SelectOneMenu text

2007-08-31 Thread daniel ccss
Sorry but what do you mean with LoV, can you give me some example code of the static and dynamic On 8/31/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > > Ah ok, > > It depends on the type of LoV you're using. If you're using a static lov > (), then you have to use a binding for your selectOneChoic

Re: SelectOneMenu text

2007-08-31 Thread Simon Lessard
Ah ok, It depends on the type of LoV you're using. If you're using a static lov (), then you have to use a binding for your selectOneChoice component to your managed bean. Then, in your method, you simply have to loops through the selectOneMenu's children until you find the right UISelectItem. IF

Re: SelectOneMenu text

2007-08-31 Thread daniel ccss
Hi, sorry, yes the correct question is how to: loop through the SelectItem list until find the one with the selected value to extract the description Thanks On 8/31/07, Simon Lessard <[EMAIL PROTECTED]> wrote: > > Hello Daniel, > > I don't really understand your question. Can you be a bit more s

Re: SelectOneMenu text

2007-08-31 Thread Simon Lessard
Hello Daniel, I don't really understand your question. Can you be a bit more specific? If I understand well though, you could either change the value property of your SelectItem object, or loop through the SelectItem list until you find the one with the selected value to extract the description.

SelectOneMenu text

2007-08-31 Thread daniel ccss
Hi all, How I can get the selected text, not the code, of a

Re: JSF Newbie needs help with selectOneMenu and valueChangeListener

2007-08-29 Thread Bruno Aranda
idatorException { > System.out.println("validate called "); > if (value instanceof Employee) > return; > else > throw new ValidatorException( >

JSF Newbie needs help with selectOneMenu and valueChangeListener

2007-08-28 Thread tfuda
the selection from the dropdown), however, the processEmployeeChange method is NOT being invoked, nor is the setEmployeeValue method of my TestBean, so my model is not getting updated with the new value either. I'm not sure if I'm doing something fundamentally wrong here, or if I'

Re: SelectOneMenu & Enums in "items" var possible?

2007-08-07 Thread Erlend Hamnaberg
> > > ~Sandeep > > > > > > -Original Message- > > > From: Wolf Benz [mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>] > > > Sent: Tuesday, August 07, 2007 5:40 PM > > > To: M

Re: SelectOneMenu & Enums in "items" var possible?

2007-08-07 Thread Simon Lessard
-Wolf > > > > > > On 8/7/07, sandeep gururaj <[EMAIL PROTECTED]> wrote: > > > > > > > > Well, I haven't been lucky! If it is possible, do let me know so > that I > > > > can re-factor my code. > > > > > > > > ~Sandee

Re: SelectOneMenu & Enums in "items" var possible?

2007-08-07 Thread Andrew Robinson
PROTECTED]> wrote: > > > > > > Well, I haven't been lucky! If it is possible, do let me know so that I > > > can re-factor my code. > > > > > > ~Sandeep > > > > > > -Original Message- > > > From: Wolf Benz [mailto:[EMA

Re: SelectOneMenu & Enums in "items" var possible?

2007-08-07 Thread Gerald Müllan
de. > > > > ~Sandeep > > > > -Original Message- > > From: Wolf Benz [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 07, 2007 5:40 PM > > To: MyFaces Discussion > > Subject: SelectOneMenu & Enums in "items" var possible? > > > >

Re: SelectOneMenu & Enums in "items" var possible?

2007-08-07 Thread Wolf Benz
> > -Original Message- > From: Wolf Benz [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 07, 2007 5:40 PM > To: MyFaces Discussion > Subject: SelectOneMenu & Enums in "items" var possible? > > Hi List, > > Does anyone know whether you ca

RE: SelectOneMenu & Enums in "items" var possible?

2007-08-07 Thread sandeep gururaj
Well, I haven't been lucky! If it is possible, do let me know so that I can re-factor my code. ~Sandeep -Original Message- From: Wolf Benz [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007 5:40 PM To: MyFaces Discussion Subject: SelectOneMenu & Enums in "items"

SelectOneMenu & Enums in "items" var possible?

2007-08-07 Thread Wolf Benz
Hi List, Does anyone know whether you can load an Enum into a SelectOneMenu's items variable? So smth like: -Wolf

Tooltip for each option in SelectOneMenu

2007-08-01 Thread Arvind Pandey
Hi !!! My requirement is to provide tooltip for every option in the SelectOneMenu because label of option is so large that its not possible to provide such a large size SelectOneMenu .So the label is cutting. Thats why i need tooltip to show the whole value on mouse over of the options in

Re: Simple Question SelectOneMenu

2007-07-25 Thread daniel ccss
Got it I change all the Patient Objects for a SelectItem Object in a for for... SelectItem si = new SelectItem(Integer.valueOf( patient.getPatientId()),patient.getPatientDsc()); patients.set(i,si); On 7/25/07, daniel ccss <[EMAIL PROTECT

Re: Simple Question SelectOneMenu

2007-07-25 Thread daniel ccss
my mistake, an error on the arraylist name Now i recived this: javax.faces.FacesException: javax.servlet.ServletException: Collection referenced by UISelectItems with binding ... does not contain Objects of type SelectItem My arryaList have Objects of type Patient, and not SelectItem, which is

Re: Simple Question SelectOneMenu

2007-07-25 Thread daniel ccss
t could be?? On 7/25/07, Andrew Robinson <[EMAIL PROTECTED]> wrote: It would be the same type as what the converter returns from the selectOneMenu control. In your case, you will need to convert Strings to Integer so that the submitted value can be converted into the same type as your bean fi

Re: Simple Question SelectOneMenu

2007-07-25 Thread Andrew Robinson
It would be the same type as what the converter returns from the selectOneMenu control. In your case, you will need to convert Strings to Integer so that the submitted value can be converted into the same type as your bean field. On 7/25/07, daniel ccss <[EMAIL PROTECTED]> wrote: Hi all,

Simple Question SelectOneMenu

2007-07-25 Thread daniel ccss
Hi all, I have a Simple question of SelectOneMenu In my bean I have an ArrayList with Patients, that is fill with an EJB method. Patient object have the patientId and the patientName Now how I can display it on a SelectOneMenu?? I searched and saw something like the following code, what I didn

Re: multiple selectOneMenu causes commandButton not to call action on submit

2007-07-17 Thread Alexander Wallace
Forgot to mention that I'm doing this in a portlet ... On Jul 17, 2007, at 10:40 AM, Alexander Wallace wrote: Hi All! We have weird issues with MyFaces 1.3 ... When we have multiple selectOneMenu in one form, the commandButton we have to act on the form does not stop in the acti

multiple selectOneMenu causes commandButton not to call action on submit

2007-07-17 Thread Alexander Wallace
Hi All! We have weird issues with MyFaces 1.3 ... When we have multiple selectOneMenu in one form, the commandButton we have to act on the form does not stop in the action or action listener methods of the managed bean. If we remove all but one selectOneMenu, the commandButton works

Re: SelectOneMenu and null value

2007-06-14 Thread David Delbecq
l'instant précis du 14/06/07 15:12, David Delbecq s'exprimait en ces termes: > Hello, > > I have a design where, in the select list of SelectOneMenu, i need to > set a blank entry for null value. > > For now, i set it up like this > > 1) the list of available options

SelectOneMenu and null value

2007-06-14 Thread David Delbecq
Hello, I have a design where, in the select list of SelectOneMenu, i need to set a blank entry for null value. For now, i set it up like this 1) the list of available options contain an entry with label="" and value="[nothing]" 2) A converter is set to this list (based o

RE: selectOneMenu inside of dataTable

2007-05-11 Thread William Diaz Pabón
ot;MyFaces Discussion" Subject: RE: selectOneMenu inside of dataTable Date: Fri, 11 May 2007 09:05:30 +0200 Somebody, please ? -Message d'origine- De : HENRY Pierre [mailto:[EMAIL PROTECTED] Envoyé : jeudi, 10. mai 2007 15:56 À : users@myfaces.apache.org Objet : selectOneMenu in

RE: selectOneMenu inside of dataTable

2007-05-11 Thread HENRY Pierre
Somebody, please ? -Message d'origine- De : HENRY Pierre [mailto:[EMAIL PROTECTED] Envoyé : jeudi, 10. mai 2007 15:56 À : users@myfaces.apache.org Objet : selectOneMenu inside of dataTable Hi, I have a use case where I need to delete some "Location" objets. "Event

selectOneMenu inside of dataTable

2007-05-10 Thread HENRY Pierre
In each line of the dataTable, I have a combo (selectOneMenu) with the different possible actions : delete the children, or bind it to another "Location", so all the other locations are in the combo box. When I submit the form, I check what is the action and process all the events according

selectOneMenu and java.io.NotSerializableException

2007-04-29 Thread [EMAIL PROTECTED]
Hello. I have following selectOneMenu setup for edit form: converter="CategoryConverter" > Where coresponding backing bean is: public class CategoryBean { private Category category; private boolean editmode; public List getParentCategorysAsSelectI

Re: Wierd behavior - valueChangeListener does not get called with selectOneMenu

2007-03-19 Thread Madhav Bhargava
y guess is that you need to use the javascript documented here: http://myfaces.apache.org/sandbox/subForm.html I've had no issues with a subForm, a selectOneMenu, a submitOnEvent, and a commandButton triggering an action when an option is chosen from the menu. The other possiblity to inv

Re: Wierd behavior - valueChangeListener does not get called with selectOneMenu

2007-03-16 Thread Mike Kienenberger
If possible, I'd replace "onchange=document.forms[0].submit();return false;"with the submitOnEvent sandbox component. My guess is that you need to use the javascript documented here: http://myfaces.apache.org/sandbox/subForm.html I've had no issues with a subForm

Wierd behavior - valueChangeListener does not get called with selectOneMenu

2007-03-13 Thread Madhav Bhargava
Hi All, Following is the JSP code: x- Cut x x- Cut x In the above code we h

Dependent selectOneMenu

2007-03-09 Thread Thierry Templier
Hello, I try to put in a form two selectOneMenu. The values contained in the second selectOneMenu must depend on the selected value of the first one. Is it possible to do this with MyFaces? And if true, do you have examples? Thanks for your help. Thierry Take a look at my blog: http

autoscroll run ok for commandbutton but not for selectOneMenu valueChangeListener

2007-03-01 Thread alvaro tovar
some kome why this append? i am using myfaces-api-1.1.4-SNAPSHOT.jar,myfaces-impl-1.1.4-SNAPSHOT.jar, tomahawk-1.1.3-SNAPSHOT.jar thanks alvaro

SelectOneMenu issue

2007-02-20 Thread Srinivas V
Hi All, CAn anybody help me with jscook menu issue?? I have installed JSF 1.1.5-SNAPSHOT,Tomahawk1.1.5- SNAPSHOT and tomahawk-sandbox-1.1.5-SNAPSHOT. Previously i had myfaces1.1 jar I dint have issue with selectOneMenu before. Now when I submit the page, I am getting this jsf validation error

SelectOneMenu & immediate=true

2007-02-12 Thread Thomas Kratz
First I´m using a SNAPSHOT from last Thursday. Don't know if sths broken there. MAybe this is just stupid but I hope someone can show me out. I have a selectOne menu declared like: which I use in a facelets Tag named selectFieldEntity. I use this tag with but the immediate seems to be ig

Re: Resource Bundle text for selectOneMenu

2007-02-06 Thread Gerald Müllan
Hi, when using values for a selectMany component like selectOneMenu, you always need beneath the label a corresponding value. If using only the ResourceBundle, you are not really typesafe when matching the values etc. To my mind its little bit dirty, but that maybe a personal opinion. Another

RE: Resource Bundle text for selectOneMenu

2007-02-06 Thread bgsdev
(using Jakarta commons configuration would be my choice) and > returns a Collection of strings. > > Regards, > > - Thomas Wabner > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Montag, 5. Februar 2007 19:00 >

RE: Resource Bundle text for selectOneMenu

2007-02-06 Thread Wabner, Thomas (EXT)
apache.org Subject: Resource Bundle text for selectOneMenu Hello I would like to use the texts of a resource bundle in my selectOneMenu I tried ist with The Text.resources content: items=first, second, third In the JSF file: This gives the standard exception: not reference an Obje

Resource Bundle text for selectOneMenu

2007-02-05 Thread [EMAIL PROTECTED]
Hello I would like to use the texts of a resource bundle in my selectOneMenu I tried ist with The Text.resources content: items=first, second, third In the JSF file: This gives the standard exception: not reference an Object of type SelectItem, SelectItem[], Collection or Map but

RE: Date Converter problem with selectOneMenu after MyFaces1.1.5 upgr ade

2007-01-30 Thread Levin, Stan
direction? Thanks, Stan. _ From: Levin, Stan [mailto:[EMAIL PROTECTED] Sent: Monday, January 29, 2007 7:19 PM To: 'users@myfaces.apache.org' Cc: Leyzerzon, Simeon; Nanabolu, Bhvaharan Subject: Date Converter problem with selectOneMenu after MyFaces1.1.5 upgr ade Hi, We are u

Date Converter problem with selectOneMenu after MyFaces1.1.5 upgr ade

2007-01-29 Thread Levin, Stan
Hi, We are using a dropdown menu control populated with date values. For date conversion we are using a standard DateConverter. Our code was working fine until we upgraded to MyFaces1.1.5 implementation. Now we get this error: " Value is not a valid option" This is our code (was working

Re: binding / selectOneMenu in dataTable

2007-01-03 Thread [EMAIL PROTECTED]
The selectOneMenu binding object is null. And this is my code: Here is the dataTable: cellspacing="0" columnClasses="defaultCol" headerClass="tableHead" style="cursor:pointer; vertical-align:top" rowClasses=&qu

Re: commandLink problems - once again - this time with selectOneMenu!

2006-12-21 Thread David Delbecq
usage for handling application wide lists :) Also everything that is user specific and stays longer than request scope has to go in session. So if selectonemenu was to keep it's list of datas, that would be in session. > >> Btw, i see you are working in two steps action "init"

Re: commandLink problems - once again - this time with selectOneMenu!

2006-12-20 Thread Behrang Saeedzadeh
submitted; a user can potentially fake the POST response to contain whatever they want. If the selectOneMenu had cached the SelectItems it created during the Render Reponse phase, and reused these values, instead of executing the binding once again and querying the database, we could still assure

Re: commandLink problems - once again - this time with selectOneMenu!

2006-12-20 Thread Behrang Saeedzadeh
David, JSF ensure you that never a bean value is set to something invalid. That is why, before calling the setters, the full form goes throught validation. And for me, it seems natural that if i put a component in a form is telling 'select between X, Y and Z', the framework does never call bean.

Re: commandLink problems - once again - this time with selectOneMenu!

2006-12-20 Thread Simon Kitching
Database d = new Database(); List items = d.findAllItems(); for (Item i : items) { SelectItem si = new SelectItem(i.getId(), i.getName()); selectItems.add(si); } UISelectItems uiSelectItems = new UISelectItems(); uiSelectItems.setValue(selectItems); selectOneMenu

Re: commandLink problems - once again - this time with selectOneMenu!

2006-12-20 Thread delbd
You select one bean is request scope. The list of items is populated only during your first action. That mean when user select an item and submit the form, the bean is recreated (request scope) with an empty list (your own initalization code) and jsf can not find a selectItem corresponding to the o

Re: commandLink problems - once again - this time with selectOneMenu!

2006-12-20 Thread David Delbecq
ally, if I had constructed the menu programatically like this: > >List selectItems = new ArrayList(); > >Database d = new Database(); >List items = d.findAllItems(); >for (Item i : items) { > SelectItem si = new SelectItem(i.getId(), i.getName()); >

Re: commandLink problems - once again - this time with selectOneMenu!

2006-12-20 Thread Behrang Saeedzadeh
List items = d.findAllItems(); for (Item i : items) { SelectItem si = new SelectItem(i.getId(), i.getName()); selectItems.add(si); } UISelectItems uiSelectItems = new UISelectItems(); uiSelectItems.setValue(selectItems); selectOneMenu = (HtmlSel

Re: commandLink problems - once again - this time with selectOneMenu!

2006-12-20 Thread David Delbecq
Somehow, my answer yesterday didn't make it to mailing list! Here is a cut and paste from my sent folder, hope this helps you Your selectone bean is request scope. The list of items is populated only during your first action. That mean when user select an item and submit the form, the bean is recr

Re: commandLink problems - once again - this time with selectOneMenu!

2006-12-19 Thread Behrang Saeedzadeh
Sorry but the previous sample app had a small problem. It was not related to the commandLink problem nevertheless I've fixed it. The updated bundle can be found here: http://files.myopera.com/behrangsa/files/1JSF-HOWTO.zip Best regards, Behi On 12/19/06, Behrang Saeedzadeh <[EMAIL PROTECTED]> w

commandLink problems - once again - this time with selectOneMenu!

2006-12-19 Thread Behrang Saeedzadeh
Hi, I think in a day or two I have to rest in a hospital because JSF is almost making me schizophrenic! ;-) I have uploaded the source/binary of the sample app I am working on it: http://files.myopera.com/behrangsa/files/JSF-HOWTO.zip Just copy the exploded directory to Tomcat's webapps

RE: SelectONeMenu valueChangeListener not skipping validation phase...

2006-12-07 Thread Jorge Vásquez
: SelectONeMenu valueChangeListener not skipping validation phase... Is the form on which this is occurring also your welcome file (index.jsf, or some such thing)? I recently saw this "two clicks required" behavior in that case. On first access, the URL would be http://myserver/myapp/. On

Re: SelectONeMenu valueChangeListener not skipping validation phase...

2006-12-07 Thread David Chandler
e URL http://myserver/myapp/index.jsf. The second click then worked. When I changed my welcome file to index.html with a redirect to the jsf page, this problem went away. /dmc On 12/7/06, Jorge Vásquez <[EMAIL PROTECTED]> wrote: In that form where I have the selectoneMenu component, I have to

RE: SelectONeMenu valueChangeListener not skipping validation phase...

2006-12-07 Thread Jorge Vásquez
In that form where I have the selectoneMenu component, I have to click twice over the button that does the submit of the form in order to effectively process the action associated with that button. The first time nothing happens and then the action is finally executed. Don´t know how to explain

Re: SelectONeMenu valueChangeListener not skipping validation phase...

2006-12-07 Thread Cagatay Civici
ince 2 submits are necessary from an action button. I am starting to think that this is a bug. Regards, JV -- *De:* Jorge Vásquez [mailto:[EMAIL PROTECTED] *Enviado el:* miércoles, 06 de diciembre de 2006 19:45 *Para:* 'MyFaces Discussion' *Asunto

RE: SelectONeMenu valueChangeListener not skipping validation phase...

2006-12-06 Thread Jorge Vásquez
: miércoles, 06 de diciembre de 2006 19:45 Para: 'MyFaces Discussion' Asunto: SelectONeMenu valueChangeListener not skipping validation phase... Regards, I have a selectoneMenu component on my page and I want it to skip validation phase when it changes, in the past somehow immed

SelectONeMenu valueChangeListener not skipping validation phase...

2006-12-06 Thread Jorge Vásquez
Regards, I have a selectoneMenu component on my page and I want it to skip validation phase when it changes, in the past somehow immediate=”true” solved this problem for me but now I have noticed that this ain´t working anymore. In my page I have

wrong submittedValue of selectOneMenu

2006-12-05 Thread Rumiana Todorova
We have a managed bean (mProbe) in session scope. In the jsp we build a simple panelTabbedPane component in which we have a selectOneMenu component. Out of the panelTabbedPane there are 2 buttons that hide and show the panelTabbedPane component. We select a value from the selectOneMenu

Re: how to create a SelectOneMenu with dynamic list

2006-11-29 Thread Damar Thapa
Thank you, Jeff. Truly appreciated. Damar On 11/30/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote: Damar, Please see link [1] to view the irian examples website. You click "MyFaces Sandbox Examples latest build" to get the day's examples. I can give you a direct link [2] for what you wanted, and

Re: how to create a SelectOneMenu with dynamic list

2006-11-29 Thread Jeff Bischoff
Damar, Please see link [1] to view the irian examples website. You click "MyFaces Sandbox Examples latest build" to get the day's examples. I can give you a direct link [2] for what you wanted, and it works today but will break tomorrow. See the date in the URL? So best is to use link [1] and

Re: how to create a SelectOneMenu with dynamic list

2006-11-28 Thread Damar Thapa
/18/06, Damar Thapa <[EMAIL PROTECTED]> wrote: > Hi, > > Somebody on the list may have implemented this. I have two > SelectOneMenu, A and B, with the same list. But, when Menu A is > selected, the list of B has to be recreated with (full list minus the > item selected in Me

Re: Binding a java.util.List to a selectOneMenu

2006-11-27 Thread Behrang Saeedzadeh
y wanted to display a simple property of the items in the list? Is there a way to do this without creating SelectItems in the backing bean? Just by directly binding the java.util.List to the selectOneMenu? It is a little bit strange that the select...Menu components do not have a "var" attri

Re: Binding a java.util.List to a selectOneMenu

2006-11-27 Thread Behrang Saeedzadeh
Cagatay, Thanks for the response. Cagatay, what if I only wanted to display a simple property of the items in the list? Is there a way to do this without creating SelectItems in the backing bean? Just by directly binding the java.util.List to the selectOneMenu? It is a little bit strange that

Re: Binding a java.util.List to a selectOneMenu

2006-11-27 Thread Cagatay Civici
Hi Behrang, Extended selectitems in sandbox(will join tomahawk soon) will fit for this. http://myfaces.apache.org/sandbox/selectItems.html Regards, Cagatay On 11/27/06, Behrang Saeedzadeh <[EMAIL PROTECTED]> wrote: Hi, In a backing bean I have a set/get property called humanResources that

Binding a java.util.List to a selectOneMenu

2006-11-27 Thread Behrang Saeedzadeh
Hi, In a backing bean I have a set/get property called humanResources that returns a java.util.List containing HumanResource instances. The HumanResource class contains a few properties, three of them being firstName, lastName, and userName. I want to bind the humanResources list to a h:selectOn

  1   2   3   >