Nov 10th, 2011, 12:26 AM
Non-hardcoded redirect domain for SiteSwitcherHandlerInterceptor
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?
Last edited by johnstv; Nov 10th, 2011 at 01:07 AM.
Mar 7th, 2013, 04:10 PM
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?
Originally Posted by johnstv