0 Replies Latest reply on Oct 26, 2010 6:27 AM by nigiyan

    Workspace management and page param

    nigiyan
      Hi All,

      I have menu where it is possible to search and create A "documents".

      1. Open AList search page and from result select A1 entry. "fromPage" parameter is passed indicating page id to which navigate back after form submittion, e.d. to search page (or other)"
      2. Open AList search page and from result select A2 entry. "fromPage" is passed...

      <s:link id="Edit" value="Edit" action="..." view="/AEdit.xhtml">
      <f:param name="id" value="#{_a.id}"/>
      <f:param name="fromPage" value="AList"/>
      </s:link>

      3. In conversation switcher now I have 2 entries.

      <rich:toolBarGroup>
              <h:selectOneMenu value="#{switcher.conversationIdOrOutcome}"title="Opened Documents">
                  <f:selectItem itemValue="" itemLabel=" "/>
                  <f:selectItems value="#{switcher.selectItems}"/>
                  <a:support event="onchange" action="#{switcher.select}"/>
              </h:selectOneMenu>
      </rich:toolBarGroup>

      4. From switcher choose to open A1 entry. THE PROBLEM IS that after switching "fromPage" param is lost! And after an action is submitted none of my navigation cases matches. So is there special something to do in this case to keep page params?

      Also to make problem visible I put <h:outputLabel value="#{param.fromPage}". And it becomes empty after switching.
      Note that if I don't switch conversations everything works fine.