Try using single quotes: <span jwcid="@If" condition="ognl:setting('showpersondetails')">
-----Original Message----- From: Andreas Bulling [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Bulling Sent: Monday, March 20, 2006 8:39 AM 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]