Referencing files from a jar

2012-11-28 Thread mwrohde
All - I'm new to Tapestry, so please forgive my ignorance. We're writing an application using Tapestry 5.3.6. We would like to package customized components such as buttons, date pickers, and tables in a components jar. This jar will contain the class files, and associated css, js, and image fi

Re: Referencing files from a jar

2012-11-28 Thread mwrohde
Ok, thanks for the replies so far. In the tml I've got: <${classpath:/com/navicure/ui/components/images/exit2.png}> When I attempt to render the page in the browser I get: Could not convert 'classpath:/com/navicure/ui/components/images/exit2.png' into a component parameter binding: Error parsing

Re: Referencing files from a jar

2012-11-28 Thread mwrohde
I've tried asset: before, without luck. But, at your urging I've played with it some more and have at least one image working, which means I can probably get the rest going to. For anyone else that stumbles across this here's what I've got in my tml now: <${asset:/images/exit2.png}> For reasons

Re: [ANN] JumpStart gets jQuery DataTables example

2013-01-21 Thread mwrohde
Emmanuel DEMEY wrote > . . . . > But you can also use the ajax mode, and when the user will change the > displayed page, send an ajax request, and update the datatable with the > next set of datas. > . . . . I am having a devil of a time getting this to work. I'm attaching probably too much code

Re: [ANN] JumpStart gets jQuery DataTables example

2013-01-22 Thread mwrohde
Thank you for the reply. I've looked at the first one extensively, and stolen . . . . er, borrowed . . . . code from it. I think the second one may be the magic I'm looking for, though. I'll try to implement something like it in my environment today. Thanks again. I'll let you know how it goes

Re: [ANN] JumpStart gets jQuery DataTables example

2013-01-22 Thread mwrohde
It's not working at all and I'm getting close to running screaming from the building. Following is more code. It is the current state of affairs. With the code as displayed I get this error: > Failure reading parameter 'model' of component > misc/DataTableDemo:datatable: Unable to determine the

Re: [ANN] JumpStart gets jQuery DataTables example

2013-01-22 Thread mwrohde
Ok, I got it working and my sanity is returning. I'm not sure I've done it the best way and I welcome any comments. My previous suppositions were on the right track. Tapestry wasn't getting the correct GridDataSource. In fact, it wasn't finding one at all, so was using NullGridDataSource. In t

Re: [ANN] JumpStart gets jQuery DataTables example

2013-01-23 Thread mwrohde
Geoff Callender-2 wrote > setupRender() doesn't get called in an AJAX request. I very much appreciate all the help (from everyone). However, just for feedback, it is definately calling setupRender(). I've got logging statements in each method and that one is getting called. I'm going to install

Jquery Datatable ajax'd sort reverses

2013-01-23 Thread mwrohde
I've been struggling with the jquery datatable. I've been on this thread with some server side pagination and sorting: http://tapestry.1045711.n5.nabble.com/ANN-JumpStart-gets-jQuery-DataTables-example-td5715816.html

RE: Jquery Datatable ajax'd sort reverses

2013-01-23 Thread mwrohde
Excellent. Thank you. Do you happen to know a timeline? Or, a workaround? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Jquery-Datatable-ajax-d-sort-reverses-tp5719457p5719459.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: [ANN] JumpStart gets jQuery DataTables example

2013-01-24 Thread mwrohde
I'll help you any way that I can. I'll give you my code if you want. I was just double checking to see what conditions called that method. Oddly, it's not when that page is rendered. My app has a page with links to several other pages. One of those links is to the page with the jquery datatabl

Re: [ANN] JumpStart gets jQuery DataTables example

2013-01-24 Thread mwrohde
Now that I've written that I can't prove it. I'm having some buffering/timing issues in my log. I'll do a little more analysis and let you know. -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-JumpStart-gets-jQuery-DataTables-example-tp5715816p5719491.html Sent from

Re: [ANN] JumpStart gets jQuery DataTables example

2013-01-24 Thread mwrohde
It does call setupRender(). Only once, and only when the page with the data table is displayed. Let me know if you would like my code. -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-JumpStart-gets-jQuery-DataTables-example-tp5715816p5719498.html Sent from the Tapes