[gatein-issues] [JBoss JIRA] (GTNPORTAL-2491) should use inline localization in script

Minh Hoang TO (JIRA) jira-events at lists.jboss.org
Tue Aug 7 06:24:07 EDT 2012


     [ https://issues.jboss.org/browse/GTNPORTAL-2491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Minh Hoang TO updated GTNPORTAL-2491:
-------------------------------------

    Labels: portal-s67  (was: )

    
> should use inline localization in script
> ----------------------------------------
>
>                 Key: GTNPORTAL-2491
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2491
>             Project: GateIn Portal
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>            Reporter: Trong Tran
>            Assignee: kien nguyen
>            Priority: Minor
>              Labels: portal-s67
>             Fix For: 3.4.0.Final
>
>
> To avoid this usage in UIDashboard.gtmpl.
> {code}
>   jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.SaveTitle='" + _ctx.appRes("UIDashboardContainer.label.SaveTitle") + "';");
>   jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.CancelTitle='" + _ctx.appRes("UIDashboardContainer.label.CancelTitle") + "';");
>   jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.Cache='" + _ctx.appRes("UIDashboardContainer.label.Cache") + "';");
>   jsmanager.addCustomizedOnLoadScript("eXo.gadget.UIGadget.Debug='" + _ctx.appRes("UIDashboardContainer.label.Debug") + "';");
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list