Re: Page redirect in tapestry5

2016-03-03 Thread JumpStart
This example includes returning the logical page name as String: http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/returntypes1 Geoff > On 4 Mar 2016, at 2:22 pm, mailingl...@j-b-s

Re: Page redirect in tapestry5

2016-03-03 Thread mailingl...@j-b-s.de
You can just return the string and tapestry locates the page on its own return cookieVal; Just make sure the cookieval is a valid page name (class name without package) Jens Von meinem iPhone gesendet > Am 04.03.2016 um 07:12 schrieb Anbazhagan.G : > > Hi All, > > I am working in web applica

Page redirect in tapestry5

2016-03-03 Thread Anbazhagan.G
Hi All, I am working in web application using tapestry framework. I have following pages a,b,c,d and Index in my application. In Index page, check some condition and redirect to a particular page. My code, |if(null!=cookieVal){if(cookieVal.equalsIgnoreCase("a")){returnA.class;}elseif(cookieVa

Component Tree Inside of a Loop

2016-03-03 Thread Robson Pires
Hi, I developed a component which generate fields from a list of values(dynamically). Basically my component iterates in a list of objects and decides which kind of field will generates (e.g. input text, date, select...). The problem starts when I try to add a component tree inside of this loop. I