T5: Simple Component Question?

2008-11-21 Thread Ben Wong
Hi everyone, I have been picking up Tapestry 5 quickly in the last few weeks. I got quite far but hit a brick wall. This should be simple but I cannot find the solution. Basically, I have a Layout page/component. Inside the Layout page/component, it has a Header component. The Header compo

RE: Trying to Implement RedirectException in Tapestry 5

2008-08-21 Thread Ben Wong
riginal Message- From: Chris Lewis [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 20, 2008 10:04 PM To: Tapestry users Subject: Re: Trying to Implement RedirectException in Tapestry 5 Ben Wong wrote: > I decided against the dispatcher approach for the reasons ville.virtanen > brough

RE: Trying to Implement RedirectException in Tapestry 5

2008-08-20 Thread Ben Wong
I decided against the dispatcher approach for the reasons ville.virtanen brought up. The dispatcher will have to know what pages are secured and which aren't. I am using Acegi with Tapestry. I know not everyone uses Acegi, but my approach (just to share) is to have Acegi handles authorization

RE: Trying to Implement RedirectException in Tapestry 5

2008-08-20 Thread Ben Wong
tivate() (the name of the event handler, > following the naming conventions) can be another page in the > application. So instead of throwing a redirect to the Login page, you > just return an instance of it. > > On Tue, Aug 19, 2008 at 4:25 PM, Ben Wong <[EMAIL PROTECTED]> w

Trying to Implement RedirectException in Tapestry 5

2008-08-19 Thread Ben Wong
m not really sure how the AppModule methods actually get call. I tried adding debugging statements in the methods but none of the log statements show up. Hope someone can help or point the way to enlightenment. Thanks in advance, Ben Wong

RE: Securing Tapestry Applications

2006-07-10 Thread Ben Wong
Correct me if I am wrong, but doesn't Acegi solve most, if not all, of these problems? http://acegisecurity.org/ Ben > -Original Message- > From: Jim Steinberger [mailto:[EMAIL PROTECTED] > Sent: Monday, July 10, 2006 5:01 AM > To: Tapestry users > Subject: Securing Tapestry Applicati

RE: Default Selection of PropertySelectionModel

2006-05-15 Thread Ben Wong
Hi, If I understand you question correctly, all you need to do is define the value of the PropertySelection component to your Class's teacher's property. Since you didn't show any code, here is an example I made up: That's all you really have to do. Hope this will help,