Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Ajax/JavaScript
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      628
    • Status Whiteboard:
      Hide

      size_small importance_large

      Show
      size_small importance_large

      Description

      RichFaces has the notion of autoupdate - a list of "always render" id's, that
      are rendered for every ajax request.

      A quick, naive implementation could be as simple as:

      void jsf.ajax.addAlwaysRender(String id)

      and then every jsf.ajax.request would have the "id" appended to the render list.

      This would be trivial to implement.

      The use case for this is actually a special case for component authors - while a
      page author can manually add id's to the render list, component authors can't.

        Activity

        Hide
        Ed Burns added a comment -

        Move to unscheduled target milestone

        Show
        Ed Burns added a comment - Move to unscheduled target milestone
        Hide
        Ed Burns added a comment -

        Prepare to delete api subcomponent

        Show
        Ed Burns added a comment - Prepare to delete api subcomponent
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        Ed Burns added a comment -

        edburns

        Show
        Ed Burns added a comment - edburns
        Hide
        Ed Burns added a comment -

        2.1

        Show
        Ed Burns added a comment - 2.1
        Hide
        Ed Burns added a comment -

        GlassFish 3.1 M6 at the latest.

        Show
        Ed Burns added a comment - GlassFish 3.1 M6 at the latest.
        Hide
        rogerk added a comment -

        Correct Subcomponent

        Show
        rogerk added a comment - Correct Subcomponent
        Hide
        rogerk added a comment -

        re-target

        Show
        rogerk added a comment - re-target
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        Hanspeter Duennenberger added a comment -

        Hi,

        my 2 cents to this idea:

        Why would that always id's have to be part of the jsf ajax api? Ids of components to always update could be managed server side only. Beside, sometimes it is also handy to execute a component with every request (aka always).

        We implemented it in csJSF as a separate tag that can be placed on a page or template and is used like this:

        <x:always execute="space separated id list" render="space separated id list" />
        

        The mixin of the always to execute/render ids was done in a PartialViewContextWrapper - if this becomes JSF standard then mixin would be in PartialViewContext itself.

        Best regards
        Hanspeter

        Show
        Hanspeter Duennenberger added a comment - Hi, my 2 cents to this idea: Why would that always id's have to be part of the jsf ajax api? Ids of components to always update could be managed server side only. Beside, sometimes it is also handy to execute a component with every request (aka always). We implemented it in csJSF as a separate tag that can be placed on a page or template and is used like this: <x:always execute= "space separated id list" render= "space separated id list" /> The mixin of the always to execute/render ids was done in a PartialViewContextWrapper - if this becomes JSF standard then mixin would be in PartialViewContext itself. Best regards Hanspeter
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

          People

          • Assignee:
            Unassigned
            Reporter:
            driscoll
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: