I think you're looking for a parameter with direction="auto".  This
works kinda like a persistent property, you can read it and write to it
across more than one IRequestCycle.  If it's auto, you need to make the
parameter required or give it a default value.

http://jakarta.apache.org/tapestry/doc/TapestryUsersGuide/spec.parameter
.html 

> -----Original Message-----
> From: Lennart Benoot [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 10, 2005 2:14 AM
> To: [email protected]
> Subject: 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to