Beast approach for a page redirection situation

2010-01-23 Thread Everton Agner
Hi, Let's assume that: - The user's Login info is stored on Session; - Every user have many profiles; - Plenty of pages works on one specific Profile for the user; - The current user profile is always stored on Session also; - I have a page of Profile selection that shows all of the user's profil

Re: AbstractSelectModel is not in a controlled package

2010-01-23 Thread kamiseq
ok, then how should I use it, or maybe tutorial is all wrong and is just misleading. I have a simple class class MyDict private int idInDb; private string descr; All I want to do is to convert list of such a class into html select's options list! and all I found on the net was the tutoria

Re: AbstractSelectModel is not in a controlled package

2010-01-23 Thread Ulrich Stärk
Don't put your SelectCollectionModel inside the components, pages or base subpackages. Otherwise Tapestry will try to enhance it and fail because the superclass is not in a controlled package - as the exception message says. Uli kamiseq schrieb: I dont get it! AbstractSelectModel class comes

Re: AbstractSelectModel is not in a controlled package

2010-01-23 Thread kamiseq
I dont get it! AbstractSelectModel class comes from org.apache.tapestry5.util package so why should I care about that class! should I replace that class with my own I just comy paste solution from that tutorial ( http://wiki.apache.org/tapestry/Tapestry5HowtoSelectWithObjects) [except addOptio

Re: Dynamicly Created Checkboxes

2010-01-23 Thread Shing Hing Man
I have a running example as described by Josh below. http://lombok.demon.co.uk/tapestry5Demo/test/components/checkboxgroupdemo Shing --- On Sat, 23/1/10, Josh Canfield wrote: > From: Josh Canfield > Subject: Re: Dynamicly Created Checkboxes > To: "Tapestry users" > Date: Saturday, 23 Januar