A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to use intenationalization in Tag class
Joined: Jun 13, 2005
Nov 05, 2006 21:56:00
I have made my own tag class.
Inside doStartTag() I want to display message.
but it is not working? what to do.
Joined: Feb 15, 2005
Nov 06, 2006 00:24:00
I'd suggest the following:
Make your tag class extend org.apache.struts.taglib.bean.MessageTag
Download the source for the version of Struts that you're using
In your doStartTag, either copy their code to display a message or call super.doStartTag()
Add your code to do whatever it is you want to do in addition to displaying the message.
I agree. Here's the link:
subject: how to use intenationalization in Tag class
Error during deployment
Unable to assign value to integer x
Regarding JSP Tag libraries
Custom Tag Query
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014