Author: remi
Date: 2009-07-28 18:11:20 +0200 (Tue, 28 Jul 2009)
New Revision: 5216
Modified:
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/02_resourceGagdetsServer.py
Log:
* Select the current user language to show the online gadgets data
Modified:
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/02_resourceGagdetsServer.py
===================================================================
---
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/02_resourceGagdetsServer.py
2009-07-28 16:00:44 UTC (rev 5215)
+++
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/02_resourceGagdetsServer.py
2009-07-28 16:11:20 UTC (rev 5216)
@@ -324,7 +324,7 @@
language = parameters['language']
gadgetsOnlineContainer =
resourceGadgetsServer.getGadgetsContainer().getGadgetsOnlineContainer()
gadgetsOnlineContainer.update()
- data = gadgetsOnlineContainer.getData("fr", filter)
+ data = gadgetsOnlineContainer.getData(language, filter)
if data == None:
contentStruct['root']['result'] = getStrError(E_TDREST_FAILED)
else:
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn