luehe       2002/08/30 20:37:16

  Modified:    jasper2/src/share/org/apache/jasper/compiler Generator.java
  Log:
  Do not process named attribute using property editor if it is a fragment
  
  Revision  Changes    Path
  1.87      +6 -4      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java
  
  Index: Generator.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Generator.java,v
  retrieving revision 1.86
  retrieving revision 1.87
  diff -u -r1.86 -r1.87
  --- Generator.java    30 Aug 2002 16:54:09 -0000      1.86
  +++ Generator.java    31 Aug 2002 03:37:16 -0000      1.87
  @@ -2515,10 +2515,12 @@
                if (attrs[i].isExpression()) {
                    // Do nothing
                } else if (attrs[i].isNamedAttribute()) {
  -                 attrValue = convertString(
  +                 if (!n.checkIfAttributeIsJspFragment(attrs[i].getName())) {
  +                     attrValue = convertString(
                                   c[0], attrValue, attrName,
                                handlerInfo.getPropertyEditorClass(attrName),
                                false);
  +                 }
                } else if (attrs[i].isELInterpreterInput()) {
                       // run attrValue through the expression interpreter
                       attrValue = JspUtil.interpreterCall(this.isTagFile,
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to