[
https://jira.jboss.org/jira/browse/RF-7280?page=com.atlassian.jira.plugin...
]
Francisco Jose Peredo Noguez updated RF-7280:
---------------------------------------------
Summary: Dynamically switch between AJAX/Client modes for caching (was:
Dynamically switch between AJAX/ClientSide modes)
Description:
Say for example you are using the rich:tree control, you click a node to expand it, and
you are in AJAX mode, so it goes to the server to fetch the nodes... then you click it to
collapse it, and then click it again to expand it again. I want to have a way to tell the
control "this is not the first time I am expanding this node, so, please do not make
an AJAX request to fetch its subnodes, please just present the same subnode list you
presented the last time I expanded it".
This not only applies for trees, it applies for any component with AJAX and client modes,
like for example the rich:tabPanel.
An example the other way around would be the rich:dropDownMenu, which has the oposite
problem, it always works in client mode (there is no easy way to dynamically fetch
rich:menuItem as the menu is visualized, and, even if that could be done, it would be done
again, and again, resulting in very bad performance, the ideal solution would be for the
rich:menuItems to be fetched only the first time they are visualized)
was:
Say for example you are using the tree control, you click a node to expand it, and you are
in AJAX mode, so it goes to the server to fetch the nodes... then you click it to collapse
it, and then click it again to expand it again. I want to have a way to tell the control
"this is not the first time I am expanding this node, so, please do not make an AJAX
request to fech its subnodes, please just present the same subnode list you presented the
last time".
This not only applies for trees, it applies for any component with AJAX and ClientSide
modes, like for example the tabPanel.
Dynamically switch between AJAX/Client modes for caching
--------------------------------------------------------
Key: RF-7280
URL:
https://jira.jboss.org/jira/browse/RF-7280
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.3.1
Reporter: Francisco Jose Peredo Noguez
Say for example you are using the rich:tree control, you click a node to expand it, and
you are in AJAX mode, so it goes to the server to fetch the nodes... then you click it to
collapse it, and then click it again to expand it again. I want to have a way to tell the
control "this is not the first time I am expanding this node, so, please do not make
an AJAX request to fetch its subnodes, please just present the same subnode list you
presented the last time I expanded it".
This not only applies for trees, it applies for any component with AJAX and client modes,
like for example the rich:tabPanel.
An example the other way around would be the rich:dropDownMenu, which has the oposite
problem, it always works in client mode (there is no easy way to dynamically fetch
rich:menuItem as the menu is visualized, and, even if that could be done, it would be done
again, and again, resulting in very bad performance, the ideal solution would be for the
rich:menuItems to be fetched only the first time they are visualized)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira