Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-7280

Dynamically switch between AJAX/Client modes for caching

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 3.3.1
    • Fix Version/s: None
    • Component/s: component
    • Labels:
      None

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  luxspes Francisco Jose Peredo Noguez
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: