- 
        1. Re: How to pass a page parameter value that has no expression in it?jinghuiyin Mar 8, 2012 4:47 PM (in response to jinghuiyin)here is the error message: javax.faces.el.ReferenceSyntaxException: Invalid expression: 'StudentEditStudent'. Parsed Expression of unexpected type java.lang.String 
- 
        2. Re: How to pass a page parameter value that has no expression in it?vata2999 Mar 9, 2012 8:02 AM (in response to jinghuiyin)why don't you use conversation, there is viewId attribute in conversation which indicates the last jsf view that was rendered while the conversation was active 
- 
        3. Re: How to pass a page parameter value that has no expression in it?jinghuiyin Mar 9, 2012 9:19 AM (in response to vata2999)Do you mean use this in AttachFiles.page.xml? and I will be able to get the last view id from conversation? <page no-conversation-view-id="/secure/AttachFiles.xhtml" login-required="true"> <begin-conversation join="true"/> <action execute="#{studentProfileDocumentHome.wire}"/> <param name="studentId" value="#{studentProfileDocumentHome.studentId}"/> <param name="reportingYear" value="#{studentProfileDocumentHome.reportingYear}"/> <param name="from"/> </page>
- 
        4. Re: How to pass a page parameter value that has no expression in it?vata2999 Mar 9, 2012 9:51 AM (in response to jinghuiyin)no i mean this http://docs.jboss.org/seam/2.2.2.Final/reference/en-US/html_single/#d0e6321 <conversation name="attachFileConversation" parameter-name="attachFileId" parameter-value="#{attachFile.attachId}"/>and you can retrieve conversation by id @In Conversation conversation; 
- 
        5. Re: How to pass a page parameter value that has no expression in it?gebuh Mar 9, 2012 9:04 PM (in response to jinghuiyin)We have an edit page that can be navigated to from several other pages. For some reason we have lots of problems with injection, so here's how I do it (I'm always looking for ways to do it better, so feel free to glare disapprovingly): In a session scoped class I have a method that holds the page value: public void setRememberMe(){ Redirect redirect = Redirect.instance(); redirect.captureCurrentView(); this.rememberMe = redirect.getViewId(); }In the page.xml of the current view: <action execute="#{sessionStuff.setRememberMe}"/>In the page.xml of the common view for whatever navigation rule: <redirect view-id="#{sessionStuff.rememberMe}"/>
 
     
    