confused with Page ContextType and onActivate with StreamResponse

2012-08-28 Thread jqzone
Some code like this Page class public class SearchUser{ @ActivationRequestParameter(value="filer") private String filter; @Inject private IStaffService staffService; private String staffId; protected void onActivate(String staffId){ this.staffId = staffId; } StreamResponse onActivat

Re: Request Filter not called if declared with addInstance (vs add)

2012-08-28 Thread DenisGL
Sorry, I was mistaken: lit does note work when I use: filters.addInstance("myRequestFilter", MyRequestFilter.class, "after:CheckForUpdates") -- View this message in context: http://tapestry.1045711.n5.nabble.com/Request-Filter-not-called-if-declared-with-addInstance-vs-add-tp5715859p5715863.

grid in zone gets pre-selected value from select component

2012-08-28 Thread jupraman
Hello, Fairly new to Tapestry. Using version 5.3.4. I'm having a strange (to me anyway) behavior using a select component to update a grid via ajax. The grid is updated just fine except that my index.java class reads the previous value from the select component, not the one I just selected. In my

Request Filter not called if declared with addInstance (vs add)

2012-08-28 Thread DenisGL
I've tried to add a Request Filter (T 5.3.4) In my module, I've added this : and my filter is: But my filter is not called (I see not log). However, if I declare my filter with : filters.add("myRequestFilter", new MyRequestFilter(log), "after:CheckForUpdates"); it works ! So, what

Re: Global Configuration/Logging/Properties files locations

2012-08-28 Thread Thiago H de Paula Figueiredo
On Tue, 28 Aug 2012 17:26:36 -0300, George Christman wrote: Sorry Thiago, one last thing. Is there away to use the Messages service with the contributeApplicationDefaults in AppModule.class? I don't think so. Messages isn't a service. -- Thiago H. de Paula Figueiredo

Re: Global Configuration/Logging/Properties files locations

2012-08-28 Thread George Christman
Sorry Thiago, one last thing. Is there away to use the Messages service with the contributeApplicationDefaults in AppModule.class? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Global-Configuration-Logging-Properties-files-locations-tp3394564p5715857.html Sent from the

Re: Flash file upload

2012-08-28 Thread Ray Nicholus
+1 ;-) On Tue, Aug 28, 2012 at 9:23 AM, Lance Java wrote: > Taha has blogged about integrating valums/file-uploader with tapestry > > http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ > https://github.com/valums/file-uploader > > > > -- > View this message in context: > http://tapest

Re: Tapestry 5.3.4-rc-7

2012-08-28 Thread Howard Lewis Ship
On Tue, Aug 28, 2012 at 9:23 AM, Blower, Andy wrote: > I've just tried the YUIcompressor 2.4.7 module from the T5.3.5 candidate and > I am having issues with it too. It seems to be inserting the string "get" > after closing curly braces which causes syntax errors when the browser parses > the J

RE: Tapestry 5.3.4-rc-7

2012-08-28 Thread Blower, Andy
I've just tried the YUIcompressor 2.4.7 module from the T5.3.5 candidate and I am having issues with it too. It seems to be inserting the string "get" after closing curly braces which causes syntax errors when the browser parses the JS. Is this the issue you were seeing? -Original Message--

Re: Global Configuration/Logging/Properties files locations

2012-08-28 Thread George Christman
Thanks Thiago, worked perfectly. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Global-Configuration-Logging-Properties-files-locations-tp3394564p5715853.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Global Configuration/Logging/Properties files locations

2012-08-28 Thread Thiago H de Paula Figueiredo
On Tue, 28 Aug 2012 11:58:08 -0300, George Christman wrote: Thanks Thiago, how do you make the app.properties available to your java classes? In page classes, components and mixins, just @Inject Messages and use its get() method. Another option is to use he same way you can read files fro

Re: Global Configuration/Logging/Properties files locations

2012-08-28 Thread George Christman
Thanks Thiago, how do you make the app.properties available to your java classes? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Global-Configuration-Logging-Properties-files-locations-tp3394564p5715851.html Sent from the Tapestry - User mailing list archive at Nabble.co

Re: Global Configuration/Logging/Properties files locations

2012-08-28 Thread Thiago H de Paula Figueiredo
On Tue, 28 Aug 2012 11:29:57 -0300, George Christman wrote: I have a question in regards to this topic. I have global settings, ie email settings such as from address etc. My boss, "non tapestry user" wanted me to put them in the web-inf/app.properties folder. I'm not sure this is the c

Re: [ANN] JumpStart gets jQuery DataTables example

2012-08-28 Thread George Christman
Hi Emmanuel, I guess I'm a bit confused on how to implement the backend. Example, ajax to fetch page 1 results, then ajax to fetch page 2 results, or any searches. I'm assuming my understanding is correct? Thanks Emmanuel. -- View this message in context: http://tapestry.1045711.n5.nabble.com/A

Re: [ANN] JumpStart gets jQuery DataTables example

