9 Replies Latest reply on Jul 21, 2009 4:00 AM by Dave Ellery

    ScrollabeDataTable selection not working.

    Dave Ellery Newbie

      Ok so this is starting to do my head in,

      I can't get selection's to work, It seams that the form never submits when im doing a selection, so it is never set in my bean, when I do column sorting however, it makes the call and sets the selection to null.

      <a:form >
      <rich:scrollableDataTable id="portalLadderTable"
                                                                                                   rendered="#{portalHome.ladders.size > 0}"
                                                                               <rich:column >
                                                                                   <f:facet name="header">Ladder Name</f:facet>
                                                                                  <h:outputText value="#{_ladder.ladderName}"/>

      and my bean

      @Scope( ScopeType.CONVERSATION )
      public class PortalAdmin {
           @In PortalHome portalHome;
           private Selection selection = new SimpleSelection();
           public Selection getSelection(){
                System.out.println("get selection");
                return this.selection;
           public void setSelection( Selection selection ){
                System.out.println("set selection");
                this.selection = selection;

      I have been racking my brain for 3 days over this, still nothing, if anyone can point me in the right direction that'd be great.