Problem dealing with ampersand - HELP

2004-09-08 Thread kranga
I have a jsp page that produces a href element that has some query parameters. Unfortunately the cocoon pipeline throws an error: org.apache.cocoon.ProcessingException: SAXException while parsing JSPEngine output: null:102:135:org.xml.sax.SAXParseException: The reference to entity subsect must

Catching java exception in flowscript?

2004-07-22 Thread kranga
Is it possible to catch java exceptions in flow scripts? If yes, can someone send me a snippet? Thanks -K - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Accessing global config values in sitemap through flow scripts

2004-07-15 Thread kranga
Can someone help?? How can I access values defined in the global-variables section from a flow script and from jx-templates? Thanks K - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Accessing global config values in sitemap through flow scripts

2004-07-14 Thread kranga
How can I access values defined in the global-variables section from a flow script and from jx-templates? Thanks K - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Velocity generator throws exception on encountering nbsp

2004-07-08 Thread kranga
I'm using cocoon 2.1 and I have a Velocity page that I'm trying to serve. The page as a non-breaking space nbsp in it. The exception I get is: The entity nbsp was referenced, but not declared. In generated document: html head at at

How to store java obj in session using flow script

2004-06-28 Thread kranga
When I say something like: var obj = new Packages.com.me.MyClass(test); cocoon.session.setAttribute(user, obj); my sitemap.xmap's sessionstate matcher doesn't match on the session. However, if I store a javascript native value (say the integer 123), the statematcher matches on the session. What

Re: Cocoon direction

2004-06-25 Thread kranga
Why JXTemplate and not Velocity? They are very similar. It would seem logical to take a top level and well known templating framework like Velocity rather than JXTemplate. Any insights appreciated ... - Original Message - From: Antonio Gallardo [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Cocoon direction

2004-06-24 Thread kranga
I hear that Cocoon will be embracing flow as the predominant paradigm for app development. The flow docs tell me that XSP, Jx and velocity are supported page creation technologies supported? Does this mean jsps are being relegated? Is velocity based pages considered mainstream for developing