Martin,
In the Page Source
Wicket.Ajax.get({u: 'someUrl', c: 'theLinkId', e:'click'});
is not present.
Do I Have to include something?
M
On Oct 8, 2012, at 4:48 PM, Martin Grigorov wrote:
> Hi,
>
> I have no time to debug the whole app.
> Check for JavaScript errors.
>
> Also check the produced HTML. Find the <a> tag for the link, get its
> 'id' and search for Wicket.Ajax.get({u: 'someUrl', c: 'theLinkId', e:
> 'click'});
> Check with Firebug/Dev tools that and Ajax call is fired when you click.
>
> On Mon, Oct 8, 2012 at 5:40 PM, Marco Di Sabatino Di Diodoro
> <[email protected]> wrote:
>>
>> On Oct 8, 2012, at 4:31 PM, Martin Grigorov wrote:
>>
>>> Hi,
>>>
>>> The code looks OK.
>>> What exactly doesn't work ?
>>
>> When I click on the link does nothing. All Links into the console not work.
>> Here you can find source code from console (
>> http://svn.apache.org/viewvc/incubator/syncope/trunk/console/ )
>>
>>>
>>> On Mon, Oct 8, 2012 at 5:06 PM, Marco Di Sabatino Di Diodoro
>>> <[email protected]> wrote:
>>>> Hi
>>>>
>>>> I'm upgrading Apache Syncope console from Wicket 1.5.8 to wicket 6.x. All
>>>> AjaxLinks from the console not work.
>>>>
>>>> final AjaxLink createLink = new IndicatingAjaxLink("createLink") {
>>>>
>>>> private static final long serialVersionUID =
>>>> -7978723352517770644L;
>>>>
>>>> @Override
>>>> public void onClick(final AjaxRequestTarget target) {
>>>> editModalWin.setPageCreator(new ModalWindow.PageCreator() {
>>>>
>>>> private static final long serialVersionUID =
>>>> -7834632442532690940L;
>>>>
>>>> @Override
>>>> public Page createPage() {
>>>> return new
>>>> EditUserModalPage(Users.this.getPageReference(), editModalWin, new
>>>> UserTO());
>>>> }
>>>> });
>>>>
>>>> editModalWin.show(target);
>>>> }
>>>> };
>>>>
>>>> What am I forgetting?
>>>>
>>>> Regards
>>>> Marco
>>>> --
>>>>
>>>> Dott. Marco Di Sabatino Di Diodoro
>>>> Tel. +39 3939065570
>>>>
>>>> Tirasa S.r.l.
>>>> Viale D'Annunzio 267 - 65127 Pescara
>>>> Tel +39 0859116307 / FAX +39 0859111173
>>>> http://www.tirasa.net
>>>>
>>>> Apache Syncope PPMC Member
>>>> http://people.apache.org/~mdisabatino
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Martin Grigorov
>>> jWeekend
>>> Training, Consulting, Development
>>> http://jWeekend.com
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>
>> --
>>
>> Dott. Marco Di Sabatino Di Diodoro
>> Tel. +39 3939065570
>>
>> Tirasa S.r.l.
>> Viale D'Annunzio 267 - 65127 Pescara
>> Tel +39 0859116307 / FAX +39 0859111173
>> http://www.tirasa.net
>>
>> Apache Syncope PPMC Member
>> http://people.apache.org/~mdisabatino
>>
>>
>>
>>
>
>
>
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
--
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570
Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net
Apache Syncope PPMC Member
http://people.apache.org/~mdisabatino