Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.2
    • Component/s: General
    • Labels:
      None
    • Environment:
      any

      Description

      Actions for tabbed panel

      I have two frames. First navigation frame has command buttons.
      <h:form id="form1" target="secondFrame">
      <h:commandButton value="action1" action="#

      {testBean.action1}

      "/>
      <h:commandButton value="action2" action="#

      {testBean.action2}

      "/>
      </h:form>

      Second frame has to get result depending on selected button of the first frame(target="secondFrame").
      When I ckicks first time on the Action1 then the second frame gets result of the action1 - OK.(Action executed)
      But if I clicks second time on the button the first frame is in the second frame - WRONG. (Action didn't execute) Must be result as in previous step.
      Third time when I ckicks on the Action1 then the second frame gets result of the action1 - OK.
      Fourth - WRONG an so on.

      I found if action doesn't redirect to another page then it seems OK.
      Action executes each time when I press an action button on the first page.

      I have tried this sample using SUN RI and everything OK.

        Activity

        Hide
        Don Walters added a comment -

        We have been using the WebGalileo components and the Sun RI, plus a couple of the tomahawk components. Occassionally we have run into bugs in the Sun RI. Usually this only occurs when we have tomahawk components on a page. So I'm trying to switch our app from Sun RI to MyFaces. But this issue prevents us from making the switch.

        Show
        Don Walters added a comment - We have been using the WebGalileo components and the Sun RI, plus a couple of the tomahawk components. Occassionally we have run into bugs in the Sun RI. Usually this only occurs when we have tomahawk components on a page. So I'm trying to switch our app from Sun RI to MyFaces. But this issue prevents us from making the switch.
        Hide
        Mathias Broekelmann added a comment -

        Could it be a problem with the state? Are you using server or client state?
        myfaces currently only holds the last state if using server state. RI holds up to 15 AFAIK.

        Show
        Mathias Broekelmann added a comment - Could it be a problem with the state? Are you using server or client state? myfaces currently only holds the last state if using server state. RI holds up to 15 AFAIK.
        Hide
        Alexander Dann added a comment -

        That seems to be a problem with the state. I have some l similar issue with a multi-windowed application (e.g. main window + dialogs). When you use client state, it works fine. As soon as I switch to server state, I have this problem, that every second click I get wrong page displayed in a dialog window.
        WIth SUN RI client and server states working fine.

        What is the reason for holding only one view/state? Is there some other way to support multiwindowed applications?

        Show
        Alexander Dann added a comment - That seems to be a problem with the state. I have some l similar issue with a multi-windowed application (e.g. main window + dialogs). When you use client state, it works fine. As soon as I switch to server state, I have this problem, that every second click I get wrong page displayed in a dialog window. WIth SUN RI client and server states working fine. What is the reason for holding only one view/state? Is there some other way to support multiwindowed applications?
        Hide
        Martin Marinschek added a comment -

        Mathias has provided a patch for this - the 15 last views are now saved.

        I am closing this - please test carefully and tell is if there still is a problem.

        regards,

        Martin

        Show
        Martin Marinschek added a comment - Mathias has provided a patch for this - the 15 last views are now saved. I am closing this - please test carefully and tell is if there still is a problem. regards, Martin
        Hide
        Martin Marinschek added a comment -

        Thanks Mathias! great patch

        Show
        Martin Marinschek added a comment - Thanks Mathias! great patch

          People

          • Assignee:
            Mathias Broekelmann
            Reporter:
            SergeyM
          • Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development