[ 
http://issues.apache.org/jira/browse/MYFACES-404?page=comments#action_12318419 
] 

Lenine Jeganathan commented on MYFACES-404:
-------------------------------------------

 Your understanding is right...we have the <x:tree2 value="#{bean.tree}" 
var="node" ... 
and a h:selectOne with immediate="true" both contained inside a form.
 The valuechnage listener on the selectone changes the value of #{bean.tree} 
but the tree2 doesn't get rendered until the user click on the root node or 
until the form is submitted again using a command button which does do anything.
 BTW we are using the bean.tree is setup to be in session scope. It is a bit 
strange 

> Tree2 doesn't refresh until clicked on
> --------------------------------------
>
>          Key: MYFACES-404
>          URL: http://issues.apache.org/jira/browse/MYFACES-404
>      Project: MyFaces
>         Type: Bug
>   Components: JSF 1.1
>     Versions: 1.0.9 beta
>  Environment: Tomcat 4.1.31, SDK 1.4.2, windows XP Pro
>     Reporter: Lenine Jeganathan
>     Priority: Critical

>
> Hello,
>  We are now in the beta stage of an application which uses Tree2 component. 
> We have dropdown by the tree which should relaod the tree based on whats 
> picked in the dropdown.
>  I have a valuechange listener on the dropdown which rebuilds the tree2 data 
> in the valuechange listener and does a 
> FacesContext.getCurrentInstance().renderResponse();
> The data gets loaded into the tree fine, but from the user perspective it 
> doesn't load the new data into it until the user click on it forcing it to 
> re-render and then loads the new data. The reload also happens when a command 
> buttin with an actionlistener is clicked on.
> Am I missing something? Should i be calling something else other than 
> renderresponse on the facescontext to force a refresh?
> Regards,
> Lenine

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to