Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3393

JSP 2 different tags called with same tag instance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 8.1.0.CR2
    • Web (Undertow)
    • None

      When working with JSP tags on struts i can see that sometimes 2 diffrent tags with same type is called with the same instance.
      Example:
      JSP
      <jcv:text id="email" maxlength="255" property="valueObject.Email"/>
      <br>
      <jcv:text id="phone" maxlength="255" property="valueObject.Phone"/>

      TLD
      <tag>
      <name>text</name>
      <tagclass>tti.jcore.views.form.tag.JViewsTextTag</tagclass>
      ...
      </tag>

      I can see that the public int doStartTag() called for both with the same instance.

        1. struts.zip
          1024 kB
        2. test.war
          1.61 MB
        3. Test2.war
          1.64 MB

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              roim_jira roy mizrachi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: