aspose file tools*
The moose likes JSF and the fly likes MARQUEE componenet in JSF ??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "MARQUEE componenet in JSF ???" Watch "MARQUEE componenet in JSF ???" New topic
Author

MARQUEE componenet in JSF ???

Sajan Patel
Ranch Hand

Joined: Oct 25, 2004
Posts: 77
Dear All,

Do we have any JSF componenet which does same thing like HTML MARQUEE tag does. Is there anything we can do with css so outputtext tag can be used as Marquee.

Thanks in Advance
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
<f:verbatim><marquee>hello world!</marquee></f:verbatim>


MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
Sajan Patel
Ranch Hand

Joined: Oct 25, 2004
Posts: 77
Thanks for your input!! I am more interested in keeping pure JSF rather than mix match. Here I want to use <hutputText for printing "hello world!" so I can print that text from db.
I know if I don't find anything than I may use as you mentioned. I might have to use verbatim two time.
Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
you can create a custom component . it should be pretty easy !!

Thanks,
Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
ok I just wrote a custom marquee component. It didnt take more than 30 minutes ( I messed up the tld file and it took more time ). if you want I can share the code , else you can give it a shot good luck !!

Thanks,
Sajan Patel
Ranch Hand

Joined: Oct 25, 2004
Posts: 77
Sure!! It would be great if you share Code with all of us.
Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455


I havent included valuebinding in component class for value attribute which you can do it yourself

Thanks,

JSF Marquee Comp
[ March 31, 2008: Message edited by: Rajeev Ravindran ]
Sajan Patel
Ranch Hand

Joined: Oct 25, 2004
Posts: 77
It looks very promising.

And Thanks, I learn new thing today.
anitha meena
Ranch Hand

Joined: Oct 22, 2007
Posts: 40
thanks alot Rajeev Ravindran ,

It is a very easy example , can you tell us where we have to put tld file and how to compile and deploy the full example
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Since JSF 1.2 it´s not a pain to mix plain HTML in a JSF page. You don´t need the f:verbatim tags anymore.
Duygu Colak
Greenhorn

Joined: Jun 18, 2009
Posts: 1
Can someone please add value binding process to the 'Marquee' component in this page.
I've been trying it, but i couldn't make it.
I' ll be appreciate it so much.
Thanks.
Rajeev Ravindran
Ranch Hand

Joined: Aug 27, 2002
Posts: 455
JSF Marquee
 
Don't get me started about those stupid light bulbs.
 
subject: MARQUEE componenet in JSF ???