You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by gvp <bl...@gmail.com> on 2005/06/07 15:15:58 UTC

Re[2]: tacos:tree treeState problem

Hello Viktor,

Thanks Victor, your solution helped a lot. I chose 2nd one because
when I try preexpand tree via TreeManager in pageBeginRender() method
I get IllegalArgumentException()  from Manger costructor. I checked
the source and found that the reason could be null treeState object.

> 1) let the tacos:Tree initialize your persistent state property (it
> will make a new HashSet and fire the right events at the right time).
> Basically you just remove initial-value:

> <property-specification name="treeState" type="java.util.Set" persistent="yes"/>

> 2) Keep the initial-value, but make sure you do a 
> setTreeState(getTreeState()); whenever you have affected that Set
> (either directly or via a TreeManager).

> Hope this helps,
>   Viktor



-- 
Best regards,
gvp                            


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


Re: count how many open sessions on tapestry application

Posted by Bryan Lewis <br...@maine.rr.com>.
Try this:

http://marc.theaimsgroup.com/?l=tapestry-user&w=2&r=1&s=httpsessionlistener&q=b


----- Original Message ----- 
From: "Ariel Pablo Klein" <ap...@eml.cc>
To: "'Tapestry users'" <ta...@jakarta.apache.org>
Sent: Tuesday, June 07, 2005 1:07 PM
Subject: count how many open sessions on tapestry application


> Anyone have already implemented code to count how many open sessions
exists
> using a specified tapestry application? Please post code or send to me
> personally. Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


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


count how many open sessions on tapestry application

Posted by Ariel Pablo Klein <ap...@eml.cc>.
Anyone have already implemented code to count how many open sessions exists
using a specified tapestry application? Please post code or send to me
personally. Thanks


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