Hi all,

I have a wizard upon which resides a third party js control.  This control
needs a callbackUrl to contact me at.  I did this find within a page by
using an AbstractAjaxBehavior and the following line:

callbackUrl =
RequestUtils.toAbsolutePath(RequestCycle.get().getRequest().getRelativePathPrefixToWicketHandler())
+ behavior.getCallbackUrl().toString();

But when I take the same panel that this works with out of my tesyt page and
put it into a WizardStep, it blows up with:

Caused by: 
java.lang.IllegalStateException: No Page found for component
[MarkupContainer [Component id = enote_types]]
        at org.apache.wicket.Component.getPage(Component.java:1756)
        at org.apache.wicket.RequestCycle.urlFor(RequestCycle.java:872)
        at org.apache.wicket.Component.urlFor(Component.java:3290)
        at
org.apache.wicket.behavior.AbstractAjaxBehavior.getCallbackUrl(AbstractAjaxBehavior.java:124)
        at
org.apache.wicket.behavior.AbstractAjaxBehavior.getCallbackUrl(AbstractAjaxBehavior.java:93)





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wizard-extension-and-callbackUrl-tp4657084.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to