No, in that case, you'd want to create your own SelectModel and
populate it.  You may inject and use the SelectModelFactory service to
help with this.

On Mon, Sep 13, 2010 at 9:15 AM, Jim O'Callaghan
<j...@peritussolutions.com> wrote:
> Tapestry provides a very handy facility for presenting enums as drop down
> lists for display - is there anything built-in that allows certain values
> for the enum to be hidden from the generated drop down list?  Ex. where a
> status transition follows a strict order where A can be progressed to B and
> then to C, but B cannot got back to A, so in the case where an entity is
> already at status B,  I only want to display B and C as options for
> selection.  Similarly if A needs to go to B before C, when an entity has
> status A, I only want to display A, B rather than A, B, C.
>
>
>
> Regards,
>
> Jim.
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to