T5:How to use Select component's model

2007-02-26 Thread Weisu
Hi, I am converting my app to T5, in T4, I use IPropertySelectionModel to create the dropdown for select, what model can I use in T5. -- View this message in context: http://www.nabble.com/T5%3AHow-to-use-Select-component%27s-model-tf3298500.html#a9175667 Sent from the Tapestry - User mailing l

Re: T5 + Jetty + Hibernate

2007-02-26 Thread Massimo Lusetti
On 2/26/07, James Carman <[EMAIL PROTECTED]> wrote: That's not exactly a good separation of concerns, though. Your view layer shouldn't be talking directly to your ORM layer. I'd put a DAO layer in between for some encapsulation (and to help with unit testing). Well as i said this is a start

Re: Page Validation

2007-02-26 Thread James Sherwood
ivirus system. http://www.eset.com ----- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 2082 (20070226) Information __ This message was checked by NOD32 a

RE: Page Validation

2007-02-26 Thread Mark Stang
James, You said, "I tried implementing it exactly as you suggested", which method there were two? It would help to post your code. regards, Mark Mark J. Stang Senior Engineer/Architect office: +1 303.468.2900 mobile: +1 303.507.2833 Ping Identity -Original Message- From: James Sherw

Re: T5 Roadmap - support for Portlet development?

2007-02-26 Thread Howard Lewis Ship
As I said on the blog, my/our hands are full with servlet Tapestry. It'll be much easier to implement the portlet support in T5 than in T4 because there's already an abstraction above the Servlet API, and because we're embracing the Portlet API's concept of differentiating action requests from ren

Re: Page Validation

2007-02-26 Thread James Sherwood
Hello, I tried implementing it exactly as you suggested but I still get to see the first page. Once I refresh or try to go somewhere it sends me to the login page. The funny thing is, the PageRedirectException IS being thrown, its just not going to the login page. Any ideas? --James ---

T5 Roadmap - support for Portlet development?

2007-02-26 Thread Jan Vissers
Hi, Will T5 continue to support JSR-168? I couldn't find it on the roadmap. If JSR-168 still is supported, are there plans to support JSR-268? Thanks, -J. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Page initialization

2007-02-26 Thread Andrea Chiumenti
What I need is that when I access or refresh the page a parameter bound to session must be reset On 2/26/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: Hi!, where do I have to put page initialization code in tapestry 4.1.1? I need that the init method is called only when I render the page, but

Page initialization

2007-02-26 Thread Andrea Chiumenti
Hi!, where do I have to put page initialization code in tapestry 4.1.1? I need that the init method is called only when I render the page, but not when I call a form submit. Thx, kiuma

Re: OutOfMemoryError after serving N pages

2007-02-26 Thread Howard Lewis Ship
May the sone property abstract. You are clearing it inside finishLoad() which means, even with caching enabled, the song (and the presumably Hibernate session that it was obtained from) is retained needlessly between requests. Most likely culprit is caching disabled, which leaks some memory rela

Re: New to Tapestry

2007-02-26 Thread Howard Lewis Ship
Like T4, T5 is totally pluggable (maybe even more so). So there will be a tapestry-hibernate integration module that extends the framework in a number of ways, including adding editors and viewers for Hibernate relationships inside the BeanEditForm and Grid components. It's possible that a more

Re: New to Tapestry

2007-02-26 Thread Robert Zeigler
Drop downs to other objects will come with the Hibernate integration (since we need a way to identify the other objects that can be linked to). Does this mean that you're planning to integrate hibernate directly into the framework, ala trails? Or are you going for a broader JPA integration

Re: PatternValidator with regular expression

2007-02-26 Thread wong wayne
Thanks a lot for your clear explanation. It seems is a long route for upgrading from v3 to v4. regards wayne --- Numa Schmeder <[EMAIL PROTECTED]> wrote: > Oups sorry, I haven't seen something in your > previous mail, > It didn't work for the following reason: > the validators binding only acce

Re: T5 + Jetty + Hibernate

2007-02-26 Thread li li
don't send email to me again and again! I unsubscribe from tapestry.org ,but I remain receive one  hundred emails even more  from tapestry! 离人网 From: "James Carman" <[EMAIL PROTECTED]>Reply-To: "Tapestry users" To: "Tapestry users" Subject: Re: T5 + Jetty + HibernateDate: Mon, 26 Feb 2007

Re: T5 + Jetty + Hibernate

2007-02-26 Thread James Carman
That's not exactly a good separation of concerns, though. Your view layer shouldn't be talking directly to your ORM layer. I'd put a DAO layer in between for some encapsulation (and to help with unit testing). On 2/26/07, Massimo Lusetti <[EMAIL PROTECTED]> wrote: On 2/25/07, Olivier Jacquet

Re: T5 + Jetty + Hibernate

2007-02-26 Thread Massimo Lusetti
On 2/25/07, Olivier Jacquet <[EMAIL PROTECTED]> wrote: Hi, Does anyone has an example of how to get tapestry, jetty and hibernate running together? Having an hibernate Session injected into T5 pages is fairly easy: public final static SessionFactory buildSessionFactory() { URL re

Re: PatternValidator with regular expression

2007-02-26 Thread Numa Schmeder
Oups sorry, I haven't seen something in your previous mail, It didn't work for the following reason: the validators binding only accept a collection of Validators that are new to tap4. Thus you can only use the validators prefix (validators="validators:required, pattern=myPattern") etc... The

Re: PatternValidator with regular expression

2007-02-26 Thread wong wayne
Thanks for your reply. Sorry to tell you that the method suggested seems not work, same error message resulted. Finally solved by using validators but I still willing to know what’s the root cause and the expression posted previous cannot apply to validators. I need to changes as follows, any thoug

Re: PatternValidator with regular expression

2007-02-26 Thread Numa Schmeder
Try to put literal in front of your pattern. Thus : value="literal:[EMAIL PROTECTED] {2,6}$" Numa Le 26 févr. 07 à 10:02, wong wayne a écrit : Dear all I have some problem on Pattern Validator. Similar code work fine in Tapestry 3 but have problem on Tapestry 4. Keep saying that "Error init

PatternValidator with regular expression

2007-02-26 Thread wong wayne
Dear all I have some problem on Pattern Validator. Similar code work fine in Tapestry 3 but have problem on Tapestry 4. Keep saying that "Error initializing property patternString of bean 'emailValidator'" and I cannot figure out what's the problem. Coding as below bean name="emailValidator" cla

PatternValidator with regular expression

2007-02-26 Thread wong wayne
Dear all I have some problem on Pattern Validator. Similar code work fine in Tapestry 3 but have problem on Tapestry 4. Keep saying that "Error initializing property patternString of bean 'emailValidator'" and I cannot figure out what's the problem. Coding as below bean name="emailValidator" cla