in your doStart method of mytag source you would write
String message = RequestUtils.message(pageContext, this.bundle,
this.localeKey, label);
and print that message
Panchasheel
-----Original Message-----
From: Michal Maczka [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 03, 2003 1:38 PM
To: [EMAIL PROTECTED]
Subject: Using functionality of <bean:message>in custom tag library
What's is the easiest way of using the Struts Resources (messages)
which are normally accessible through <bean:message> tag in a custom tag
library.
I want to have something like:
<mytag label="message.id" >
where message.id is a key in properties files.
Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]