This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Mark Varley
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
would you please send the whole searchBarBacking bean
cose i m working on a example similar to the one you posted

 
Ponraj Siva
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you find a solution for this?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic