This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes ajax:support problem with rich:combobox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "ajax:support problem with rich:combobox" Watch "ajax:support problem with rich:combobox" New topic
Author

ajax:support problem with rich:combobox

anjali patil
Greenhorn

Joined: Aug 04, 2010
Posts: 4
I am using rich:combobox as
<rich:comboBox id="logLevel" value="#{logger.level}" size="1">
<f:selectItems value="#{log4jManager.allLevels}" />
<a4j:support event="onchange" immediate="true" action="#{log4jManager.test}" />
</rich:comboBox>

but my log4jManager.test is not getting called on a4j:support. How can resolved this issue???
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15962
    
  19

Try adding "ajaxSingle="true"" to the a4j:support. If you don't limit things, the entire form gets submitted, and any other fields that are invalid will cause the JSF lifecycle process to bypass the store values and action processing phases.


Customer surveys are for companies who didn't pay proper attention to begin with.
anjali patil
Greenhorn

Joined: Aug 04, 2010
Posts: 4
Tim Holloway wrote:Try adding "ajaxSingle="true"" to the a4j:support. If you don't limit things, the entire form gets submitted, and any other fields that are invalid will cause the JSF lifecycle process to bypass the store values and action processing phases.



Ok thanks
 
wood burning stoves
 
subject: ajax:support problem with rich:combobox
 
Similar Threads
rich:comboBox fails to reRender due to rich:ajaxValidator
RichFaces conditionally rendered tab actions problem
Mutiple ComboBoxes using c:forEach
rich:comboBox valueChangeListener is not working
Losing Tab Index Order After Ajax Request