I believe this can be done in tree.  Oliver is probably a better
person to help you out with that one.  It can definitely be done in
tree2.  See the simple tree2 example for details on how.

sean


On Apr 6, 2005 6:16 AM, ChrisAndCatharineMiller <[EMAIL PROTECTED]> wrote:
>  
>  
> 
> I have created a tree using the <x:tree> tag (no problem) and a listener
> using the <x:treeSelectionListener> tag (again no problem – I get events
> whenever I select a tree node. 
> 
>   
> 
> The thing that I am struggling with is how to fire an Action when a user
> selects a tree node (the treeSelectionListener returns null so cannot return
> a String like an Action and the tree itself has no action attribute). I
> basically want to update the page when the user selects something in the
> tree – In my case the tree nodes represent product categories and when a
> node is selected I want to display the appropriate product data. 
> 
>   
> 
> I'm sure that I'm missing something really obvious – I'm sure the tree tag
> wasn't just created to look pretty ! 
> 
>   
> 
> Any help would be appreciated. 
> 
>   
> 
> Thanks, 
> 
>   
> 
> Chris

Reply via email to