[richfaces-issues] [JBoss JIRA] Updated: (RF-7280) Dynamically switch between AJAX/Client modes for caching

Francisco Jose Peredo Noguez (JIRA) jira-events at lists.jboss.org
Wed Sep 2 12:06:23 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-7280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Francisco Jose Peredo Noguez updated RF-7280:
---------------------------------------------

    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, or when the cache is manually cleared)

  was:
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)



> 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
>          Components: component
>    Affects Versions: 3.3.1
>            Reporter: Francisco Jose Peredo Noguez
>            Assignee: Nick Belaevski
>             Fix For: Future
>
>
> 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, or when the cache is manually cleared)

-- 
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

        


More information about the richfaces-issues mailing list