Layout Border component problem

2008-12-14 Thread kawes
Hi Guys, I just started to use T5 and lately I have hit a problem which I cannot resovle. I created a Border component which contains a navigation menu. I also created some kind of a sub-applications, let's call them MyMode1, MyMode2, MyMode3 etc and palced pagelinks to them in Border navigatio

RE: Layout Border component problem

2008-12-14 Thread kawes
Hi Jonathan, thanks for your quick response. As you asked I uploaded classes I hit the problem in. Small description: One of my sub-application is Teacher (should be able to provide a word in foreign language and accept user's answer checks wheather it is correct) When user logs in, clicks tea

Re: Layout Border component problem

2008-12-15 Thread kawes
t; *...@persist > *private TeacherMode teacherMode; > > public void *setupRender()* { > if (teacherMode == null) { > teacherMode = new TeacherMode(); // This will be a private instance > per > session > } > } > > HTH, > > Olle > > > 2008/12/1

Re: Layout Border component problem

2008-12-15 Thread kawes
Ok found an answer to my second question, some info is provided here: http://tapestry.apache.org/tapestry5/tapestry-core/guide/rendering.html but still would be happy if you could answer to my first question. cheers kawes wrote: > > Olle, > > thanks a lot. I knew what was wron

Re: Layout Border component problem

2008-12-15 Thread kawes
tupRender()* { > if (teacherMode == null) { > teacherMode = new TeacherMode(); // This will be a private instance > per > session > } > } > > HTH, > > Olle > > > 2008/12/15 kawes > >> >> Hi Jonathan, >> >> thanks for your qui

RE: Layout Border component problem

2008-12-15 Thread kawes
> entities for onActivate/onPassivate. > > Jonathan > > > > >> -Original Message- >> From: kawes [mailto:rafal.kawe...@gmail.com] >> Sent: Monday, December 15, 2008 12:14 >> To: users@tapestry.apache.org >> Subject: Re: Layout Border co

[T5 5.0.18] - How to 'turn on' dynamic validation

2008-12-15 Thread kawes
y when the textfield is empty and Cancel button is clicked the T5 says that field cannot be empty. Probably this is possible on server side only but maybe I am wrong. Thanks in advance kawes -- View this message in context: http://www.nabble.com/-T5-5.0.18How-to-%27turn-on%

Re: [ANN] tapestry-spring-security 2.0.1

2008-12-16 Thread kawes
Hi Robin, I have just noticed that both MyUserDetailsImpl.java and MyUserDetailsService.java links on the page http://www.localhost.nu/java/tapestry-spring-security/conf.html lead to the same MyUserDetailsImpl.java source code. Cheers Robin Helgelin wrote: > > > Hi, > > I've just put up a

Re: [T5 5.0.18] - How to 'turn on' dynamic validation

2008-12-16 Thread kawes
Hi, thanks, I did not think of that ;) Howard Lewis Ship wrote: > > The accepted approach is to use an ActionLink for the cancel button. > You can use CSS to style it like a submit button. > > On Mon, Dec 15, 2008 at 11:49 AM, kawes wrote: >> >> Hi Guys, >&g

Re: [T5 5.0.18] - How to 'turn on' dynamic validation

2008-12-17 Thread kawes
Hi Marcus, thanks a lot for your response, your suggestion is very good and is so simple. I should have thought about that myself. thanks again for the advice Marcus-11 wrote: > > Hi Kawes, > There is another option, you can put the "Cancel" (submit button)