Use single quotes like 'aString' -----Original Message----- From: Andreas Bulling [mailto:[EMAIL PROTECTED] Sent: 20 March 2006 14:39 To: Tapestry users Subject: Once again an "OGNL in Tapestry" question
Hi all, once again (I would still appreciate help with my former problem ;)) I have a problem using OGNL in Tapestry: I want to pass a String to a method but this doesn't work: <span jwcid="@If" condition="ognl:setting(showpersondetails)"> ... </span> On the net I found something like <span jwcid="@If" condition="ognl:setting(r"showpersondetails")"> but this also doesn't work in the template because of the "s. So the question is: How can I pass a String to a method? Thanks! Andreas --------------------------------------------------------------------- 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]