Revision: 768
http://stripes.svn.sourceforge.net/stripes/?rev=768&view=rev
Author: bengunter
Date: 2008-01-19 15:01:49 -0800 (Sat, 19 Jan 2008)
Log Message:
-----------
Fixed STS-348. Changed visibility of getActionBean, getParentFormTag, and
getLocalizedFieldName to public.
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-01-19 22:39:24 UTC (rev 767)
+++ trunk/stripes/src/net/sourceforge/stripes/tag/InputTagSupport.java
2008-01-19 23:01:49 UTC (rev 768)
@@ -149,7 +149,7 @@
* @return FormTag the enclosing form tag on the JSP
* @throws StripesJspException if an enclosing form tag cannot be found
*/
- protected FormTag getParentFormTag() throws StripesJspException {
+ public FormTag getParentFormTag() throws StripesJspException {
FormTag parent = getParentTag(FormTag.class);
// find the first non-partial parent form tag
@@ -228,7 +228,7 @@
*
* @return a localized field name if one can be found, or null if one
cannot be found.
*/
- protected String getLocalizedFieldName() throws StripesJspException {
+ public String getLocalizedFieldName() throws StripesJspException {
String name = getAttributes().get("name");
return getLocalizedFieldName(name);
}
@@ -376,12 +376,10 @@
*
* @return ActionBean the ActionBean bound to the form if there is one
*/
- protected ActionBean getActionBean() throws StripesJspException {
+ public ActionBean getActionBean() throws StripesJspException {
return getParentFormTag().getActionBean();
}
-
-
/**
* Final implementation of the doStartTag() method that allows the base
InputTagSupport class
* to insert functionality before and after the tag performs it's
doStartTag equivalent
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