<span jwcid="@Insert" value="message:<key>" />
On 7/4/06, Josh Long <[EMAIL PROTECTED]> wrote:
Does anyone else see the potential in a specialized @Message component that serves to act as refined @Insert but for messages? It owud take the formatters, would know how to handle "raw", and would generally replace the monotony of <span jwcid = "@Insert" value = "ognl: messages.myMessageKey"></span> with <span jwcid ="@Message" key = "myMessageKey"> x </span> or <span jwcid ="@Message" locale = "en" key = "myMessageKey">x </span> or <span jwcid ="@Message" locale = "en" format = "ognl: myDateFormatter" key = "myMessageKey"> x </span> or <span jwcid ="@Message" raw = "true" key = "myMessageKey"> </span> etc. i now wonder if this has been done already it seems so simple... hrmm.. peace, Josh On 7/4/06, Shing Hing Man <[EMAIL PROTECTED]> wrote: > Have you tried using the Insert component with > parameter raw set to true ? > > http://tapestry.apache.org/tapestry4/tapestry/ComponentReference/Insert.html > > Shing > > > --- Jean-Eric Cuendet <[EMAIL PROTECTED]> wrote: > > > Hi, > > I would like to put markup in the texts in my > > properties files. > > I have something like: > > > > the_string=Hello, <b>John</b>, how are you? > > > > But after getting the text either with getMessages() > > or directly with > > <span key="the_string"></span> the <b> is printed in > > full text (as <b>) > > instead of making John bold... > > Any iodea how to do that? > > Thanks > > -jec > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > Home page : > http://uk.geocities.com/matmsh/index.html > > > > ___________________________________________________________ > Copy addresses and emails from any email account to Yahoo! Mail - quick, easy and free. http://uk.docs.yahoo.com/trueswitch2.html > > --------------------------------------------------------------------- > 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]
-- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.