0 Replies Latest reply on Jul 5, 2013 3:18 PM by bsl.lacerda

    Unable to dynamic add .seam on returning action url.

    bsl.lacerda

      Hi all,

       

      I'm migrating an application from Seam 2.1.0 runing on JBoss AS4 to Seam 2.2.0.EAP5 to run on JBoss EAP 6.1.

      Up to now everything is ok.

      The problem is on return of an @Named seam action...

       

      The URL is not being completed with .seam sufix causing a page not found error (404).

       

      For example, the correct URL should be:

           http://localhost:8080/application/pages/cadastrarGrupo/cadastrarGrupo.seam?conversationId=9

      but the actual is:     

           http://localhost:8080/application/pages/cadastrarGrupo/cadastrarGrupo?conversationId=9

       

      The action is annotated as above:

       

      @Name("controleAcessoAction")

      @Scope(ScopeType.SESSION)

      public class ControleAcessoAction{

       

           public String example(){

                return "/cadastrarGrupo";

           }

       

      }

       

      Any tips will be helpfull.

       

      Thanks in advance.