3 Replies Latest reply on Apr 23, 2010 4:03 PM by cosmo

    mobile and web application needs diferent login pages

    suayipozmen

      i want to create mobile client of my web application.
      but cannot handle login process. there are two different login pages.
      but pages.xml i can only give one login page. both login pages use same authenticator.


      how can i detect mobile access and redirect it to mobile/base/login.xhtml


      <pages xmlns="http://jboss.com/products/seam/pages"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.1.xsd"
      
             no-conversation-view-id="/base/home.xhtml"
             login-view-id="/base/login.xhtml">