Hi,
When I use Carbon jsi18n mapping in JavaScript, it generates 'ReferenceError:
org_wso2_carbon_event_publisher_ui_jsi18n is not defined' error in the
browser. The page source has the variable
*org_wso2_carbon_registry_resource_ui_jsi18n* instead of
*org_wso2_carbon_event_publisher_ui_jsi18n*.
The JSP and JavaScript code snippets are given below:
*resources/web/eventpublisher/index.jsp:*
...
<carbon:jsi18n
resourceBundle="org.wso2.carbon.event.publisher.ui.i18n.Resources"
request="<%=request%>"
namespace="org.wso2.carbon.event.publisher.ui"/>
...
*resources/web/eventpublisher/js/event_publisher.js:*
...
CARBON.showErrorDialog(org_wso2_carbon_event_publisher_ui_jsi18n["registry.resource.cache.timeout.nan"]);
...
*org/wso2/carbon/event/publisher/ui/i18n/Resources.properties:*
...
registry.resource.cache.timeout.nan=Cache timeout is not a numeric value:
...
Could anyone suggest a solution for this?
Thanks
Regards,
Gobinath
--
*Gobinath **Loganathan*
Software Engineer, WSO2 Inc. http://wso2.com
Email : [email protected]
Mobile : (+94) 770 780 210
Blog : javahelps.com <http://www.javahelps.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev