Is there also a way to do this using javascript, without having to contact
the server. Since +/- seems not to contact the server, but open it using
javascript


Michał 'Gandalf' Stawicki wrote:
> 
> <f:facet name="objectProperties">
>                               
>                                   <t:commandLink
>                                       styleClass="properties"
>                                       actionListener="#{t.setNodeSelected}">
>                                       <t:outputText
>                                           value="#{node.description}"
>                                           style="#{t.nodeSelected ? 
> 'font-weight: bold; color: #FF3366' :
> ''}" />
>                                       <t:updateActionListener
>                                           
> property="#{reservationsManager.selectedNode}"
>                                           value="#{node}"/>
>                                       <f:param name="docNum" 
> value="#{node.identifier}"/>
>                                   </t:commandLink>
>                               </t:panelGrid>
>                           </f:facet>
> 
> In the setSelectedNode(TreeNode node) method, for ex.:
> 
> String id = treeBinding.getNodeId();
>                               String [] path = 
> treeBinding.getPathInformation(id);
>                               treeBinding.expandPath(path);
> 
> 
> 
> On 19/07/07, Tomzi <[EMAIL PROTECTED]> wrote:
>>
>> I'd like to have to open a folder not only by clicking on +/- but also
>> when I
>> click on the folders name - Is there a way to accomplish that with tree2?
>> --
>> View this message in context:
>> http://www.nabble.com/-tree2--expand-folder-by-clickling-on-folder-name-tf4110244.html#a11687822
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> Michał Stawicki
> 
> [EMAIL PROTECTED]
> http://stawicki.jasliska.pl
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-tree2--expand-folder-by-clickling-on-folder-name-tf4110244.html#a11703840
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to