You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Vombach <an...@psi.ch> on 2004/11/25 15:28:33 UTC

PropertySelection initialization

Is it possible to initialize a PropertySelection element with dynamic 
content e.g. from a visit object?
As far as I have used it must be initialized statically like

    public static final IPropertySelectionModel YEAR_MODEL = new 
StringPropertySelectionModel(
        new String[] {"2002", "2003", "2004", "2005", "2006"});

so the String[] is not able to be generated dynamically. If I had a 
String[] object in my visit, could I use it to initialize the 
PropertySelection?

Thanks Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org