Hehe. Sounds like not-fun . I think I did a similar thing a long time ago in tacos for the progress bar to insert link url strings.
If it gets too complicated you could always wrap this in a component and write it out manually via IMarkupWriter and then let your "@RenderBody" component handle everything else in the template. On 4/4/06, Greg Cormier <[EMAIL PROTECTED]> wrote: > > Here's my wonderfully confusing statement : > > <span jwcid="@Insert" raw="true" value="ognl:'<ul class=menu id=' + > aPage.menuId + '>'" /> > > I want to add quotes to the class tags to comply with our Common look and > feel standards. > :) > > Greg > > -----Original Message----- > From: Filip S. Adamsen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 04, 2006 2:46 PM > To: Tapestry users > Subject: Re: [Slightly OT]Double quotes in OGNL > > > Hmm, what if you enclose the strings in single quotes and then use > double quotes inside? > > -Filip > > Greg Cormier skrev: > > I've tried escaping with \", and also \\" but both don't seem to work. > :( > > > > Thanks, > > Greg > > > > -----Original Message----- > > From: Filip S. Adamsen [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, April 04, 2006 2:35 PM > > To: Tapestry users > > Subject: Re: [Slightly OT]Double quotes in OGNL > > > > > > Have you tried escaping them? Using \" instead of " might work. Then > > again, I'm not an OGNL expert. > > > > -Filip > > > > Greg Cormier skrev: > >> How can I output double quotes in OGNL? > >> > >> I have a moderately complicated Border setup. There's lots of @If's for > opening and closing new sub-menu's. > >> > >> Unfortunately, Tapestry dies because nested tags confuse it (as they > should). So to work around this, I just use @Insert with raw=true and print > out my UL or LI tags as appropriate, and close them when needed. > >> > >> Thanks, > >> Greg > > --------------------------------------------------------------------- > 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. http://opennotion.com
