Re: [HK] Resource substitution
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 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 > body as a parameter (bean value for the > tag) > > Nico. > > > > > > > --- James Mitchell <[EMAIL PROTECTED]> wrote: > > > Yes, you could do something like this: > > > > > > > > > > > > > > > > > > arg0="<%=licen%>"/> > > > > > > > > > > > > -- > > > James Mitchell > > > Web Developer/Struts Evangelist > > > http://jakarta.apache.org/struts/ > > > > > > "People demand freedom of speech to make up for > the > > > freedom of thought > > > which they avoid." > > > - Soren Aabye Kierkegaard (1813-1855) > > > > > > > > > > > > > > > > -Original Message- > > > > From: harish krishnaswamy > > > [mailto:[EMAIL PROTECTED] > > > > Sent: Monday, March 03, 2003 1:23 AM > > > > To: Struts Users Mailing List > > > > Subject: [HK] Resource substitution > > > > > > > > > > > > Is it possible to sustitute one message > resource > > > in > > > > another message resource from a .jsp page? For > ex. > > > > > > > > > > > license.name=LICENSOR > > > > license.text=Copyright (c) 2003 {0} > > > > > > > > In the above example, can I sustitute > license.name > > > in > > > > license.text for {0} in a .jsp page? > > > > > > > > > __ > > > > Do you Yahoo!? > > > > Yahoo! Tax Center - forms, calculators, tips, > more > > > > http://taxes.yahoo.com/ > > > > > > > > > > > > > > - > > > > 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] > > > > > > > > > __ > > Do you Yahoo!? > > Yahoo! Tax Center - forms, calculators, tips, more > > http://taxes.yahoo.com/ > > > > > - > > 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] > __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [HK] Resource substitution
> This was exactly what I was looking for although I > don't quite understand how it works. > > Doesn't 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 body as a parameter (bean value for the tag) Nico. > > > --- James Mitchell <[EMAIL PROTECTED]> wrote: > > Yes, you could do something like this: > > > > > > > > > > > > > > > > > > > > -- > > James Mitchell > > Web Developer/Struts Evangelist > > http://jakarta.apache.org/struts/ > > > > "People demand freedom of speech to make up for the > > freedom of thought > > which they avoid." > > - Soren Aabye Kierkegaard (1813-1855) > > > > > > > > > > > -Original Message- > > > From: harish krishnaswamy > > [mailto:[EMAIL PROTECTED] > > > Sent: Monday, March 03, 2003 1:23 AM > > > To: Struts Users Mailing List > > > Subject: [HK] Resource substitution > > > > > > > > > Is it possible to sustitute one message resource > > in > > > another message resource from a .jsp page? For ex. > > > > > > > > license.name=LICENSOR > > > license.text=Copyright (c) 2003 {0} > > > > > > In the above example, can I sustitute license.name > > in > > > license.text for {0} in a .jsp page? > > > > > > __ > > > Do you Yahoo!? > > > Yahoo! Tax Center - forms, calculators, tips, more > > > http://taxes.yahoo.com/ > > > > > > > > > - > > > 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] > > > > > __ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > > - > 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]
RE: [HK] Resource substitution
This was exactly what I was looking for although I don't quite understand how it works. Doesn't write the value to the jsp writer? --- James Mitchell <[EMAIL PROTECTED]> wrote: > Yes, you could do something like this: > > > > > > > > > > -- > James Mitchell > Web Developer/Struts Evangelist > http://jakarta.apache.org/struts/ > > "People demand freedom of speech to make up for the > freedom of thought > which they avoid." > - Soren Aabye Kierkegaard (1813-1855) > > > > > > -Original Message- > > From: harish krishnaswamy > [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 03, 2003 1:23 AM > > To: Struts Users Mailing List > > Subject: [HK] Resource substitution > > > > > > Is it possible to sustitute one message resource > in > > another message resource from a .jsp page? For ex. > > > > > license.name=LICENSOR > > license.text=Copyright (c) 2003 {0} > > > > In the above example, can I sustitute license.name > in > > license.text for {0} in a .jsp page? > > > > __ > > Do you Yahoo!? > > Yahoo! Tax Center - forms, calculators, tips, more > > http://taxes.yahoo.com/ > > > > > - > > 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] > __ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [HK] Resource substitution
Yes, you could do something like this: -- James Mitchell Web Developer/Struts Evangelist http://jakarta.apache.org/struts/ "People demand freedom of speech to make up for the freedom of thought which they avoid." - Soren Aabye Kierkegaard (1813-1855) > -Original Message- > From: harish krishnaswamy [mailto:[EMAIL PROTECTED] > Sent: Monday, March 03, 2003 1:23 AM > To: Struts Users Mailing List > Subject: [HK] Resource substitution > > > Is it possible to sustitute one message resource in > another message resource from a .jsp page? For ex. > > license.name=LICENSOR > license.text=Copyright (c) 2003 {0} > > In the above example, can I sustitute license.name in > license.text for {0} in a .jsp page? > > __ > Do you Yahoo!? > Yahoo! Tax Center - forms, calculators, tips, more > http://taxes.yahoo.com/ > > - > 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]