Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-813

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.1
    • Framework
    • 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>

      Attachments

        Activity

          People

            Unassigned Unassigned
            lquijano Leonardo Quijano Vincenzi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: