Announcement Announcement Module
Collapse
No announcement yet.
${flowExecutionUrl} not rendering Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ${flowExecutionUrl} not rendering

    I'm working through a SWF tutorial which contains the following JSP page:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
    <html>
        <head>
            <title>Register - GeekWarez</title>
        </head>
        <body>
            <h1>Register</h1>
            
            <div>
                <a href="${flowExecutionUrl}&_eventId=submitRegistration">Submit</a>
                <a href="${flowExecutionUrl}&_eventId=cancelRegistration">Cancel</a>
            </div>
        </body>
    </html>
    When this page is displayed the ${flowExecutionUrl} el variable is not rendering correctly. If I look at the page source it looks like this:

    Code:
            <div>
                <a href="${flowExecutionUrl}&_eventId=submitRegistration">Submit</a>
                <a href="${flowExecutionUrl}&_eventId=cancelRegistration">Cancel</a>
            </div>
    I am using Tomcat 6.0
    Java 6
    jboss-el-2.0.1.GA.jar
    spring-webmvc-2.5.5.jar

  • #2
    I did the same thing, originally via a cut-and-paste from the SWF manual.

    This is the corrected version:

    <a href="<c:out value='${flowExecutionUrl}' />&_eventId=submitRegistration">Submit</a>

    The SWF manual should be corrected for this -- just in case anybody who can do so is reading...

    Comment


    • #3
      This works too:

      Code:
      <a href="${flowExecutionUrl}&_eventId_cancelRegistration">Cancel</a>
      <a href="${flowExecutionUrl}&_eventId_submitRegistration">Submit</a>

      Comment


      • #4
        Hello,
        I just had the same problem with the same tutorial.

        The solution to use the JSTL is correct but I found something more simple:
        1) have the jboss-el and el-api jars available (el-api.jar may be provided by the servlet-container, it's the case with Tomcat 6)
        2) add the following code to the top of the JSP file: <%@ page isELIgnored="false" %>

        It worked for me. Hope it helps.

        Comment

        Working...
        X