RE: [HK] Resource substitution

2003-03-03 Thread James Mitchell
Yes, you could do something like this: bean:define id=licen bean:message key=license.name/ /bean:define bean:message key=license.text arg0=%=licen%/ -- James Mitchell Web Developer/Struts Evangelist http://jakarta.apache.org/struts/ People demand freedom of speech to make up for the freedom

RE: [HK] Resource substitution

2003-03-03 Thread harish krishnaswamy
This was exactly what I was looking for although I don't quite understand how it works. Doesn't bean:message../ write the value to the jsp writer? --- James Mitchell [EMAIL PROTECTED] wrote: Yes, you could do something like this: bean:define id=licen bean:message key=license.name/

Re: [HK] Resource substitution

2003-03-03 Thread Nicolas De Loof
This was exactly what I was looking for although I don't quite understand how it works. Doesn't bean:message../ write the value to the jsp writer? tag write to the current ouputstream. Nested inside another tag, they write to the bodycontent buffered ouputstream. This way parent tag can use

Re: [HK] Resource substitution

2003-03-03 Thread harish krishnaswamy
A ha that makes sense. Thanks! --- Nicolas De Loof [EMAIL PROTECTED] wrote: This was exactly what I was looking for although I don't quite understand how it works. Doesn't bean:message../ write the value to the jsp writer? tag write to the current ouputstream. Nested inside another