Hello,

I'd like to be able to set a page parameter using a selectOneMenu.  This should 
be very simple, but i can't get it to work properly.

All I want is a selectOneMenu to reload the current page changing the 'sortBy' 
parameter (and continue in the current conversation)

This does not work (it reloads the page, but all page params are lost -- 
because it is a post rather then a get)


  | <h:form id="paginatorFm">
  |                     Sort By
  |                             <h:selectOneMenu value="#{paginator.sortBy}" 
onchange="document.forms['paginatorFm'].submit();">
  |                                     <f:selectItems 
value="#{paginator.sortByOptions}" />
  |                             </h:selectOneMenu>
  | </h:form>
  | 

any help?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049563#4049563

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049563
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to