Re: Tapestry Grid Paging

2016-03-23 Thread john c
che/tapestry5/corelib/components/GridPager.html > > > > On 23/03/16 15:34, john c wrote: >> We have a big form which does a tonne of data loading from databases >> and legacy systems. Now we want to add this small grid at the top >> with paging. Clicking a paging butto

Re: Tapestry Grid Paging

2016-03-23 Thread john c
We have a big form which does a tonne of data loading from databases and legacy systems. Now we want to add this small grid at the top with paging. Clicking a paging button will trigger a page refresh and the whole form to reload the data again in addition to the grid data.  Obviously we don't w

Tapestry Grid Paging

2016-03-22 Thread john c
I have added rowsPerPage to add paging to a Tapestry Grid (that has a surrounding zone). When paging buttons are pressed it hits setupRender(). Is there a flag we can check to tell that a paging button was just clicked?  Second, can it call a separate Tapestry event instead of it calling setupRe

Re: Upgrading to 5.4 Beta 28

2015-03-30 Thread john c
This seems to work for me, and then selecting option 25: mvn archetype:generate -DarchetypeCatalog=https://repository.apache.org/content/repositories/staging From: Chris Mylonas To: john c ; Tapestry users Sent: Monday, 30 March 2015, 17:25 Subject: Re: Upgrading to 5.4 Beta 28 In

Re: Upgrading to 5.4 Beta 28

2015-03-30 Thread john c
I meant to write Quickstart, not Jumpstart. Is there an archetype for 5.4 Quickstart ? I just want to get a basic 5.4 build working to start. From: Chris Mylonas To: john c ; Tapestry users Sent: Monday, 30 March 2015, 17:25 Subject: Re: Upgrading to 5.4 Beta 28 In the pom.xml

Upgrading to 5.4 Beta 28

2015-03-30 Thread john c
I am attempting to switch to Tapestry 5.4 Beta 28, with the Jumpstart app. I modified the release version in pom.xml like below. 5.4-beta-28 After I running mvn clean install I get this error.    Have I missed something?? Thanks. org.apache.maven.lifecycle.LifecycleExecutionException: Failed to e

Re: How to Declare JSONObject function ?

2014-03-21 Thread john c
script function being called. I was hoping to see the alert box on start drag. Any ideas? On Friday, 21 March 2014 4:19 AM, Boris Horvat wrote: Fir me the solution was to use ut without jsonliterl, just put the name of the fuction without brackets On 21 Mar 2014 04:31, "john c" wrot

Re: How to Declare JSONObject function ?

2014-03-20 Thread john c
ecommended anyway. Create this function in some .js file which you  include in your page or component then pass options.put("start", new  JSONLiteral("nameOfTheFunction")); On Thu, 20 Mar 2014 10:15:05 -0300, john c wrote: > With you can specify the JSONObject params like

How to Declare JSONObject function ?

2014-03-20 Thread john c
With you can specify the JSONObject params like so: t:params="params" In Java I have code like this (snippet): public JSONObject getParams() { JSONObject options = new JSONObject(); .. .. options.put("start", "function() {$(this).hide();}"); return options; } This "start" option does no

Re: JQuery Datatable Bind Mixin

2013-09-10 Thread john c
Is there a link to some documentation or sample somewhere? From: Barry Books To: Tapestry users ; john c Sent: Monday, 9 September 2013 7:05 PM Subject: Re: JQuery Datatable Bind Mixin See the element parameter. It takes a jQuery selector On Mon, Sep 9

Re: JQuery Datatable Bind Mixin

2013-09-09 Thread john c
One more question with this jquery/bind mixin How can I make it apply for the tbody only?   Only the rows?   I don't want the event to be fired when clicking on a column name. It is interfering  with the sorting.    Thanks.      ...

Re: JQuery Datatable Bind Mixin

2013-09-04 Thread john c
ed, 04 Sep 2013 02:24:45 -0300, john c wrote: > bind.callback="function(event,ui,u) {u.addContext(${currRow.fileID}); > bind.callback="function(event,ui,u) {u.addContext(currRow.fileID); > > But it doesn't work. currRow is Null. That's the expected result. You&

Re: JQuery Datatable Bind Mixin

2013-09-03 Thread john c
s. ____ From: Barry Books To: Tapestry users ; john c Sent: Friday, 30 August 2013 4:15 PM Subject: Re: JQuery Datatable Bind Mixin The callback is javascript. The bind mixin has no way of know what value you would like to pass back so the callback gets the

Re: JQuery Datatable Bind Mixin

2013-08-30 Thread john c
{curRow.fileID} as parameter to bind.context > > Sent from my iPhone > > On 30-Aug-2013, at 3:26 AM, john c wrote: > > > I am attempting to use the jquery/bind mixin with a datatable, but not > having success. > > The relevant code is below. Basically I want to click a row

JQuery Datatable Bind Mixin

2013-08-29 Thread john c
I am attempting to use the jquery/bind mixin with a datatable, but not having success. The relevant code is below. Basically I want to click a row and have it create a tapestry event, with the fileID. I have tested and found the event occurs, but I can't seem to pass the fileID context. Any idea