• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ajax:support problem with rich:combobox

 
anjali patil
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18277
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
anjali patil
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic