selectOneMenu 1 « PrimeFaces « JSF Q&A





1. Trouble with Primefaces 3.0.M2 SelectOneMenu Ajax behavior    stackoverflow.com

I am having trouble with implementing two SelectOneMenu controls, where data in the second one depends on the selection made in the first. This example on the primeFaces showcase is almost ...

2. selecting item from primeface's selectOneMenu not working    stackoverflow.com

i having problems in geting the selected item from a selectOneMenu, here is my jsf code:

 <h:form id="mainfrm">   
       <h:panelGrid columns="2" style="margin-bottom:10px" cellpadding="5"> ...

3. How to display a second h:selectOneMenu depending on first h:selectOneMenu?    stackoverflow.com

I am using JSF 2.0 with PrimeFaces. I am using two <h:selectOneMenu> components to represent two dropdowns and I have the following functional requirement:

  • If the user chooses the options Availibility Histogramme ...

4. p:selectOneMenu Problem?    stackoverflow.com

The following code works fine for h:selectOneMenu but doesn't work for p:selectOneMenu There is no item in p:selectOneMenu Facelet

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    ...

5. selectOneMenu with primefaces 2.2.1    stackoverflow.com

I have a problem with p:selectOneMenu in primefaces 2.2.1. I want to add a new component "selectoneMenu" into primefaces2.2.1.jar. Any idea please.

6. Adding Primefaces components dynamically    stackoverflow.com

I want to add Primefaces components dynamically. I'm using solution similar to this one, which was discussed there earlier:

<h:form>
    <h:panelGrid columns="2">
       ...

7. Problem SelectOnemenu from colombia    forum.primefaces.org

03 May 2011, 04:51 by tactusoft Problem SelectOnemenu from colombia Good Night. My name is Carlos A. I have a problem with mobile primefaces. I like render a selectomenu from to ...

8. Three chained selectOneMenu    forum.primefaces.org

03 May 2011, 12:20 by blemasle Three chained selectOneMenu Hi, I'm facing some strange issues with chaining multiple selectOneMenu. I have three selectOneMenu with tree logic (each one have children which ...

9. Generic Converter for selectOneMenu    forum.primefaces.org

...





10. selectonemenu and ajax problems    forum.primefaces.org

Hi, I'm trying to do a simple example, but I'm having some problems. The ajax select showcase doesn't work (for me at least), and I'm trying to do something similar without ...

11. selectOneMenu returning blank    forum.primefaces.org

