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

Martin Grigorov resolved WICKET-3945.
-------------------------------------

    Resolution: Not A Problem

The "problem" is that your URL uses -1 as page id, and since there is no such 
page with that id Wicket creates a new instance of the page and the component 
which visibility is false is not used. A completely new component is executed.

> BookmarkableListenerInterfaceRequestTarget and component events
> ---------------------------------------------------------------
>
>                 Key: WICKET-3945
>                 URL: https://issues.apache.org/jira/browse/WICKET-3945
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.4.17
>            Reporter: Mikhail Fedko
>            Priority: Critical
>
> Hi,
> why is it possible to invoke links on page mounted with 
> mountBookmarkablePage() using something like 
> "host/bookmarkable?wicket:interface=:-1:myPanel:securedlink::ILinkListener::"
> the securedLink set invisible in onBeforeRender method of a page, but event 
> is processed just before onBeforeRender was called.
> For now I have to hack BookmarkableListenerInterfaceRequestTarget and disable 
> "listenerInterface.invoke(page, component);"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to