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

Duplicate id and updateComponents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1, 4.1.1
    • 4.1.1
    • Framework, Web
    • None
    • Win XP, tomcat 5.5.17

    Description

      Got a problem with duplicate id's :

      <a jwcid="@DirectLink"
      listener="listener:setAvailable"
      id="ognl:currentHour.id"
      updateComponents="ognl:

      {'calendar'}

      "
      async="ognl:true"
      parameters="ognl:currentHour"
      class="setavailable">
      </a>

      When Tapestry render the HTML there are 2 id's in the code, and this gives the async update a javascript error.

      Want to make my own id because, the link will not be a link after the async update, and if I let Tapestry generate the id's, then the DirectLink id's will not be the same as before the update. And the AJAX/DOJO javascript is not updated, so the next time I click on a Link it will not be async.

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            fmj Frank Jørgensen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: