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

InlineEditBox needs a listener parameter

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: None
    • Labels:
      None
    • Environment:
      tapestry 4.1.2, java 1.5.0_07, tomcat 5.5.16, osx 10.4.10

      Description

      InlineEditBox doesn't really support a good way to get at the change made, so that a database can be updated with that change, for instance.

      It automatically sends a request with the change to the server app, but there is no hook on this call, and no way to add additional parameters required to determine what needs to change.

      You can add an eventListener, but you need to do a bunch of (hacky type) work to get the change information submitted, and this means that two (or 3 if you submit a second form) requests are sent to the server on each change.

      There is more information in this thread on the mailing list:

      http://www.nabble.com/InlineEditBox-questions-tf4106862.html

        Attachments

          Activity

            People

            • Assignee:
              jkuhnert Jesse Kuhnert
              Reporter:
              woodj Julian Wood
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: