craigmcc    2002/06/22 20:38:12

  Modified:    src/share/org/apache/struts/taglib/html FormTag.java
  Log:
  FormTag should respect any "attribute" property on the ActionMapping for the
  current request.
  
  PR: Bugzilla #7377
  Submitted by: Ivan Follender <ivan.follender at hbo.com>
  
  Revision  Changes    Path
  1.22      +5 -5      
jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java
  
  Index: FormTag.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/src/share/org/apache/struts/taglib/html/FormTag.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- FormTag.java      23 Jun 2002 01:38:31 -0000      1.21
  +++ FormTag.java      23 Jun 2002 03:38:12 -0000      1.22
  @@ -872,7 +872,7 @@
           }
   
           // Calculate the required values
  -        name = mapping.getName();
  +        name = mapping.getAttribute();
           scope = mapping.getScope();
           type = formBeanConfig.getType();
   
  
  
  

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

Reply via email to