Announcement Announcement Module
Collapse
No announcement yet.
Non-hardcoded redirect domain for SiteSwitcherHandlerInterceptor Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 02:07 AM.

  • #2
    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

    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

    Comment

    Working...
    X