Results 1 to 2 of 2

Thread: Non-hardcoded redirect domain for SiteSwitcherHandlerInterceptor

  1. #1
    Join Date
    Nov 2011
    Posts
    1

    Default Non-hardcoded redirect domain for SiteSwitcherHandlerInterceptor

    Hi everyone,

    Currently in order redirect your non-mobile site to a mobile site you have to hardcode the domain within the XML config when using SiteSwitcherHandlerInterceptor. Isn't there any way where one can programmatically initialize the domain as this would give some flexibility? If not then I presume you would have to create your own custom Interceptor then?


    Regards,

    Steve
    Last edited by johnstv; Nov 10th, 2011 at 01:07 AM.

  2. #2

    Default Sadly, no

    You could potentially try to get the live object and thange the mobilePath, tabletPath and rootPath manually, but that would be really weird. Does it really have to be set at runtime? could you clarify your use case more precisely?

    ab

    Quote Originally Posted by johnstv View Post
    Hi everyone,

    Currently in order redirect your non-mobile site to a mobile site you have to hardcode the domain within the XML config when using SiteSwitcherHandlerInterceptor. Isn't there any way where one can programmatically initialize the domain as this would give some flexibility? If not then I presume you would have to create your own custom Interceptor then?


    Regards,

    Steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •