Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-5085

Pages rewrite doesn't rewrite s:link params

    Details

      Description

      Having this in the pages.xml:

      <page view-id="/entry.xhtml">
      <rewrite pattern="/entry/

      {blogEntryId}

      " />
      <rewrite pattern="/entry" />

      <param name="blogEntryId"
      value="#

      {blogEntry.id}"/>

      <action execute="#{entryAction.loadBlogEntry(blogEntry.id)}"/>
      </page>

      and a link to entry in a page:

      <s:link id="link" view="/entry.xhtml" propagation="none" value="#{blogEntry.title}">
      <f:param name="blogEntryId" value="#{blogEntry.id}

      "/>
      </s:link>

      this should render as a link to "/entry/foo", but it renders as "/entry?blogEntryId=roadmap11"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manaRH Marek Novotny
                Reporter:
                manaRH Marek Novotny
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: