You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Erik Hatcher <er...@ehatchersolutions.com> on 2004/04/13 15:47:44 UTC

contrib:Tree ITreeStateModel

As far as I can tell, nothing calls ITreeStateModel.getExpandSelection. 
  What is this method used for?  Should it be removed?

Thanks,
	Erik


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


Re: contrib:Tree ITreeStateModel

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
Another tree component oddity: TreeNodeView.getSelectedID returns "" 
when not selected.  This causes a name="" to be added to every 
non-selected direct link.  Any reason why this shouldn't be changed to 
return null (and thereby removing the informal attribute altogether)?

And why does TreeNodeView.getSelectedNodeID return just "tree"?  The 
wrapping <span> denotes whether the element is selected or not, so is 
there a need to put a name="..." attribute on tree leafs?

	Erik



On Apr 13, 2004, at 9:47 AM, Erik Hatcher wrote:

> As far as I can tell, nothing calls 
> ITreeStateModel.getExpandSelection.  What is this method used for?  
> Should it be removed?
>
> Thanks,
> 	Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


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


Re: contrib:Tree ITreeStateModel

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
I would argue that if the framework doesn't call it, and it is only 
there for custom user purpose that it should not be there - custom 
implementations could add whatever they like regardless of the 
inteface.  No big deal of course - I just wanted to ask about it.

	Erik


On Apr 14, 2004, at 2:54 AM, tsvetelin wrote:

> Hi Erik,
>
> Yes, the Tree components and classes don't use this method, but it 
> could be
> useful for feature development or custom user purpose. I think it will 
> be
> useful to have a method that return all elements in model (in our case
> element in state model)
>
> Tsvetelin.
>
> -----Original Message-----
> From: Erik Hatcher [mailto:erik@ehatchersolutions.com]
> Sent: Tuesday, April 13, 2004 4:48 PM
> To: Tapestry development
> Subject: contrib:Tree ITreeStateModel
>
>
> As far as I can tell, nothing calls ITreeStateModel.getExpandSelection.
>   What is this method used for?  Should it be removed?
>
> Thanks,
> 	Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


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


RE: contrib:Tree ITreeStateModel

Posted by tsvetelin <ts...@rushmore-digital.com>.
Hi Erik,

Yes, the Tree components and classes don't use this method, but it could be
useful for feature development or custom user purpose. I think it will be
useful to have a method that return all elements in model (in our case
element in state model)

Tsvetelin.

-----Original Message-----
From: Erik Hatcher [mailto:erik@ehatchersolutions.com]
Sent: Tuesday, April 13, 2004 4:48 PM
To: Tapestry development
Subject: contrib:Tree ITreeStateModel


As far as I can tell, nothing calls ITreeStateModel.getExpandSelection.
  What is this method used for?  Should it be removed?

Thanks,
	Erik


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


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