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

Autogenerated html ID bases on unevaluated value of the name/action/method attributes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.2.0
    • Core
    • None

    Description

      Using tag like this

      <s:set var="mainAction">entryEdit</s:set>
      
      <s:submit value="%{getText('weblogEdit.save')}"
          action="%{#mainAction}!saveDraft" />
      

      renders:

      <input type="submit" 
          value="Save as Draft" 
          id="entry____mainAction__saveDraft" 
          name="action:entryAdd!saveDraft">
      

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              lukaszlenart Lukasz Lenart
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m