uPortal IRC Logs-2012-05-30

[13:08:50 CDT(-0500)] <EricDalquist> hrm ... these portlet and tab render scratch tables could get very big

[13:08:57 CDT(-0500)] <EricDalquist> not sure if 90% line info is worth it :/

[14:46:48 CDT(-0500)] <b-sure> hello uPortal devs: we are using "String themeName = request.getProperty(THEME_NAME_PROPERTY);" to detect mobile versus desktop in the web proxy portlet, do you know how the portal detects the theme?

[14:47:33 CDT(-0500)] <b-sure> rather how does uportal determin what to set as the theme name property?

[14:49:53 CDT(-0500)] <athena> it sets the name of the theme as a portlet request property

[14:50:05 CDT(-0500)] <athena> so the theme name matches up to whatever theme is being used by the portal for that session

[14:50:11 CDT(-0500)] <b-sure> hi athena.

[14:50:34 CDT(-0500)] <b-sure> so how is it determined at session start?

[14:51:01 CDT(-0500)] <athena> by the profile mapper

[14:51:15 CDT(-0500)] <athena> so it's just reflecting the choice the portal made for profile selection at login time

[14:51:30 CDT(-0500)] <athena> generally that's controlled by a regex listing in the spring config

[14:52:00 CDT(-0500)] <b-sure> ok. so when I view the portal in a mobile browser, the UniversalityMobile theme is selected for me

[14:52:26 CDT(-0500)] <b-sure> in the regular browser, the DLMXHTML theme is chosen.

[14:52:35 CDT(-0500)] <b-sure> I'm not sure where I specify or select that as a user

[14:52:51 CDT(-0500)] <b-sure> ok. so in spring config, there is some regex matching.

[14:53:32 CDT(-0500)] <b-sure> athena. do you know which spring config I can look at to see where the regex is happening?

[14:53:56 CDT(-0500)] <b-sure> its working nicely in 4.0.x

[14:54:09 CDT(-0500)] <b-sure> just trying to locate how this happens

[14:54:36 CDT(-0500)] <EricDalquist> usercontext.xml

[14:54:49 CDT(-0500)] <b-sure> ok. thanks EricDalquist and athena