Re: About the AOP and Page Class

2009-02-03 Thread Igor Drobiazko
Please have a look at the source of http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/internal/hibernate/CommitAfterWorker.html On Wed, Feb 4, 2009 at 4:45 AM, Xunhua Teng wrote: > Now I have a requirement that need to execute a piece of code before every > method of every page c

Re: Switch from Prototype to jQuery?

2009-02-03 Thread Peter Stavrinides
>it would be nice if a component could indicate >that the scripts should be at the top for the entire page Vote for this Jira, which requests exactly that: https://issues.apache.org/jira/browse/TAP5-369 Peter - Original Message - From: "Joachim Van der Auwera" To: "Tapestry users" Sent

T5 tree component

2009-02-03 Thread wesleywj2
-- View this message in context: http://www.nabble.com/T5-tree-component-tp21825008p21825008.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.o

About the AOP and Page Class

2009-02-03 Thread Xunhua Teng
Now I have a requirement that need to execute a piece of code before every method of every page class, so I thought I should use the Spring aop, but how can I do, I found that the aop is just for service class ,how to use it for page class. Please give some ideas thanks a lot. I use the T5+Spri

Re: [T4] Problem with multiple PropertySelectors and persistence

2009-02-03 Thread Andreas Andreou
Can you describe what you're seeing? When the page loads, you should be getting 1 select for all foos (let's say returning n records), and n selects for bars... And when the form is submitting, you're probably also seeing those n+1 selects (which is what's should happen during the rewind) So, is

[T4] Problem with multiple PropertySelectors and persistence

2009-02-03 Thread richa...@ufp.com
Im using Tapestry 4.1.5, Tomcat 6.0.13 and Java build diablo-1.5.0-b01. My issue is that I have a page where I want to allow a user to configure a default 'bar' for each 'foo' the user has. The user's 'foo's and 'bar's are read from the DB using a service layer. I loop around the foo's with a @For

Re: [T5] Tap5<->Grails integration?

2009-02-03 Thread Carl Crowder
Sorry Otho, I wasn't attempting to prevent discussion, I just wanted to point it out in order to add to the discussion. Otho wrote: Grails specifically. Groovy as such is possible right now. In the simple cases I tested there were no glitches. But some frameworks can serve right now as frontend

Re: [T5] Tap5<->Grails integration?

2009-02-03 Thread Otho
Grails specifically. Groovy as such is possible right now. In the simple cases I tested there were no glitches. But some frameworks can serve right now as frontend to grails. As I said, I have no idea of the technical implications which an integration of Tapestry would require, but I am sure, that

Re: [T5] Tap5<->Grails integration?

2009-02-03 Thread Thiago H. de Paula Figueiredo
Grails specifically or Groovy? Em Tue, 03 Feb 2009 15:27:26 -0300, Otho escreveu: Hi all, I don't know if it is even conceptionally or technically possible, so my suggestion may seem a bit strange. But would it be possible to integrate grails and Tapestry in the way it was done with wicket? A

Re: [T5] Tap5<->Grails integration?

2009-02-03 Thread Carl Crowder
It has come up a few times - have a read of the previous posts to this mailing list: http://www.google.co.uk/search?q=grails+site%3Amail-archives.apache.org%2Fmod_mbox%2Ftapestry-users%2F Carl Otho wrote: Hi all, I don't know if it is even conceptionally or technically possible, so my sugges

Re: Dynamic Assets

2009-02-03 Thread Howard Lewis Ship
@Inject calculates the injected value once, when the page instance is first loaded. To get the behavior you want, change this to inject the AssetSource service and provide a getLogoWeb() method that obtains the asset via AssetSource.getAsset(null, "cliente:logoWeb.gif", locale); On Tue, Feb 3, 200

[T5] Tap5<->Grails integration?

2009-02-03 Thread Otho
Hi all, I don't know if it is even conceptionally or technically possible, so my suggestion may seem a bit strange. But would it be possible to integrate grails and Tapestry in the way it was done with wicket? Aka Tapestry as a GUI plugin? I think that would be a huge popularity boost. The simpli

Dynamic Assets

2009-02-03 Thread Sid Ferreira
Hi guys! Im working on a small component that has an image asset that is based on the url.Unfortunelly, after created by the first time, the asset is cached and then the component doesn't get updated. How to make a dynamic asset that is updated at each request? My current declaration is: @Suppress

Re: [T5] Problem using tapestry-hibernate inside a dispatcher

2009-02-03 Thread Marcelo Lotif
I can't imagine how this can be easier, I'm very anxious to see! T5.1 will be a huge release, and I'm sure it's new functionalities will bring more users to this community. On Mon, Feb 2, 2009 at 5:04 PM, Howard Lewis Ship wrote: > It's even easier in Tapestry 5.1., as you can advise a service (

Re: How to implement a long lasting operation waiting page

2009-02-03 Thread Ville Virtanen
Hi, take a look at this: http://wiki.apache.org/tapestry/Tapestry5HowToRunTaskInThread Your page only delegates the execution of the task to another thread and then the ajax part polls the page wether the task is ready, once it is you show the results. Don't know the ajax part, but that exampl