Alex, You're quite right Tap is working as required and posting / redisplaying the xml intact - the problem was another exception buried deep in the app that being caught in error rather than thrown - thanks.
Regards, Jim. -----Original Message----- From: Alex Kotchnev [mailto:akoch...@gmail.com] Sent: 01 September 2010 13:35 To: Tapestry users Subject: Re: Submitting XML via a T5 form The "redisplay correctly" part should be handled by the default output encoding in T5 - thus, if the XML that is submitted in a form field and it's bound to a String property in your page or model, if you display/redisplay the form, it should render properly. I don't think you need anything special w/ CDATA in your case. Regards, Alex K On Wed, Sep 1, 2010 at 8:28 AM, Jim O'Callaghan <jc1000...@yahoo.co.uk>wrote: > Can anyone advise on the best approach to submitting XML via a T5 form? I > have a requirement to allow the user to submit XML via a form field - this > XML is then persisted in the database. What approach to CDATA etc. can I > use to ensure the form is posted / redisplayed correctly? Is there any > built-in support in T5 (5.2.0) for this scenario? Thanks. > > > > Regards, > > Jim. > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org