Tapestry
  1. Tapestry
  2. TAPESTRY-263

Add an element parameter to the Insert component

    Details

    • Type: Wish Wish
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: unspecified
    • Fix Version/s: 4.1.1
    • Component/s: Framework
    • Labels:
      None

      Description

      It would be nice if the Insert component had a parameter to specify an HTML tag for wrapping the output.

      Examples:

      <span jwcid="@Insert" value="test" element="strong">
      would render: <strong>test</strong>

      <span jwcid="@Insert" value="test" element="strong" class="test">
      would render: <strong class="test">test</strong>

      <span jwcid="@Insert" value="ognl:null" element="strong" class="test">
      would render nothing

      <span jwcid="@Insert" value="test">
      would render: test

      1. insert.patch
        2 kB
        Markus Wiederkehr

        Activity

        Markus Wiederkehr created issue -
        Markus Wiederkehr made changes -
        Field Original Value New Value
        Attachment insert.patch [ 18854 ]
        Jesse Kuhnert made changes -
        Fix Version/s 4.1.1 [ 12312021 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Assignee Jesse Kuhnert [ jkuhnert ]
        Mark Thomas made changes -
        Workflow jira [ 39915 ] Default workflow, editable Closed status [ 12566973 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566973 ] jira [ 12589731 ]

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Markus Wiederkehr
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development