Hello all,

I'm trying to kind of embed a wicket app into another web page, meaning
that the wicket pages are included as part of the other web page. All
submits, links, buttons in the wicket pages are realised using wicket's
ajax features.

Unfortunately, the wicketSubmitFormById call in an Ajax form submit is
using a relative URL, like in the following example:

<input id="compose74" type="submit" value="Submit" name="compose"
onclick="wicketShow('compose74--ajax-indicator');var
wcall=wicketSubmitFormById('form77',
'?wicket:interface=:8:contentDiv:contentPanel:form:compose::IActivePageBehaviorListener:0:-1&amp;wicket:ignoreIfNotActive=true',
'compose' ,function() {
;wicketHide('compose74--ajax-indicator');}.bind(this),function() {
;wicketHide('compose74--ajax-indicator');}.bind(this), function()
{return Wicket.$$(this)&amp;&amp;Wicket.$$('form77')}.bind(this));;;
return false;">

This call fails of course if the wicket page is "embedded" into the
other web page. So, my question would be: is there a way to tell wicket
to use an absolute URL in this call to wicketSubmitFormById?

Thanks in advance,
Philip

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to