Type-safe PageLink version

2009-06-20 Thread Vjeran Marcinko
Hello, I have an idea for PageLink version that would be type-safe because I simply love when I don't have to worry about page names or context parameters in my templates as much as possible, especially cosidering that I like to refactor much... If PageLink could accept page *instance* as pa

Re: T5 disable loading specified module

2009-06-20 Thread Angelo Chen
I think if it is not specified in the AddModule, it should not be loaded. of course if T5's module and it has auto binding, then it will be loaded as long as it is linked. flyabovesun wrote: > > How could I configure Tapestry so that specified modules will not be auto > loaded into service. >

T5 disable loading specified module

2009-06-20 Thread haipeng du
How could I configure Tapestry so that specified modules will not be auto loaded into service. Thanks. -- Haipeng Du Salt Lake City

Re: T4.1: remove ASO from session

2009-06-20 Thread Andreas Andreou
I forgot that calling getFooId() will create the "foo" ASO and so the workaround will never work... I guess you could inject SessionScopeManager and call sessionScopeManager.exists("foo") for another workaround 2009/6/21 Andreas Andreou : > Setting fooId to null DOES remove the object from sessio

Re: T4.1: remove ASO from session

2009-06-20 Thread Andreas Andreou
Setting fooId to null DOES remove the object from session, but judging from the sources of ApplicationStateManagerImpl (its _stateObjects never removes items), the stateFlag will continue to return true... This happens 'cause the map that holdes the ASOs still has the "foo" key (that now points to

Re: Will back-compatibility hurt further T5 development?

2009-06-20 Thread Angelo Chen
I had a quite big t5 app in 5.0.18, when attempting to upgrade to 5.1, really got a problem, major ones are javascript inclusion, I decided to rework that part in 5.0.18 first, after it's done, upgrading to 5.1 is really just change a version number in the maven's pom, it's really very easy, can'

Re: t5: how to use Blackbird?

2009-06-20 Thread Angelo Chen
Hi, cool, this works, is there a way to turn this off in the production mode? otherwise we have to remove those Logging.info("you are impossible to see this"), my users do see this:), anyway it's a nice feature, I like this logging thing. Angelo Ray Fortycoats wrote: > > To use the Blackbird

Re: Custom URL scheme?

2009-06-20 Thread Angelo Chen
Hi, New to 5.1.x, I found this rewriting very handy, basically I need to do something like this: http://localhost:8080/username/profile should become : http://localhost:8080/profile/username, any idea? Thiago H. de Paula Figueiredo wrote: > > Em Sat, 20 Jun 2009 15:57:17 -0300, Piero Sarti

Re: T5 + Hibernate + Hibernate Tools

2009-06-20 Thread Robert Zeigler
Hm. What if you have a structure like: page component x bean edit form And you want the messages in component x (to make component x be reusable)? The way you've got it now, you'll always have to put the messages in the top level page. That said, I'm in the middle of: http

Re: Custom URL scheme?

2009-06-20 Thread Thiago H. de Paula Figueiredo
Em Sat, 20 Jun 2009 15:57:17 -0300, Piero Sartini escreveu: Right now, my URLs look like this: domain.tld/module/ for the indexpage then my subpages use domain.tld/module/subpage// I would love to use something like domain.tld/module//subpage/ A project of mine has .domain/page rewritten

Re: checking userExists problem

2009-06-20 Thread Thiago H. de Paula Figueiredo
Em Sat, 20 Jun 2009 14:24:53 -0300, Neo Anderson escreveu: @SessionState; private User user; private boolean userExists; Try @SessionState(create=false) and then check if the user field is set or not. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructo

Custom URL scheme?

2009-06-20 Thread Piero Sartini
Right now, my URLs look like this: domain.tld/module/ for the indexpage then my subpages use domain.tld/module/subpage// I would love to use something like domain.tld/module//subpage/ I think the new URL rewriting support can help but I am a bit lost with it. Anyone has already done this?

Re: Are you on the Tapestry Users Worldwide Map?

2009-06-20 Thread Howard Lewis Ship
Ugh. The image links are broken. Should have created a Wiki page with the instructions. On Fri, Jun 19, 2009 at 4:45 PM, Howard Lewis Ship wrote: > If you haven't already, please open up the map: > > > http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=106662057515738259524.0004696f8216ba26

Re: Will back-compatibility hurt further T5 development?

2009-06-20 Thread Howard Lewis Ship
Actually, I think the jump from 5.0 to 5.1 included (behind the scenes) more significant changes than the ones you describe (except for package restructuring; that's sacrosanct and will not ever change). I think the upgrade went easily for most users, but a few had stumbling blocks ... the depreca

checking userExists problem

2009-06-20 Thread Neo Anderson
I encounter a problem that I would like to check if user has alredy login or not. if a user has login, then they are allowed to add product to the shopping basket; if not, then redirect them to the login page. I use userExists property (private boolean userExists) to check whether user has alrea

Will back-compatibility hurt further T5 development?

2009-06-20 Thread Vjeran Marcinko
Hello all. Although I am not a frequent poster, I still use Tapestry after I began using it around 5 years ago. I was a bit suprised on amount of negative publicity that the framework received after T5 was initated due to loss of back-compatibility, but I could partly understand it if I imagine m

Re: Are you on the Tapestry Users Worldwide Map?

2009-06-20 Thread Massimo Lusetti
On Sat, Jun 20, 2009 at 12:25 PM, Massimo Lusetti wrote: > > On Sat, Jun 20, 2009 at 1:45 AM, Howard Lewis Ship wrote: > > > Have fun and be respectful of other people's pins! > > How to modify and entry (my own) ? Ops... Found the edit button -- Massimo http://meridio.blogspot.com --

Re: Are you on the Tapestry Users Worldwide Map?

2009-06-20 Thread Massimo Lusetti
On Sat, Jun 20, 2009 at 1:45 AM, Howard Lewis Ship wrote: > Have fun and be respectful of other people's pins! How to modify and entry (my own) ? -- Massimo http://meridio.blogspot.com - To unsubscribe, e-mail: users-unsubscr.

Re: Any one using extension-point and extend ?

2009-06-20 Thread Piero Sartini
Am Samstag, 20. Juni 2009 05:07:54 schrieb donf yang: > And when we need it ? I am using it. It replaces the simpler layout component pattern I used before. The advantage is that I am able to define events and zones that need to be available in each page. Using this for a dialog/popup solution