FYI

http://www.nabble.com/Wicket-Beta4-and-Ajax-Links-tf4616750.html



On 10/24/07, marcus dickerhof <[EMAIL PROTECTED]> wrote:
>
> Sorry I forgot to send some additional infos:
> I use Wicket 1.3 Beta 4
> The code looks like this
>
> Radio r = new Radio("radioCompany", new Model( company.getCompanyid() ));
> r.add(new AjaxEventBehavior("onclick"){
>
> protected void onEvent(AjaxRequestTarget target) {
>    final PartnerBasePage myPage = (PartnerBasePage)getPage();
>     myPage.companyInfo.modelChanging();
>     myPage.companyInfo.setCompany(company);
>     target.addComponent(myPage.companyInfo);
>     myPage.selectedPartner = company.getCompanyid();
>     myPage.companyInfo.modelChanged();
> }
>
> });
>
>
> Thanks!
> Marcus
>
>
>
>
>
>
> 2007/10/24, marcus dickerhof <[EMAIL PROTECTED]>:
> >
> > Hi, my webapp works fine as long as I do not obfuscate the urls using
> > CryptedUrlWebRequestCodingStrategy.
> > When I use it, Ajax will not work. For instance when I want to update a
> > panel on my page,
> > the Ajax Response XML will be displayed instead
> >
> > <?xml version="1.0" encoding="UTF-8" ?>
> > - <ajax-response>
> > + <component id="companyinfo38">
> > - <![CDATA[
> > <span wicket:id="companyinfo" id="companyinfo38">
> > ...
> > ]]>
> > </component>
> > </ajax-response>
> >
> > What am I doing wrong? Is this a bug?
> >
> > Thanks a lot in advance
> > Marcus
> >
>

Reply via email to