Revision: 909
          http://stripes.svn.sourceforge.net/stripes/?rev=909&view=rev
Author:   tfenne
Date:     2008-05-16 07:52:27 -0700 (Fri, 16 May 2008)

Log Message:
-----------
Added note about <s:form partial="true"/> in the error message users get when 
input tags are not enclosed in a form.

Modified Paths:
--------------
    trunk/stripes/src/net/sourceforge/stripes/tag/InputTagSupport.java

Modified: trunk/stripes/src/net/sourceforge/stripes/tag/InputTagSupport.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/tag/InputTagSupport.java  
2008-05-15 20:10:48 UTC (rev 908)
+++ trunk/stripes/src/net/sourceforge/stripes/tag/InputTagSupport.java  
2008-05-16 14:52:27 UTC (rev 909)
@@ -171,7 +171,9 @@
         if (parent == null) {
             throw new StripesJspException
                 ("InputTag of type [" + getClass().getName() + "] must be 
enclosed inside a " +
-                    "stripes form tag.");
+                 "stripes form tag. If, for some reason, you do not wish to 
render a complete " +
+                 "form you may surround stripes input tags with <s:form 
partial=\"true\" ...> " +
+                 "which will provide support to the input tags but not render 
the <form> tag.");
         }
 
         return parent;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to