Author: bwallace Date: Fri Apr 21 23:46:07 2006 New Revision: 396082 URL: http://svn.apache.org/viewcvs?rev=396082&view=rev Log: [TAPESTRY-300] Fixed the substring to take into account the colon already contained in the constant.
Modified: tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/jsp/AbstractTapestryTag.java Modified: tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/jsp/AbstractTapestryTag.java URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/jsp/AbstractTapestryTag.java?rev=396082&r1=396081&r2=396082&view=diff ============================================================================== --- tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/jsp/AbstractTapestryTag.java (original) +++ tapestry/tapestry4/branches/branch-3-0/framework/src/org/apache/tapestry/jsp/AbstractTapestryTag.java Fri Apr 21 23:46:07 2006 @@ -122,7 +122,7 @@ if (_parameters.startsWith(TemplateParser.OGNL_EXPRESSION_PREFIX)) { String expression = - _parameters.substring(TemplateParser.OGNL_EXPRESSION_PREFIX.length() + 1); + _parameters.substring(TemplateParser.OGNL_EXPRESSION_PREFIX.length()); return convertExpression(expression); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]