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

Problem with InlineEditBox on persisted page property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.1
    • 4.1.2
    • XHR/dhtml/Ajax
    • None

    Description

      I am using the component InlineEditBox, in Tapestry
      4.1.2 snapshot (dated 20 Dec 06),
      to edit a persisted (with session scope) property
      called description on page TestInlineEditBox.
      I have noticed the changes done to the property
      description is
      lost if I leave the page TestInlineEditBox and come
      back to it later.
      As the property description is persisted with scope
      session,
      In debug mode, I discovered that component.destroy (in InlineEditBox.script) is false.
      Consequently,
      dojo.event.connectOnce(${box}, "onSave",
      function(newValue, oldValue){
      tapestry.bind("${component.updateUrl}",
      {"${component.clientId}":newValue}, true);

      is not rendered.

      Attachments

        1. TestInlineEditBox.html
          0.7 kB
          Shing Hing Man
        2. TestInlineEditBox.java
          0.6 kB
          Shing Hing Man
        3. TestInlineEditBox.page
          0.2 kB
          Shing Hing Man

        Activity

          People

            jkuhnert Jesse Kuhnert
            matmsh Shing Hing Man
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: