-
1. Re: Retrieve information on a rich:tree
nbelaevski Jul 21, 2009 6:11 PM (in response to nargzul)Hi,
rich:tree needs data model not only to render data, but to do postback request processing, so data should be available. You can use Seam conversations or a4j:keepAlive to store your bean in order to avoid collisions.
Also you can set ajaxSubmitSelection="false" to switch off firing AJAX requests on selection changes. -
2. Re: Retrieve information on a rich:tree
nargzul Jul 21, 2009 6:17 PM (in response to nargzul)I've tried to put my information into a ListDataModel, but after the recursive option doesn't work anymore, it doesn't found the propertie.
If I use the a4j:keepAlive, I must keep the ajaxSubmitSelection? -
3. Re: Retrieve information on a rich:tree
nbelaevski Jul 21, 2009 6:28 PM (in response to nargzul)No, there's no need to keep it.
-
4. Re: Retrieve information on a rich:tree
nargzul Jul 22, 2009 10:35 AM (in response to nargzul)I personaly got a java.io.NotSerializableExceptio on my Bean.
I've added an implements Serializable;
When the object will be destroyed?
Is it exactly the same to have an @KeepAlive annotation on the class that have the JSP Tag inside my JSP?
Now I get some Injections problem, are this compatible with fields having an @EJB annotation? -
5. Re: Retrieve information on a rich:tree
dgashby Sep 3, 2009 9:29 PM (in response to nargzul)Take a look at http://www.jboss.org/index.html?module=bb&op=viewtopic&t=160822 , it may help shed some light on your injection problem.