You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by st...@outerthought.org on 2003/06/12 23:00:04 UTC

[WIKI-UPDATE] DebuggingWithViews Thu Jun 12 23:00:04 2003

Page: http://wiki.cocoondev.org/Wiki.jsp?page=DebuggingWithViews , version: 7 on Thu Jun 12 20:18:22 2003 by ILinKuo

+ 
+ Note: if you're debugging a form, make sure you read all the way to the end.
+ !Using Cocoon-views to Debug Forms
+ If you're debugging the results of a form submission, you can't just add ?cocoon-view=debug1 in the URL, because the form submits to its action attribute. Here's what I do:
+ {{{
+ 	1. Browse to the submission form and save it as html on the desktop.
+ 	2. Open up the saved html and add <input type="text" name="cocoon-view" value="debug1"> in between the <form></form> tags.
+ }}}
+ This adds a request-parameter named "cocoon-view" into the form which allows you to test your page without altering your cocoon application.
+