Hello this is a stupid and very simple question
If you have set into the XPages proprierties the flag "use mobile themes for Xpages with prefix" in all XPages that begin with m_ the runtime add theme and CSS/JS resources for mobile..is it correct?
So... I have created two XPages named index.xsp and m_index.xsp
I need to redirect to correct XPages if the device is a Mobile (index.xsp) or Deskop (m_index.xsp). The only solution that I found is create a startup XPages named for example "redirect.xsp" and in BeforePageLoad event insert the SSJS code that read a User-Agent for redirect 302.
Is the good way or you have another best solution?
Tnx to all