You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2009/02/09 17:26:59 UTC

[jira] Updated: (WICKET-2090) Need reliable hook for storing/restoring data to/from page metadata that is tes compatbile

     [ https://issues.apache.org/jira/browse/WICKET-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg updated WICKET-2090:
----------------------------------

    Attachment: wicket-2090.txt

lets try this simple patch first. seam can provide its own webrequestcycle subclass and attach any metadata in requestcycle.onrequesttargetset(target). there you can check if target is instance of IPageRequestTarget and retrieve the page.

> Need reliable hook for storing/restoring data to/from page metadata that is tes compatbile
> ------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2090
>                 URL: https://issues.apache.org/jira/browse/WICKET-2090
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.5, 1.4-RC1
>            Reporter: Clint Popetz
>         Attachments: wicket-2090.txt
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.