Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1564

add some url tag features to the a tag

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.0.3
    • 2.0.3
    • Plugin - Tags
    • None

    Description

      It is cumbersome to use the url tag to create an URL and then use that URL in the a tag. It would be much better if an URL could be created directly in the a tag, for example by providing an action attribute. For our projects, this would be an often-used feature. If there is need for parameters, they could be added as nested tags as well. So basically this tag should inherit all the behavior of the url tag.

      Another option would be to allow the url tag to be nested in the a tag and leave the href attribute of the a tag unspecified. So the URL created by the url tag would be set as the href parameter of the a tag. This would save having to use a variable for the URL.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              villane Erkki Lindpere
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: