This content has been marked as final.
Show 5 replies
-
1. Re: Enhancement for rich:dataScroller
ilya_shaikovsky Sep 10, 2007 7:17 AM (in response to heavywizard)Use facet with "controls" name. There you should be able to provide the extra info that you need instead of standard buttons.
-
2. Re: Enhancement for rich:dataScroller
heavywizard Sep 10, 2007 10:30 AM (in response to heavywizard)Thnx ilya, i've tried to do it but i've found these controls:
"first", "last", "next", "previous", "fastforward", "fastrewind".
Is it not possible then? -
3. Re: Enhancement for rich:dataScroller
ilya_shaikovsky Sep 10, 2007 11:19 AM (in response to heavywizard)The names of facets for the controls (from source):
public static final String FIRST_FACET_NAME = "first"; public static final String LAST_FACET_NAME = "last"; public static final String NEXT_FACET_NAME = "next"; public static final String PREVIOUS_FACET_NAME = "previous"; public static final String FAST_FORWARD_FACET_NAME = "fastforward"; public static final String FAST_REWIND_FACET_NAME = "fastrewind"; public static final String FIRST_DISABLED_FACET_NAME = "first_disabled"; public static final String LAST_DISABLED_FACET_NAME = "last_disabled"; public static final String NEXT_DISABLED_FACET_NAME = "next_disabled"; public static final String PREVIOUS_DISABLED_FACET_NAME = "previous_disabled"; public static final String FAST_FORWARD_DISABLED_FACET_NAME = "fastforward_disabled"; public static final String FAST_REWIND_DISABLED_FACET_NAME = "fastrewind_disabled";
There every button could be customized. Or hidden through attribute. -
4. Re: Enhancement for rich:dataScroller
suckerd Sep 10, 2007 11:21 AM (in response to heavywizard)Hi,
maybe this helps ?
http://jboss.com/index.html?module=bb&op=viewtopic&t=114196 -
5. Re: Enhancement for rich:dataScroller
heavywizard Sep 11, 2007 4:43 AM (in response to heavywizard)Done! xD. I posted my code into suckerd's thread.
http://jboss.com/index.html?module=bb&op=viewtopic&t=114196
Thnx to all.