aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 15632
    
  15

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ajax:support problem with rich:combobox
 
Similar Threads
RichFaces conditionally rendered tab actions problem
Mutiple ComboBoxes using c:forEach
rich:comboBox fails to reRender due to rich:ajaxValidator
Losing Tab Index Order After Ajax Request
rich:comboBox valueChangeListener is not working