2012-08-28 Thread Emmanuel DEMEY
Normally, you just need to set the mode parameter to true. But I will very happy to send a sample to Geoff. 2012/8/28 George Christman > Very cool Geoff! Any chance at some point in time you could possibly create > an example of this table using ajax? Thanks a lot for your hard work. > > > > --

Re: Global Configuration/Logging/Properties files locations

2012-08-28 Thread George Christman
I have a question in regards to this topic. I have global settings, ie email settings such as from address etc. My boss, "non tapestry user" wanted me to put them in the web-inf/app.properties folder. I'm not sure this is the correct spot for them since I thought it was used for tapestry messaging.

Re: [ANN] JumpStart gets jQuery DataTables example

2012-08-28 Thread George Christman
Very cool Geoff! Any chance at some point in time you could possibly create an example of this table using ajax? Thanks a lot for your hard work. -- View this message in context: http://tapestry.1045711.n5.nabble.com/ANN-JumpStart-gets-jQuery-DataTables-example-tp5715816p5715846.html Sent from

Re: Flash file upload

2012-08-28 Thread Lance Java
Taha has blogged about integrating valums/file-uploader with tapestry http://tawus.wordpress.com/2011/06/25/ajax-upload-for-tapestry/ https://github.com/valums/file-uploader -- View this message in context: http://tapestry.1045711.n5.nabble.com/Flash-file-upload-tp5715839p5715845.html Sent fro

Re: When to use SetupRender and PageAttached methods

2012-08-28 Thread Thiago H de Paula Figueiredo
On Tue, 28 Aug 2012 09:13:24 -0300, Athneria, Mahendra wrote: Hi Thiago H. de Paula Figueiredo, Hi! I got it that PageAttached is something that made sense when Tapestry pooled page instance. But my doubt is why it is getting called when I write @PageAttahced in components? Probably

RE: When to use SetupRender and PageAttached methods

2012-08-28 Thread Athneria, Mahendra
Hi Thiago H. de Paula Figueiredo, I got it that PageAttached is something that made sense when Tapestry pooled page instance. But my doubt is why it is getting called when I write @PageAttahced in components? Regards, Mahendra -Original Message- From: Thiago H de Paula Figueiredo [mail

Re: When to use SetupRender and PageAttached methods

2012-08-28 Thread Thiago H de Paula Figueiredo
On Tue, 28 Aug 2012 06:48:18 -0300, Athneria, Mahendra wrote: Hi, Hi! I am confused about when to use SetupRender and PageAttached methods. I know that PageAttached methods comes in Page Lifecycle and SetupRender methods comes in Component rendering phase cycle. PageAttached is somet

Re: [ANN] JumpStart gets jQuery DataTables example

2012-08-28 Thread Chris Mylonas
It is a bloody good software project!! Kudos to all involved On 28/08/2012, at 7:55 PM, Emmanuel DEMEY wrote: > Hi, > > Thanks a lot Geoff !! > > It seems Tapestry5-jQuery is becoming more popular ! > > Manu > > 2012/8/28 Geoff Callender > >> Thanks Bob. >> >> On 27/08/2012, at 8:52 PM, Bo

Flash file upload

2012-08-28 Thread Amr Mohamed Mahmoud Hassanien
Hello Guys, Have anyone tried Flash upload with Tapestry 5.1? Thanks, Amr

Re: When to use SetupRender and PageAttached methods

2012-08-28 Thread Lance Java
A page is a (specialized) component so it has all of the component rendering events. I've never used @PageAttached in a component but I'm assuming that tapestry is giving you access to the containing Page's lifecycle events. -- View this message in context: http://tapestry.1045711.n5.nabble.com

Re: [ANN] JumpStart gets jQuery DataTables example

2012-08-28 Thread Emmanuel DEMEY
Hi, Thanks a lot Geoff !! It seems Tapestry5-jQuery is becoming more popular ! Manu 2012/8/28 Geoff Callender > Thanks Bob. > > On 27/08/2012, at 8:52 PM, Bob Harner wrote: > > > Nice add! > > On Aug 27, 2012 6:29 AM, "Geoff Callender" < > > geoff.callender.jumpst...@gmail.com> wrote: > > > >

When to use SetupRender and PageAttached methods

2012-08-28 Thread Athneria, Mahendra
Hi, I am confused about when to use SetupRender and PageAttached methods. I know that PageAttached methods comes in Page Lifecycle and SetupRender methods comes in Component rendering phase cycle. It means PageAttached should belong to the Page and SetupRender belong to the Components. To veri

Re: T.5.2.6 Grid with paginator and Checkbox

2012-08-28 Thread Lance Java
As far as I can see, you have 3 options: 1. Fire an AJAX event when a checkbox is ticked and store the checkbox values serverside (in the session?) 2. Use some javascript to save the checkbox values clientside (in a cookie?) 3. Include the checkbox values (as request parameters?) on the paging (for