Hello, I ran into the situation where I needed to insert a double-quote in an OGNL expression. I wanted to do: value="ognl:'Section: \"' + section.name + '\"'", but the Tapestry parser doesn't like that very much.
A solution offered in the archives is to explicitly declare the component in the .page or .jwc file, where you can escape strings in the parameter-bindings just like in Java. I prefer anonymous components directly in the template, myself, and wanted to offer the alternative of using Java's Unicode capability: "ognl:'Section: \u0022' + section.name + '\u0022'". Double Quote = \u0022, Single Quote = \u0027. Works great for me in Tapestry 4.0.2. Jim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
