0 Replies Latest reply on May 5, 2010 11:44 AM by Gregory Nikle

    rewrite url problem with action

    Gregory Nikle Apprentice

      I want to execute action from pretty url in Seam 2.2.0 GA.

      Here is my components.xml

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


           <page view-id="/register_game.xhtml" action="#{registerGameAction.register}">
                <rewrite pattern="/register_game" />

      and here are my both links in xhtml file.

                <s:link view="/register_game.xhtml" propagation="none" value="reg" />                    
                <a href="/team/register_game">Register</a>     

      The first one, execute action from bean controller but url in web browser look like here


      the second one redirect my web browser to good page, url in web browser look fine


      , but action in controller is not executed.
      It looks like seam only redirect my action to web page.

      Can anybody help me how to execute action, from a href link or s link but without