Re: As the type Retain is deprecated,what else can we use in tapestry5.2?

2010-10-17 Thread Muhammad Mohsen
I'm sorry I'm just trying to understand more about tapestry. So you'll be using services because they are either global or request scoped, correct ? I didn't quit understand the @Retain annotation by the way that's why I was searching for old posts about it to see what have people been saying.

Re: As the type Retain is deprecated,what else can we use in tapestry5.2?

2010-10-17 Thread Thiago H. de Paula Figueiredo
On Sun, 17 Oct 2010 10:07:44 -0200, Muhammad Mohsen m.gelb...@gmail.com wrote: I'm sorry I'm just trying to understand more about tapestry. So you'll be using services because they are either global or request scoped, correct? Yes, except for one nitpick: Tapestry doesn't provide a true

RE: [T5] Complexity for simple things, where is the documentation?

2010-10-17 Thread Jim O'Callaghan
For your specific use case, displaying the server time on the page, would you not be better off to initialize a value to the current server time upon initial page display, and then use a JS widget to increment/refresh the time field on the client side? This would save a lot of unnecessary network

Re: [T5] Complexity for simple things, where is the documentation?

2010-10-17 Thread ael
JumpStart is the BEST Tapestry Documentation... http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/zonewithoutyellowfade http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/javascript/zonewithoutyellowfade Good Luck... -- View this message in context:

Re: Disable Access denied Stack-trace

2010-10-17 Thread Jonathan Barker
A long time ago (tapestry-acegi days maybe), I saw a post about using log4j filtering configured in a log4j.xml file - it is not available in a properties file configuration. If log4j is your underlying logging mechanism, check into filtering options. On Wed, Oct 13, 2010 at 9:29 PM, iberck

T5 Session State Add Cart.

2010-10-17 Thread ael
Hello Everyone I just want to ask if this is the best practice for saving an add cart function. Using SSO. Need comments... My code Page Class private ListString item; @SessionState @Property private UserSession usersession; private boolean usersessionExists; Object

Using Symbols

2010-10-17 Thread Alessio Gambi
Hi, I am using Tapestry 5.0.1.5 and I have problem with using Symbols. In a service, I need the version of tapestry currently run, so I injected the TAPESTRY_VERSION symbol in the service constructor (see the code below) public class MyComponentEventResultProcessor implements

Re: Using Symbols

2010-10-17 Thread Alessio Gambi
Hi, I solved this by adding the @Inject annotation. BTW, why something @Symbol annotation is used without the @Inject and other time they are coupled ? Thanks. -- Alessio On Oct 18, 2010, at 7:30 AM, Alessio Gambi wrote: Hi, I am using Tapestry 5.0.1.5 and I have problem with using

Re: Using Symbols

2010-10-17 Thread Kalle Korhonen
As I recall, it had something to do with the IoC having an issue identifying symbol injection with String value types without additional information. Kalle On Sun, Oct 17, 2010 at 10:41 PM, Alessio Gambi agamb...@gmail.com wrote: Hi, I solved this by adding the @Inject annotation. BTW, why