Struts 2
  1. Struts 2
  2. WW-3212

Improve (create) DynamicAttributes documentation

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Not a Problem
    • Affects Version/s: 2.1.8
    • Fix Version/s: 2.0.15, 2.1.8
    • Component/s: Documentation
    • Labels:
      None
    • Environment:

      Freemarker

      Description

      I wanted to pass a couple custom attibutes in a s.form tag (for facebook), and figured I could use the dynamicAttributes but I couldn't find any documentation with examples of how to do so.

      The form tag docs (http://struts.apache.org/2.x/docs/form.html) have a big section that says "Dynamic Attributes Allowed: true", but w/o further explanation. Perhaps it could link to a how to?

      Thanks.

        Issue Links

          Activity

          Hide
          Jasper Rosenberg added a comment -

          Ah, thanks.

          Show
          Jasper Rosenberg added a comment - Ah, thanks.
          Hide
          zhouyanming added a comment -

          It's doesn't supported by freemarker tags

          https://issues.apache.org/struts/browse/WW-3174

          Show
          zhouyanming added a comment - It's doesn't supported by freemarker tags https://issues.apache.org/struts/browse/WW-3174
          Hide
          Jasper Rosenberg added a comment -

          Also, if it is supported in Freemarker, I don't think an example of what it would look like would be such a bad idea...

          Show
          Jasper Rosenberg added a comment - Also, if it is supported in Freemarker, I don't think an example of what it would look like would be such a bad idea...
          Hide
          Jasper Rosenberg added a comment -

          Ah, is it supported by the freemarker tags? Thanks!

          Show
          Jasper Rosenberg added a comment - Ah, is it supported by the freemarker tags? Thanks!
          Hide
          Dave Newton added a comment -

          Meh-that's a standard tag lib thing; personally I'm not really keen on putting JEE stuff in the S2 docs.

          Show
          Dave Newton added a comment - Meh-that's a standard tag lib thing; personally I'm not really keen on putting JEE stuff in the S2 docs.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jasper Rosenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development