List locations = new ArrayList(); while (rs.next()){ id = rs.getInt("id"); ...

12. SelectOneMenu in Dialog Bug    forum.primefaces.org

Hey all, I used the on and it worked fine but as soon as a I put in a dialog, it doesn't render like it ...

13. selectOneMenu, z-index, IE8, Chart    forum.primefaces.org

26 May 2011, 16:38 by mspic selectOneMenu, z-index, IE8, Chart I'm using a SelectOneMenu which provides a list of options for the user to select. Below that on screen is a ...

14. SelectOneMenu unknown in 3.0.M2    forum.primefaces.org

15. p:selectOneMenu not working on IE7    forum.primefaces.org

...

16.  rendering bug when in dynamic container    forum.primefaces.org

>> << mbollman Posts: 33 Joined: 07 Jun 2011, 10:29 09 Jun 2011, 13:19 by mbollman rendering bug when in dynamic container Hello, I've found a bit more detail about ...





17. selectOneMenu controls do not respond to Tab press    forum.primefaces.org

Hey all Didn't know if anyone else had this problem but it seems that or does not receive focus when it is tabbed to. Here's a quick ...

18. Primefaces selectonemenu with Selenium RC    forum.primefaces.org

Hi All, I use primefaces for developing portlets in Liferay, it works great. Second I wanna test my application via Selenium RC but I had a problem with the p:selectonemenu component. ...

19. selectOneMenu not found    forum.primefaces.org

hi, made some changes to my JSF file and now i'm getting this error. Code: Tag Library supports namespace: http://primefaces.prime.com.tr/ui, but no tag was defined for name: selectOneMenu ...

20. f:selectOneMenu with p:ajax inside p:dataTable    forum.primefaces.org

13 Jul 2011, 04:36 by giscardf f:selectOneMenu with p:ajax inside p:dataTable Hi all, I am facing an odd behavior when using prime faces, basically I have a p:dataTable where one of ...

21. :selectOneMenu with many items at the end of the page    forum.primefaces.org

18 Jul 2011, 15:04 by jmrunge :selectOneMenu with many items at the end of the page I have a p:selectOneMenu with 10 items inside. It is located at the bottom of ...

22. SelectOneMenu being incorrectly rendered inside panel    forum.primefaces.org

Hello there, I faced a problem with using SelectOneMenu inside Panel under themes available @ primefaces.org and themeroller. The problem is that select button (the one on the right side of ...

23. SelectOneMenu Bug Report    forum.primefaces.org

...

24. selectOneMenu call a method on select item    forum.primefaces.org

25. how to use relate between selectOnemenu and selectManyCheck    forum.primefaces.org

Hello, I have a selectOnemenu and a list of checkbox,I want to achieve this scenario: when a user choose option1(PieChart)-->he has just the right to check one checkbox option2(BarChart)-->he has just ...

26. Convert called more than once in a p:selectOneMenu ajax    forum.primefaces.org

30 Jul 2011, 20:02 by mariohmol Convert called more than once in a p:selectOneMenu ajax Hy guys, i'm trying to use a p:selectOneMenu pointing to a converter and calling a ajax ...

27. p:selectOneMenu, converter and p:ajax    forum.primefaces.org

Hello again, Using PrimeFaces 3.0 M2, GlassFish 3.1, JSF 2. Lately I've been trying to replace my JSF fields with PrimeFaces ones. I've been having a hard time with p:selectOneMenu (see, ...

28. p:selectOneMenu renderer doesn't work as desired    forum.primefaces.org

03 Aug 2011, 21:18 by RueKow p:selectOneMenu renderer doesn't work as desired I have some inputText- and two selectOneMenu-components in my form. All components have attribut . When validating all messages ...

29. [SOLVED] cascading selectOneMenu with ajax issue    forum.primefaces.org

>> << jackstuard Posts: 15 Joined: 03 Aug 2011, 15:53 10 Aug 2011, 14:54 by jackstuard [SOLVED] cascading selectOneMenu with ajax issue Can someone confirm please, if selectOneMenu has a specific ...

30. Dialog and Selectonemenu    forum.primefaces.org

I have an issue with 2.2.1 release. I have a datatable with instant Ajax slection. When I select a row it opens a dialog box. The dialog box contains the object ...

31. Save and Delete not working in Dialog with selectonemenu    forum.primefaces.org

>> << Sunil Posts: 37 Joined: 23 Jun 2011, 09:15 12 Aug 2011, 09:06 by Sunil Save and Delete not working in Dialog with selectonemenu Hi All, Can anyone help me ...

32. How to bind items in SelectOneMenu    forum.primefaces.org

I need to bind p:SelectOneMenu. I am creating its instance with code: SelectOneMenu selectOneMenu = new SelectOneMenu(); How to set the select items (in java code) in selectOneMenu instance as children ...

33. p:selectOneMenu with converter    forum.primefaces.org

>> << vuimotti Posts: 5 Joined: 14 Aug 2011, 19:28 14 Aug 2011, 19:41 by vuimotti p:selectOneMenu with converter code index.xhtml Code:

34. p:SelectOneMenu Problem 3.0.M2 -> M3-SNAPSHOT    forum.primefaces.org

20.08.2011 14:08:52 com.sun.faces.application.view.FaceletViewHandlingStrategy handleRenderException SCHWERWIEGEND: Error Rendering View[/inventory/inventory.xhtml] java.util.NoSuchElementException at java.util.AbstractList$Itr.next(AbstractList.java:350) at org.primefaces.renderkit.InputRenderer.getSelectItems(InputRenderer.java:79) ...

35. p:selectonemenu with converter problem    forum.primefaces.org

23 Aug 2011, 10:58 by nileshmali p:selectonemenu with converter problem It works with h:selectOneMenu When i use p:selectOneMenu it fails complete stack trace is Code: java.lang.IllegalArgumentException: Cannot convert -1 ...

38. SelectOneMenu breaks in IE8    forum.primefaces.org

This error is simple to duplicate, you open primefaces labs-showcase with IE8 and you click on selectOneMenu. You won't see the menu's but you will get an error: Errordetails webpage UserAgent: ...

39. SelectOneMenu not working in IE8    forum.primefaces.org

Hi, I'm using a selectOneMenu in my application. Firefox or Chrome don't have a problem with this component, but IE does. IE just stops rendering the page as soon as the ...

40. Bug with closing selectOneMenu forces history.back?    forum.primefaces.org

>> << sebastian-k Posts: 2 Joined: 12 Sep 2011, 14:00 12 Sep 2011, 14:07 by sebastian-k Bug with closing selectOneMenu forces history.back? Hi, there's a really strange behaviour with Primefaces Mobile ...

41. Popuplist of a selectOneMenu    forum.primefaces.org

15 Sep 2011, 16:16 by mynca Popuplist of a selectOneMenu Hi all, in my form I'm using a selectOneMenu. When I click on this component the list with options opens. But ...

42. Dynamic SelectOneMenu Rendering Trouble    forum.primefaces.org

22 Sep 2011, 20:03 by esenco Dynamic SelectOneMenu Rendering Trouble Hi, We're developing an application where we need to create JSF pages dinamically (by means of a view scoped managed bean). ...

43. Help with p:selectOneMenu on PF 3.0M3    forum.primefaces.org

44. [In RequestScope] selectOneMenu does not dispatch ajax call    forum.primefaces.org

09 Oct 2011, 04:30 by gonella [In RequestScope] selectOneMenu does not dispatch ajax call When the bean is in REQUEST SCOPE, I can not dispatch the second ajax call. If I ...

45. selectOneMenu It cannot use.    forum.primefaces.org

netbeans7.0 firefox6.0 He is a Japanese. Language may be strange. I am sorry. primefaces-3.0.M3.jar was added to the library and used. Such an error came out. Can't it use? /index.xhtml @36,59 ...

46. How to create sublist using ?    forum.primefaces.org

I had used before, and the two level list/sublist worked. After switching to , it only displays the first level list. And for the first level list, and it renders ...

47. selectOneMenu appearance    forum.primefaces.org

Greetings, What a great product, just cannot wait to have M3 full version... This is the line to produce selectOneMenu.

48. selectOneMenu and panels    forum.primefaces.org

14 Oct 2011, 08:30 by Fernando selectOneMenu and panels Hello, I'm using a layout to divide the screen into two columns. The first column contains a tree component and the second ...

49. h:selectOneMenu & converter    forum.primefaces.org

15 Oct 2011, 14:12 by maximiliano h:selectOneMenu & converter JSF 2.0 primefaces 2.2.1 i'm trying to use h:selectOneMenu with POJO. I dont know what is wrong but I;m getting this error: ...

50. Primefaces layout bug - selectOneMenu doesn't work    forum.primefaces.org

I'm using Primefaces 3.0.M4 with JSF2. I created a page divided into some layout units. In one layout unit I have a selectOneMenu. When the page is rendered the select works ...

52. Bug in ?    forum.primefaces.org

16 Nov 2011, 00:11 by msh321 Bug in ? Hi all, I have spent quite some time on something that (to me) looks like a bug in PrimeFaces. I have now ...

54. SelectOneMenu IE8    forum.primefaces.org

hi, I'm having an issue with IE and Selectonemenu. I have 2 seleconemenu above each other. when i click the top one it appears below the bottom selectonemenu.

55. p:selectOneMenu does not work on 3.0.M4 in IE 8    forum.primefaces.org

Hi just upgraded from 3.0.M3 to 3.0.M4 and the p:selectOneMenu throiws me the following error in IE8 (FF and chrome are OK) Message: HTML Parsing Error: Unable to modify the parent ...

56. Selectonemenu with Ajax engine Problem    forum.primefaces.org

21 Nov 2011, 16:40 by n4d3r Selectonemenu with Ajax engine Problem Hello everybody, i need two select's in cascade, state, and city, but i have i problem. In primefaces labshowcase it ...

57. Problem with     forum.primefaces.org

22 Nov 2011, 03:32 by burferd Problem with Using PF 3.0-M4 / PF 3.0-RC1-Snapshot, Glassfish 3.3, Mojarra 2.1.3 I have a panel inside a composite component with 2 selectOneMenu components. ...

58. SelectOneMenu Error    forum.primefaces.org

...

59. Lost in SelectOneMenu with images    forum.primefaces.org

...

60. how to impliment Editable selectOneMenu    forum.primefaces.org

Hi Everyone.... I have to make an editable selectOneMenu so that the user can actually write inside the menu (combobox). Will i have to make a custom component? If so, how ...

61. howto read default selection of selectonemenu    forum.primefaces.org

Hi, i have a datatable which content depends on the selection of a selectonemenu. Everything works fine, if i select one of the menu entries, but when loaded initially, the attribute ...

63. Bug in p:selectOneMenu in RC1?    forum.primefaces.org

13 Dec 2011, 14:32 by bjorntj Bug in p:selectOneMenu in RC1? I have the following code...: Code:

65. Set value p:selectOneMenu via javascript (visually)    forum.primefaces.org

66. Problem with converter for p:selectOneMenu    forum.primefaces.org

15 Dec 2011, 16:10 by loright Problem with converter for p:selectOneMenu Hello, can somebody help me with writing converter for p:selectOndeMenu, becouse in UserGuide I didn't find any description. This is ...

67. Long selectOneMenu scrolls up and hides selected item    forum.primefaces.org

Hello Everyone, when long selectOneMenu component is used and scrollbars are rendered in this case, when you populate combo and previously selected item needs to be scrolled, it is not displayed ...

68. new feature - combo/suggestionBox (selectOneMenu) with AJAX?    forum.primefaces.org

16 Mar 2010, 13:31 by tarsia new feature - combo/suggestionBox (selectOneMenu) with AJAX? Hello, congratulations to your wonderful Primefaces-framework. I'm working with Richfaces for a very long time. But I like ...

69. Restore item, while editing    forum.primefaces.org

How can I bring the item values back while editing.Now it just showing 'Select One', and users have to select the desired one (or already submitted)again. How can I bring ...

70. issue with p:selectOneMenu    forum.primefaces.org

71. selectOneMenu - invalid conversion?    forum.primefaces.org

20 Dec 2011, 20:53 by holek selectOneMenu - invalid conversion? Hi, I have problem with selectOneMenu when using with null value and Long type, when i select "null" from list system ...

72. Set selected for     forum.primefaces.org

...

73. p:ajax with h:selectOneMenu    forum.primefaces.org

30 May 2010, 01:32 by mDesignz p:ajax with h:selectOneMenu Hello, I'm making great progress with PrimeFaces. Thanks for building a terrific product. I'm having an issue with the 1.0.2 build in ...

74. selectonemenu in p:dialog (2.1-RC1-SNAPSHOT)    forum.primefaces.org

Hello together could it be, that the dialog in combination with a selectOneMenu is buggy if a customized converter in the selectOneMenu is used? Example: Code: ...

75. Problem with h:selectOneMenu into p:dataTable    forum.primefaces.org

Hi, I'm using the primefaces 2.0.2 , when I try to use selecteOneMenu into p:datatable with value default it doesn't render on internet explorer 8 but with google chrome it's works ...

76. problem with h:selectOneMenu and p:inplace    forum.primefaces.org

private Contas conta; public Contas getConta() { return conta; } public void setConta(Contas conta) { ...

77. More to 2 selectOneMenu and p:ajax    forum.primefaces.org

13 Sep 2010, 18:55 by malagon More to 2 selectOneMenu and p:ajax Hi all: Well, first I'm using primefaces 2.1. I have two selectOneMenu items inside a jsf page, like you ...

79. SelectOneMenu ajax update not working after first time    forum.primefaces.org

02 Nov 2010, 00:25 by sanjeev SelectOneMenu ajax update not working after first time Hi, I am updating city selectOneMenu when state selectOneMenu is changed using p:ajax. This works fine for ...

80. Problems with multi selectOneMenu and ajax    forum.primefaces.org

Hi, I faced two problems with h:selectOneMenu and p:ajax. Code: ...

81. h:selectOneMenu - Ajax is not working    forum.primefaces.org

>> << averri Posts: 103 Joined: 07 Sep 2009, 15:51 05 Oct 2009, 15:52 by averri h:selectOneMenu - Ajax is not working Hi, I'm trying to use p:ajax tag inside a ...

82. inplace and selectOneMenu    forum.primefaces.org

The inplace uses the value from the first child component as the label by default. Well, for a selectOneMenu the value is not the same as the selected item's label. In ...

83. Problem with dataTable + SelectOneMenu    forum.primefaces.org

>> << santima17 Posts: 3 Joined: 30 Jul 2010, 22:15 06 Dec 2010, 20:50 by santima17 Problem with dataTable + SelectOneMenu I have the next source in my page.

84. h:selectOneMenu and p:ajax don't work with Object    forum.primefaces.org

...

85. selectOneMenu in dialog problem    forum.primefaces.org

I have a problem with a p:dialog and fullpage layout. My layout has the top, left and center visible. I have a button on the center layoutUnit which displays a p:dialog ...

86. ajax call in not working    forum.primefaces.org

...

87. New SelectOneMenu component    forum.primefaces.org

88. selectOneMenu value    forum.primefaces.org

Hi, i am newbie, and if possible, I would like some advice: what is the best way, the easiest, to capture multiple attributes of a var in a selectOneMenu item?

89. p:selectOneMenu hideNoSelectionOption missing    forum.primefaces.org

Hi, I was just testing the new p:selectOneMenu in PrimeFaces 3.0 and it seems it does not have a hideNoSelectionOption attribute. I think so due to the fact that Netbeans reports ...

90. selectOneMenu 3.0 SNAPSHOT error    forum.primefaces.org

...

91. p:selectOneMenu bug in IE 8 and IE 9    forum.primefaces.org

Steps 1. Open primefaces demo (Labs showcase 3.0) under IE 8 or IE 9 2. click on select one menu link 3. try to select a choice/ select (select option) Select ...

92. SelectOneMenu appearance issue    forum.primefaces.org

I have noticed that the new SelectOneMenu component in Primefaces 3 seems to have a minor issue with its appearance what the menu is opened for selection. The dropdown part of ...

93. p:selectOneMenu looks weird    forum.primefaces.org

94. can tree be used in selectOneMenu?    forum.primefaces.org

95. p:ajax + dataTable + selectOneMenu problem    forum.primefaces.org

10 Mar 2011, 14:51 by kamelot p:ajax + dataTable + selectOneMenu problem Hello, I need to handle drop-down box value change to compute final prize. I wanted to use p:ajax, but ...

96.  not rendering well on 3.0 snapshot    forum.primefaces.org

The label remains empty: if create (i.e. the value isn't set yet) on edit (i.e. value already set) works fine e.g.

97. selectOneMenu doesn't display correctly in dialog    forum.primefaces.org

98. selectOneMenu from 3.0 Snapshot [Urgent]    forum.primefaces.org

Hello, I know that 3.0 Snapshot is highly unstable and you already know that selectOneMenu is not working well... I got a demo to do, and need to know if selectOneMenu ...

99. selectOneMenu in dataTable default value    forum.primefaces.org

>> << maple_shaft Posts: 51 Joined: 10 Mar 2011, 19:49 28 Mar 2011, 21:54 by maple_shaft selectOneMenu in dataTable default value Hi Forum, I am having trouble getting the default value ...

100. issue of p:selectOneMenu    forum.primefaces.org