You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Altuğ Bilgin Altıntaş <al...@gmail.com> on 2010/09/30 15:21:02 UTC

Modal window and Ajax exception

 Hi;

I have Webmarkupcontainer which includes ListView and I am using jquery
Table Sorter.

When i open a update modal window and close model window and refresh table
via Ajax i got :

Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript:
[object Error]
*INFO: *Response processed successfully.

And all jqıery table sorter's features gone

My wicket version : 1.4.9

I've read https://issues.apache.org/jira/browse/WICKET-2663 but it says it
is fixed since 1.4.7

Any idea ?

Thanks.

Re: Modal window and Ajax exception

Posted by Altuğ Bilgin Altıntaş <al...@gmail.com>.
Found the answer :

previously i only ajax update table like this which gives javascript error
with  jquery TableSorter

<table wicket:id="tableContainer">
  <tr wicket:id=rows>
    <td>....</td>
    <td>....</td>
  </tr>
</table>

Now I ajax update more wide area like this :

<div wicket:id="pageContainer">
<table wicket:id="tableContainer">
  <tr wicket:id=rows>
    <td>....</td>
    <td>....</td>
  </tr>
</table>
</div>

--> target.addComponent(pageContainer);

And it works without Javascript error

Altuğ.


2010/9/30 Igor Vaynberg <ig...@gmail.com>

> it may be that jquery is screwing things up. try without it first.
>
> -igor
>
> 2010/9/30 Altuğ Bilgin Altıntaş <al...@gmail.com>:
> >  Hi;
> >
> > I have Webmarkupcontainer which includes ListView and I am using jquery
> > Table Sorter.
> >
> > When i open a update modal window and close model window and refresh
> table
> > via Ajax i got :
> >
> > Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript:
> > [object Error]
> > *INFO: *Response processed successfully.
> >
> > And all jqıery table sorter's features gone
> >
> > My wicket version : 1.4.9
> >
> > I've read https://issues.apache.org/jira/browse/WICKET-2663 but it says
> it
> > is fixed since 1.4.7
> >
> > Any idea ?
> >
> > Thanks.
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Modal window and Ajax exception

Posted by Igor Vaynberg <ig...@gmail.com>.
it may be that jquery is screwing things up. try without it first.

-igor

2010/9/30 Altuğ Bilgin Altıntaş <al...@gmail.com>:
>  Hi;
>
> I have Webmarkupcontainer which includes ListView and I am using jquery
> Table Sorter.
>
> When i open a update modal window and close model window and refresh table
> via Ajax i got :
>
> Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript:
> [object Error]
> *INFO: *Response processed successfully.
>
> And all jqıery table sorter's features gone
>
> My wicket version : 1.4.9
>
> I've read https://issues.apache.org/jira/browse/WICKET-2663 but it says it
> is fixed since 1.4.7
>
> Any idea ?
>
> Thanks.
>

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