0 Replies Latest reply on Jul 7, 2010 2:43 AM by zeedee

    Page not rendered after adding URL rewrite

    zeedee

      Hi all,


      I'm a total newbie to seam, so please be gentle. :)


      I added rewriting just as explained in the documentation under 1.9.2. Bookmarkable search results page but now, when I visit the rewritten URL, the xhtml isn't rendered anymore and when I view the page source in my browser, it's the source of my xhtml file with all the rich tags, and so on.


      The only changes I applied are the following:


      components.xml



      <web:rewrite-filter view-mapping="/*" />



      pages.xml



      <page view-id="/activate.xhtml">
           <rewrite pattern="/activate/{activationToken}"/>
           <rewrite pattern="/activate"/>
           <param name="activationToken" value="#{activate.activationToken}"/>
      </page>





      Can you please explain to me why this is happening and how I can fix it?


      Thanks a lot!


      Regards,


      Christian