Tapestry
  1. Tapestry
  2. TAPESTRY-813

Provide a global clientId for all components, not only forms related ones

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: Framework
    • Labels:
      None

      Description

      Currently only form components support a "clientId" property that allow client-side scripting to attach to a single HTML ID, like this:

      <input id="ognl:components.someComponent.clientId" jwcid="someComponent@TextField" ... />

      This support could be refactored to support non-form components, like @Any, to allow them to be used in client-side Javascript:

      <span id="ognl:components.someComponent.clientId" jwcid="someComponent@Any" />
      </span>

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Leonardo Quijano Vincenzi
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development