Revision: 601
http://stripes.svn.sourceforge.net/stripes/?rev=601&view=rev
Author: bengunter
Date: 2007-08-23 15:45:08 -0700 (Thu, 23 Aug 2007)
Log Message:
-----------
Instead of checking partial, call isPartial() in case a subclass overrides it
Modified Paths:
--------------
trunk/stripes/src/net/sourceforge/stripes/tag/FormTag.java
Modified: trunk/stripes/src/net/sourceforge/stripes/tag/FormTag.java
===================================================================
--- trunk/stripes/src/net/sourceforge/stripes/tag/FormTag.java 2007-08-23
21:47:59 UTC (rev 600)
+++ trunk/stripes/src/net/sourceforge/stripes/tag/FormTag.java 2007-08-23
22:45:08 UTC (rev 601)
@@ -205,12 +205,12 @@
}
JspWriter out = getPageContext().getOut();
- if (!partial) {
+ if (!isPartial()) {
writeOpenTag(out, "form");
}
getBodyContent().writeOut( getPageContext().getOut() );
- if (!partial) {
+ if (!isPartial()) {
// Write out a hidden field with the name of the page in it....
// The div is necessary in order to be XHTML compliant, where
a form can contain
// only block level elements (which seems stupid, but
whatever).
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: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development