You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Lennart Benoot <le...@chronoline.org> on 2005/06/10 09:13:33 UTC
Persistent properties
Hi,
I tried to implement the suggestions made in a previous mail to create a persistent property in a component (see lower).
Still one question:
I want to pass this list as a parameter. I have defined it as a parameter in the component definition. How do i get this parameter into the persistent property?
>add persistent="yes" to your property specification for the List.
>
> <property-specification name="myList" type="java.util.List"
>persistent="yes" />
>
>and in your java source code for the page.
>
>abstract public class MyPage ...
>public abstract List getMyList();
>public abstract void setMyList(List value);
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org