5 Replies Latest reply on Mar 9, 2012 9:04 PM by gebuh

    How to pass a page parameter value that has no expression in it?

    Qingxin Yi Newbie

      I have a page (AttachFiles.xhtml) that can possibly come from different previous pages leading to it (one of them shown here is StudentEditStudent page).  I need a mechanism to keep track of which page it's from.  I tried to set it in the navigation rule like this:

       

       

      <navigation from-action="#{studentProfileHome.persist2}">
         <end-conversation/>
         <redirect view-id="/secure/AttachFiles.xhtml">
         <param name="studentId" value="#{studentProfileHome.studentProfileStudentId}"/>
         <param name="reportingYear" value="#{studentProfileHome.reportingYear}"/>
         <param name="from" value="StudentEditStudent"/>
         </redirect>
      </navigation>

       

      Any idea how I can set this?

       

      Thanks!