1 Reply Latest reply on Jan 17, 2008 4:34 AM by Daniel Soneira

    rich:datascroller with additional text IN FRONT of the contr

    Daniel Soneira Novice

      I want to show something like this:

      Page |< < 1 2 3 4 5 > >|

      I managed to change the CSS of the datascroller to get it show INLINE

      so the following code works like expected:

      <h:outputText value="Page"/>
      <rich:datascroller ..../>

      Now of course I only want to show the label "Page" when the datascroller is shown too.
      I searched hi and low for maybe a facet to accomplish this - no success.
      After that I thought about using something on the lines of (the datascroller is binded)...

      <h:outputText rendered="${backingbean.datascroller.pageCount >1}" value="Page"/>

      which did not work..

      Can you guide me to a quick solution for this?