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]
