[Yanel-commits] rev 59219 - public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources
michi at wyona.com
michi at wyona.com
Wed Jul 6 22:03:31 CEST 2011
Author: michi
Date: 2011-07-06 22:03:31 +0200 (Wed, 06 Jul 2011)
New Revision: 59219
Modified:
public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java
Log:
mobile key build problem fixed temporarily
Modified: public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java
===================================================================
--- public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java 2011-07-06 19:49:02 UTC (rev 59218)
+++ public/yanel/trunk/src/impl/java/org/wyona/yanel/impl/resources/BasicXMLResource.java 2011-07-06 20:03:31 UTC (rev 59219)
@@ -453,7 +453,8 @@
String client = getClient(userAgent);
if (client != null) transformer.setParameter("client", client);
- String mobileDevice = (String) getEnvironment().getRequest().getSession(true).getAttribute(org.wyona.yanel.servlet.YanelServlet.MOBILE_KEY);
+ String mobileDevice = (String) getEnvironment().getRequest().getSession(true).getAttribute("yanel.mobile");
+ //TODO: String mobileDevice = (String) getEnvironment().getRequest().getSession(true).getAttribute(org.wyona.yanel.servlet.YanelServlet.MOBILE_KEY);
if (mobileDevice != null && !mobileDevice.equals("false")) {
//if (isMobileDevice(userAgent)) {
transformer.setParameter("is-mobile-device", "true");
More information about the Yanel-commits
mailing list