Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2090

Need reliable hook for storing/restoring data to/from page metadata that is tes compatbile

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.5, 1.4-RC1
    • Fix Version/s: 1.3.6, 1.4-RC3
    • Component/s: wicket
    • Labels:
      None

      Description

      Requesting a hook to reliable store/restore data to/from page metadata before/after requests that works with WicketTester. Currently I'm using WebRequestCycleProcessor.resolve() and and respond(), but BaseWicketTester.clickLink() doesn't run processRequestCycle before executing the onClick() handler, so this doesnt' work for testing ajax components.

      Original post: http://www.nabble.com/Proper-hook-for-conversational-state-that-also-works-with-tests-td21876375.html

        Attachments

        1. wicket-2090.txt
          0.7 kB
          Igor Vaynberg
        2. wicket-2090-2.txt
          4 kB
          Igor Vaynberg

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              cpopetz Clint Popetz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: