Re: datatables tapestry-jquery refresh

2013-01-31 Thread rosecorp
Thanks Manu, I'll give it a go and write what was a result. -- View this message in context: http://tapestry.1045711.n5.nabble.com/datatables-tapestry-jquery-refresh-tp5719681p5719697.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: datatables tapestry-jquery refresh

2013-01-31 Thread rosecorp
Hi Manu, Sorry I wasn't accurate enough. I Java code I listent to the event: @OnEvent(value = "removeItem") boolean onAd(String id) { service.deleteItem(id); return true; } in tml: <#>

datatables tapestry-jquery refresh

2013-01-30 Thread rosecorp
Guys, I have functionality on place where I remove a record from datatables(server-side support). What's the easiest way to refresh it after deleting a record? Thanks a lot for any suggestions... -- View this message in context: http://tapestry.1045711.n5.nabble.com/datatables-tapestry-jquer

Re: datatable ajax with new column

2013-01-21 Thread rosecorp
Ok Guys, I have fixed it OverrideDataTableModel: /** * methdo returning the desired data */ public JSONObject getResponse(GridDataSource source){ response.put("sEcho", request.getParameter(DataTableConstants.ECHO));

Re: datatable ajax with new column

2013-01-21 Thread rosecorp
Hi Manu, You were partially right I think :). It's true you don't have to override data model, but if you try to ad custom column like you are doing in your example for instance any action button than it fails in default data model throwing null pointer exception. Any suggestions? -- View this

datatable ajax with new column

2013-01-20 Thread rosecorp
Hello All, I am using datatables component in similar way which was presented here: http://tapestry5-jquery.com/other/datatableajaxwithnewcolumn but I am getting sam exception. I have updated datatables to the newest version but it didn't help. Do you know what is causing this problem? Many than

Re: Tapestry-jquery ajax validation

2013-01-20 Thread rosecorp
Hello, do you still have that problem? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-jquery-ajax-validation-tp5718946p5719394.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: Tapestry-jquery ajax validation

2012-12-25 Thread rosecorp
Sure. Js function shoul look like: (function($) { $.fn.configureValidators = function(callbackUrl) { $(this.selector).blur(function() { var field = $(this); if (field && field.val() != "") { $.ajax(

Re: Tapestry-jquery ajax validation

2012-12-24 Thread rosecorp
Guys, it was my mistake I was initializing js function in a wrong way. If anyone will have problems using http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/validators1 in tapestry-jquery manner please let me know or ask question in this topic I will surely help. Thanks, R. -- View

Tapestry-jquery ajax validation

2012-12-23 Thread rosecorp
Hi Guys, is it a correct way to call showValidationMessage method from validation.js from tapestry-jquery? Even if I try to call that method manually in debug mode it dosen't seems to be calling showValidationMessage method. Here is a code how it's done in jquery: (function($) { $.fn.configur

Re: tapestry-jquery accordion height problem

2012-11-29 Thread rosecorp
Hi Emmanuel, Your suggestion is correct, I've updated jquery accordia ui to latest one and that made a trick, Thanks! -- View this message in context: http://tapestry.1045711.n5.nabble.com/tapestry-jquery-accordion-height-problem-tp5718378p5718404.html Sent from the Tapestry - User mailing list

Re: Coercion exception in loop for Map

2012-10-19 Thread rosecorp
I found a solution for future reference. I was using formState in wrong place: -- View this message in context: http://tapestry.1045711.n5.nabble.com/Coercion-exception-in-loop-for-Map-tp5717072p5717073.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Coercion exception in loop for Map

2012-10-19 Thread rosecorp
Hi Guys, I am trying to sort out problem with coercion exception when I send a form using GenericSelectModel but I'm not getting anywhere I'm afraid. Could you give me a hand with that? This is my Java code: private Map> fieldMap; @Property private Filter key; public Set getKeys() {

Re: Preload js after block update

2012-09-21 Thread rosecorp
Hi Thiago, Maybe I wasn't clear in my first post. I will paraphrase my problem. I am using tapestry5-jquery and there is a use case where I load page with 3 different options to choose which are event links and then I handle it in java code to render particular block. The problem is that one of t

Preload js after block update

2012-09-20 Thread rosecorp
Hi Guys, I have a block element in tml which contains other components with heavy js content. Is it possible to pre-load those java script files before zone update? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Preload-js-after-block-update-tp5716410.html Sent from the