Internationalization of string with embedded link?

2003-03-22 Thread Dolf Starreveld
On a struts based JSP is need to output something like: To do x, click here here means that words needs to be a link. Without using resource (and internationalization), it would look like: PTo do x, click a href=URLhere/a/P Without internationalization 100% OK, it would become: P bean:message

Re: Internationalization of string with embedded link?

2003-03-22 Thread David M. Karr
Dolf == Dolf Starreveld [EMAIL PROTECTED] writes: Dolf On a struts based JSP is need to output something like: Dolf To do x, click here Dolf here means that words needs to be a link. Without using resource (and Dolf internationalization), it would look like: Dolf PTo do x,

Re: Internationalization of string with embedded link?

2003-03-22 Thread Jason Lea
This can be done in Struts using the MessageResources: Struts Tip #4 - Formatting output with MessageResources http://husted.com/struts/tips/004.html also have a look at the Java Internationalization Tutorial's page http://java.sun.com/docs/books/tutorial/i18n/format/messageFormat.html You can

Re: Internationalization of string with embedded link?

2003-03-22 Thread Jason Lea
Dolf pointed out this doesn't solve the problem due to the use of the html:link on his jsp page. After looking around I have learnt something new :) and have found a solution (using Java Servlet 2.3 and JavaServer Pages 1.2 eg Tomcat 4+.) You can use the JSTL Struts-EL (expression

Re: Internationalization of string with embedded link?

2003-03-22 Thread Dolf Starreveld
In a mail from 13:44 +1200 3/23/03 Jason Lea wrote: Dolf pointed out this doesn't solve the problem due to the use of the html:link on his jsp page. After looking around I have learnt something new :) and have found a solution (using Java Servlet 2.3 and JavaServer Pages 1.2 eg Tomcat 4+.)