1 Reply Latest reply on Jul 17, 2009 5:50 PM by asookazian

    provide example of how to use httpPort

    asookazian

      from Seam ref guide:


      org.jboss.seam.navigation.pages
      Internal component for Seam workspace management. Always installed.
      • org.jboss.seam.navigation.pages.noConversationViewId — global setting for the
      view id to redirect to when a conversation entry is not found on the server side.
      • org.jboss.seam.navigation.pages.loginViewId — global setting for the view id to
      redirect to when an unauthenticated user tries to access a protected view.
      • org.jboss.seam.navigation.pages.httpPort — global setting for the port to use when
      the http scheme is requested.
      • org.jboss.seam.navigation.pages.httpsPort — global setting for the port to use when
      the https scheme is requested.
      • org.jboss.seam.navigation.pages.resources — a list of resources to search for
      pages.xml style resources. Defaults to WEB-INF/pages.xml.



      I'm interested in the org.jboss.seam.navigation.pages.httpPort so we can default a post-pended port number (e.g. 2100) to our URL for a Seam app on a particular instance of JBoss in a 2 node horz cluster.  Currently, we must post-pend statically (bookmarkable with port number which is not good) and we'd like to make this dynamic if possible.  We don't have a load balancer so that's why we're doing it this way.


      Someone plz provide an example of how to configure this either as EL or similar (to read from DB dynamically) as there are no references to httpPort in the examples of Seam distro.  thx.