Warning: Unresponsive script - core.js (regarding datatables)

2013-11-08 Thread lidijaldo .
I'm using datatables. If I deploy my web application on a server in our network, I'm getting Warning: Unresponsive script alert in firefox. It takes ages to load datatable with a single record. Everything else loads fine, except for the table. The whole javascript warning is: A script on this

Re: Simply refresh a zone after datatable record edit - not so simple?

2013-11-04 Thread lidijaldo .
Each of the row in my datatable represents an object with an image that should be displayed in a zone. The zone should refresh after each row change because the image for that object can be changed. What I did was simply refresh the whole page with JavaScript after the row was successfully edited

Re: Simply refresh a zone after datatable record edit - not so simple?

2013-11-03 Thread lidijaldo .
On Wed, Oct 30, 2013 at 4:43 PM, Thiago H de Paula Figueiredo thiag...@gmail.com wrote: On Wed, 30 Oct 2013 11:49:33 -0200, lidijaldo . lidija@gmail.com wrote: @OnEvent(component = DATATABLE_ID, value = EVENT_EDITOR_EDIT) public Object edit(@RequestParameter(action) String action

Simply refresh a zone after datatable record edit - not so simple?

2013-10-30 Thread lidijaldo .
I thought this should be simple but I can't seem to find the solution. I have a datatable displayed on my page. After I successfully edit some row, I would like to refresh a zone on my page. This is the relevant part of my .tml file, let's say I'm trying to refresh current time after I edited a

Re: Simply refresh a zone after datatable record edit - not so simple?

2013-10-30 Thread lidijaldo .
. On Wed, Oct 30, 2013 at 5:49 PM, lidijaldo . lidija@gmail.com wrote: I thought this should be simple but I can't seem to find the solution. I have a datatable displayed on my page. After I successfully edit some row, I would like to refresh a zone on my page. This is the relevant

Re: Datatables warning when using t:if test....

2013-10-24 Thread lidijaldo .
I tried importJavaScriptLibrary and it is really done dynamically. I did what you proposed: @Inject @Path(context:js/jquery-ui-1.8.19.custom.min.js) protected Asset jqueryUi; @Inject @Path(context:js/TableTools.js) protected Asset tableTools; @Inject @Path(context:js/dataTables.editor.min.js)

Re: Datatables warning when using t:if test....

2013-10-24 Thread lidijaldo .
Will keep that in mind, thanks! Regards, Lidija On Thu, Oct 24, 2013 at 5:46 PM, Lance Java lance.j...@googlemail.comwrote: Note that @Import can also be placed on render methods (eg setupRender) instead of annotating at the class level. If used on a render method, the import will only

Re: Datatables warning when using t:if test....

2013-10-23 Thread lidijaldo .
:29 AM, lidijaldo . lidija@gmail.com wrote: Hi, I stumbled upon the next warning a couple of times already and I still don't understand why I'm getting it. In our tapestry application we're using jquery datatables and it works ok. But in some cases the application starts giving me

Datatables warning when using t:if test....

2013-10-22 Thread lidijaldo .
Hi, I stumbled upon the next warning a couple of times already and I still don't understand why I'm getting it. In our tapestry application we're using jquery datatables and it works ok. But in some cases the application starts giving me a javascript alert: *Warning: TableTools 2 requires