aspose file tools*
The moose likes JSF and the fly likes a4j:support with h:selectOneMenu - works in IE, not in Firefox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "a4j:support with h:selectOneMenu - works in IE, not in Firefox" Watch "a4j:support with h:selectOneMenu - works in IE, not in Firefox" New topic
Author

a4j:support with h:selectOneMenu - works in IE, not in Firefox

Mark Varley
Greenhorn

Joined: May 20, 2003
Posts: 15
Hi all - I am having some problems with my search form and I think I have the narrowed the problem down to my use of the a4j:support tag. The action of my form is quite simple - display a dropdown list of countries as an h:selectOneMenu, user selects country, dropdown list of destinations is dynamically populated via an Ajax call to the session managed backing bean, user selects destination - clicks button and results (in this case vendors) matching the destination are displayed. (see code below)

This works absolutely fine with IE but with Firefox and Safari the value of the "destination" input is not being passed to the server the first time. However, once the empty results table is displayed along with the search controls and I try again it works. I have spent many hours debugging and scouring the web and still have no solution. If anyone has any idea what may be causing this I would be eternally grateful.

I am developing in Netbeans 6.1 with JDK1.6, JSF1.2 (Sun), RichFaces 3.2.1, IE 7.0, Firefox 3.0.1, Safari 3.1.2.

Thanks,

mark

rym gtari
Greenhorn

Joined: Jun 05, 2009
Posts: 1
would you please send the whole searchBarBacking bean
cose i m working on a example similar to the one you posted

Ponraj Siva
Greenhorn

Joined: Aug 01, 2001
Posts: 5
Did you find a solution for this?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a4j:support with h:selectOneMenu - works in IE, not in Firefox
 
Similar Threads
Seam/RichFaces - extendedDataTable, datascroller, and changeable page size
f:selectItems can't set value
Ajax and ui:repeat
Getting One Dropdown Menu Selection to Affect the Values of a Second Dropdown Menu
JSF drop down.