[JBoss JIRA] (GTNPORTAL-2794) "; " is missing in the "UIGadgetViewMode.gtmpl"
by Racha Touzi (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2794?page=com.atlassian.jira.pl... ]
Racha Touzi updated GTNPORTAL-2794:
-----------------------------------
Issue Type: Bug (was: Feature Request)
> ";" is missing in the "UIGadgetViewMode.gtmpl"
> ----------------------------------------------
>
> Key: GTNPORTAL-2794
> URL: https://issues.jboss.org/browse/GTNPORTAL-2794
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Racha Touzi
> Labels: portal-s70
>
> The Gadget is not displayed due to the missing of ";" after ".....('$id')" in "/groovy/gadget/webui/componentUIGadgetViewMode.gtmpl" under the dashoboard war.
> {code}
> if(UIPortlet.getCurrentUIPortlet().getHeight() == null && uicomponent.getParent().isFillUpFreeSpace()) {
> requireJS.addScripts("gadget.UIGadget.resizeFullHeight('$id');");
> }
> {code}
> This missing ";" cause problem When requiring all javascripts.
> {code}
> require(["SHARED/base","SHARED/portal","SHARED/navigation","SHARED/navigation","SHARED/navigation-spaces-search","SHARED/gadget","SHARED/social-core","PORTLET/platformNavigation/UISearchPlatformToolbarPortlet","SHARED/common"],function(base,portal,navigation,nav,spacesSearch,gadget) {
> eXo.env.server.portalBaseURL="/portal/g/:developers/ide";
> eXo.env.server.portalURLTemplate="/portal/g/:developers/ide?portal:componentId={portal:componentId}&portal:action={portal:action}";
> portal.UIPortal.initMouseHover('UIToolbarContainer');
> navigation.UIPortalNavigation.onLoad("UIUserPlatformToolBarPortlet");
> nav.UIPortalNavigation.onLoad('UICreatePlatformToolBarPortlet');nav.UIPortalNavigation.onLoad('UICreateList');navigation.UIPortalNavigation.onLoad("UISetupPlatformToolBarPortlet");nav.UIPortalNavigation.onLoad('UIAdminToolbarContainer');
> spacesSearch.UISpaceNavigation.init('UISpaceNavigationPortlet','/portal/rest/space/user/searchSpace/','Rechercher des espaces','Aucun espace trouvé','javascript%3AajaxGet%28%27%2Fportal%2Fg%2F%3Adevelopers%2Fide%3Fportal%3AcomponentId%3D61c4e149-f3bd-4c34-8007-92bf5f122c3c%26interactionstate%3DJBPNS_rO0ABXdMAAJvcAAAAAEADkxvYWROYXZpZ2F0aW9uAAt1aWNvbXBvbmVudAAAAAEAGFVJU3BhY2VOYXZpZ2F0aW9uUG9ydGxldAAHX19FT0ZfXw**%26portal%3Atype%3Daction%26ajaxRequest%3Dtrue%27%29');
> gadget.UIGadget.createGadget('http://plf-4.0.0.alpha1-plf-upgrade-ide-snapshot.acceptance3.exoplatform....','UIGadgetViewMode-19aae43f-7e6c-4eb2-a915-71f6efaf70ba', {"userPrefs":{},"views":{"default":{"name":"default","preferredHeight":0,"attributes":{},"type":"html","quirks":true,"preferredWidth":0}},"modulePrefs":{"screenshot":"","authorEmail":"info(a)exoplatform.com.ua","width":0,"authorLink":"","links":{},"scaling":false,"author":"eXo Platform","title":"IDE","height":500,"thumbnail":"","titleUrl":"","scrolling":false,"description":"IDE","features":{"dynamic-height":{"name":"dynamic-height","required":true},"core":{"name":"core","required":true}},"categories":["",""],"authorPhoto":""},"secureToken":"default:6y3Tb5POlih4Nkt2yDrEVKcJwNJnjgSlM753Mdvu78Iuk_S0Y7YhyK-9qt6WU4zcK3R278XNslxcHn-LL_H8_Y6xYQGnc_iMrA78zI1ncFuJwW44cbGNa-lkeiGszWXt5Yq-hI7JW6tXiXaAsnyae9ZxViC_WcWM1jm25jxXpJ8sRkAUN6L-9ETyIFBIlxclspvsC1G3ayQs0SeXkailWgs2fVJOsBTcOJewg37pooDcjpSGXy0hBkWaIer45Xmmk0Gvn8MOExihUBtoMiiANFAJ6JhpyB-0KveFn--MNmWHdKSJSWI9W5qZFXimlRSzY2LuiedJ6XIZv86KXrjE1_i_XsJfsLi9-fUE0WsNPQxesbIOF4oCDLfvQLxLGf1xO67Deg_gg50ks2RwG-ne47PrNkUSNdIpd0pbzkgQsaqlIzE_RmZBiXsK6-M2MAjTQ7dHWQKPjDK70pxcJaKBr_cJ8Fw6jkUil1ogZ0j5Uwbu0vw44EwUwaesByaCQBBTX5oFwPS8ArUAD37Drw7hecrOsMY","url":"http://plf-4.0.0.alpha1-plf-upgrade-ide-snapshot.acceptance3.exoplatform....","iframeUrl":"http://plf-4.0.0.alpha1-plf-upgrade-ide-snapshot.acceptance3.exoplatform...."}, null, 'canvas', 'http://plf-4.0.0.alpha1-plf-upgrade-ide-snapshot.acceptance3.exoplatform....', 0, 0);
> gadget.UIGadget.resizeFullHeight('UIGadgetViewMode-19aae43f-7e6c-4eb2-a915-71f6efaf70ba')base.Browser.onLoad();
> }
> );
> {code}
> exactly in requiring Gadget JAvascript (last):
> {code}
> gadget.UIGadget.resizeFullHeight('UIGadgetViewMode-19aae43f-7e6c-4eb2-a915-71f6efaf70ba')base.Browser.onLoad();});
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months
[JBoss JIRA] (GTNPORTAL-2794) "; " is missing in the "UIGadgetViewMode.gtmpl"
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2794?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-2794:
----------------------------------
Labels: portal-s70 (was: )
> ";" is missing in the "UIGadgetViewMode.gtmpl"
> ----------------------------------------------
>
> Key: GTNPORTAL-2794
> URL: https://issues.jboss.org/browse/GTNPORTAL-2794
> Project: GateIn Portal
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Racha Touzi
> Labels: portal-s70
>
> The Gadget is not displayed due to the missing of ";" after ".....('$id')" in "/groovy/gadget/webui/componentUIGadgetViewMode.gtmpl" under the dashoboard war.
> {code}
> if(UIPortlet.getCurrentUIPortlet().getHeight() == null && uicomponent.getParent().isFillUpFreeSpace()) {
> requireJS.addScripts("gadget.UIGadget.resizeFullHeight('$id');");
> }
> {code}
> This missing ";" cause problem When requiring all javascripts.
> {code}
> require(["SHARED/base","SHARED/portal","SHARED/navigation","SHARED/navigation","SHARED/navigation-spaces-search","SHARED/gadget","SHARED/social-core","PORTLET/platformNavigation/UISearchPlatformToolbarPortlet","SHARED/common"],function(base,portal,navigation,nav,spacesSearch,gadget) {
> eXo.env.server.portalBaseURL="/portal/g/:developers/ide";
> eXo.env.server.portalURLTemplate="/portal/g/:developers/ide?portal:componentId={portal:componentId}&portal:action={portal:action}";
> portal.UIPortal.initMouseHover('UIToolbarContainer');
> navigation.UIPortalNavigation.onLoad("UIUserPlatformToolBarPortlet");
> nav.UIPortalNavigation.onLoad('UICreatePlatformToolBarPortlet');nav.UIPortalNavigation.onLoad('UICreateList');navigation.UIPortalNavigation.onLoad("UISetupPlatformToolBarPortlet");nav.UIPortalNavigation.onLoad('UIAdminToolbarContainer');
> spacesSearch.UISpaceNavigation.init('UISpaceNavigationPortlet','/portal/rest/space/user/searchSpace/','Rechercher des espaces','Aucun espace trouvé','javascript%3AajaxGet%28%27%2Fportal%2Fg%2F%3Adevelopers%2Fide%3Fportal%3AcomponentId%3D61c4e149-f3bd-4c34-8007-92bf5f122c3c%26interactionstate%3DJBPNS_rO0ABXdMAAJvcAAAAAEADkxvYWROYXZpZ2F0aW9uAAt1aWNvbXBvbmVudAAAAAEAGFVJU3BhY2VOYXZpZ2F0aW9uUG9ydGxldAAHX19FT0ZfXw**%26portal%3Atype%3Daction%26ajaxRequest%3Dtrue%27%29');
> gadget.UIGadget.createGadget('http://plf-4.0.0.alpha1-plf-upgrade-ide-snapshot.acceptance3.exoplatform....','UIGadgetViewMode-19aae43f-7e6c-4eb2-a915-71f6efaf70ba', {"userPrefs":{},"views":{"default":{"name":"default","preferredHeight":0,"attributes":{},"type":"html","quirks":true,"preferredWidth":0}},"modulePrefs":{"screenshot":"","authorEmail":"info(a)exoplatform.com.ua","width":0,"authorLink":"","links":{},"scaling":false,"author":"eXo Platform","title":"IDE","height":500,"thumbnail":"","titleUrl":"","scrolling":false,"description":"IDE","features":{"dynamic-height":{"name":"dynamic-height","required":true},"core":{"name":"core","required":true}},"categories":["",""],"authorPhoto":""},"secureToken":"default:6y3Tb5POlih4Nkt2yDrEVKcJwNJnjgSlM753Mdvu78Iuk_S0Y7YhyK-9qt6WU4zcK3R278XNslxcHn-LL_H8_Y6xYQGnc_iMrA78zI1ncFuJwW44cbGNa-lkeiGszWXt5Yq-hI7JW6tXiXaAsnyae9ZxViC_WcWM1jm25jxXpJ8sRkAUN6L-9ETyIFBIlxclspvsC1G3ayQs0SeXkailWgs2fVJOsBTcOJewg37pooDcjpSGXy0hBkWaIer45Xmmk0Gvn8MOExihUBtoMiiANFAJ6JhpyB-0KveFn--MNmWHdKSJSWI9W5qZFXimlRSzY2LuiedJ6XIZv86KXrjE1_i_XsJfsLi9-fUE0WsNPQxesbIOF4oCDLfvQLxLGf1xO67Deg_gg50ks2RwG-ne47PrNkUSNdIpd0pbzkgQsaqlIzE_RmZBiXsK6-M2MAjTQ7dHWQKPjDK70pxcJaKBr_cJ8Fw6jkUil1ogZ0j5Uwbu0vw44EwUwaesByaCQBBTX5oFwPS8ArUAD37Drw7hecrOsMY","url":"http://plf-4.0.0.alpha1-plf-upgrade-ide-snapshot.acceptance3.exoplatform....","iframeUrl":"http://plf-4.0.0.alpha1-plf-upgrade-ide-snapshot.acceptance3.exoplatform...."}, null, 'canvas', 'http://plf-4.0.0.alpha1-plf-upgrade-ide-snapshot.acceptance3.exoplatform....', 0, 0);
> gadget.UIGadget.resizeFullHeight('UIGadgetViewMode-19aae43f-7e6c-4eb2-a915-71f6efaf70ba')base.Browser.onLoad();
> }
> );
> {code}
> exactly in requiring Gadget JAvascript (last):
> {code}
> gadget.UIGadget.resizeFullHeight('UIGadgetViewMode-19aae43f-7e6c-4eb2-a915-71f6efaf70ba')base.Browser.onLoad();});
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months