[JBoss JIRA] (GTNPORTAL-2770) Bug JS: happens when js file in module contains tab charecter at header
by Pham Duy Dong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2770?page=com.atlassian.jira.pl... ]
Pham Duy Dong updated GTNPORTAL-2770:
-------------------------------------
Description:
- Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
{code:xml}
...
<module>
<name>moduleName</name>
<script>
<path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
</script>
</module>
...
{code}
- Require it in groovy template file
- In a javascript file (ex: WCMUIPopupWindow.js):
If comment at top file contains tab character(\t) at begining line, js bug happens
After remove tab, bug js also not happens anymore
-- js file with tab at header
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Some comments...
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
-- js file after remove tab
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Some comments...
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
was:
- Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
{code:xml}
...
<module>
<name>moduleName</name>
<script>
<path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
</script>
</module>
...
{code}
- Require it in groovy template file
- In a javascript file (ex: WCMUIPopupWindow.js):
If comment at top file contains tab character(\t) at begining line, js bug happens
After remove tab, bug js also not happens anymore
-- js file with tab at header
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
* Some comments...
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
-- js file after remove tab
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
* Some comments...
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
> Bug JS: happens when js file in module contains tab charecter at header
> -----------------------------------------------------------------------
>
> Key: GTNPORTAL-2770
> URL: https://issues.jboss.org/browse/GTNPORTAL-2770
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.0.Final
> Reporter: Pham Duy Dong
> Priority: Minor
>
> - Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
> {code:xml}
> ...
> <module>
> <name>moduleName</name>
> <script>
> <path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
> </script>
> </module>
> ...
> {code}
> - Require it in groovy template file
> - In a javascript file (ex: WCMUIPopupWindow.js):
> If comment at top file contains tab character(\t) at begining line, js bug happens
> After remove tab, bug js also not happens anymore
> -- js file with tab at header
> {code:title=WCMUIPopupWindow.js|borderStyle=solid}
> /**
> * Some comments...
> */
> (function(gj, wcm_utils, common, uiForm) {
> ...
> {code}
> -- js file after remove tab
> {code:title=WCMUIPopupWindow.js|borderStyle=solid}
> /**
> * Some comments...
> */
> (function(gj, wcm_utils, common, uiForm) {
> ...
> {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
11 years, 6 months
[JBoss JIRA] (GTNPORTAL-2770) Bug JS: happens when js file in module contains tab charecter at header
by Pham Duy Dong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2770?page=com.atlassian.jira.pl... ]
Pham Duy Dong updated GTNPORTAL-2770:
-------------------------------------
Description:
- Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
{code:xml}
...
<module>
<name>moduleName</name>
<script>
<path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
</script>
</module>
...
{code}
- Require it in groovy template file
- In a javascript file (ex: WCMUIPopupWindow.js):
If comment at top file contains tab character(\t) at begining line, js bug happens
After remove tab, bug js also not happens anymore
-- js file with tab at header
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
* Some comments...
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
-- js file after remove tab
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
* Some comments...
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
was:
- Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
{code:xml}
...
<module>
<name>moduleName</name>
<script>
<path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
</script>
</module>
...
{code}
- Require it in groovy template file
- In a javascript file (ex: WCMUIPopupWindow.js):
If comment at top file contains tab character(\t) at begining line, js bug happens
After remove tab, bug js also not happens anymore
-- js file with tab at header
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
-- js file after remove tab
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
> Bug JS: happens when js file in module contains tab charecter at header
> -----------------------------------------------------------------------
>
> Key: GTNPORTAL-2770
> URL: https://issues.jboss.org/browse/GTNPORTAL-2770
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.0.Final
> Reporter: Pham Duy Dong
> Priority: Minor
>
> - Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
> {code:xml}
> ...
> <module>
> <name>moduleName</name>
> <script>
> <path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
> </script>
> </module>
> ...
> {code}
> - Require it in groovy template file
> - In a javascript file (ex: WCMUIPopupWindow.js):
> If comment at top file contains tab character(\t) at begining line, js bug happens
> After remove tab, bug js also not happens anymore
> -- js file with tab at header
> {code:title=WCMUIPopupWindow.js|borderStyle=solid}
> /**
> * Copyright (C) 2009 eXo Platform SAS.
> * Some comments...
> */
> (function(gj, wcm_utils, common, uiForm) {
> ...
> {code}
> -- js file after remove tab
> {code:title=WCMUIPopupWindow.js|borderStyle=solid}
> /**
> * Copyright (C) 2009 eXo Platform SAS.
> * Some comments...
> */
> (function(gj, wcm_utils, common, uiForm) {
> ...
> {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
11 years, 6 months
[JBoss JIRA] (GTNPORTAL-2770) Bug JS: happens when js file in module contains tab charecter at header
by Pham Duy Dong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2770?page=com.atlassian.jira.pl... ]
Pham Duy Dong updated GTNPORTAL-2770:
-------------------------------------
Description:
- Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
{code:xml}
...
<module>
<name>moduleName</name>
<script>
<path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
</script>
</module>
...
{code}
- Require it in groovy template file
- In a javascript file (ex: WCMUIPopupWindow.js):
If comment at top file contains tab character(\t) at begining line, js bug happens
After remove tab, bug js also not happens anymore
-- js file with tab at header
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
-- js file after remove tab
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
was:
- Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
{code:xml}
...
<module>
<name>ecm-seo</name>
<as>ecmSeo</as>
<script>
<path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
</script>
<depends>
<module>jquery</module>
<as>gj</as>
</depends>
<depends>
<module>wcm-utils</module>
</depends>
<depends>
<module>common</module>
</depends>
<depends>
<module>uiForm</module>
</depends>
</module>
...
{code}
- Require it in groovy template file
- In a javascript file (ex: WCMUIPopupWindow.js):
If comment at top file contains tab character(\t) at begining line, js bug happens
After remove tab, bug js also not happens anymore
-- js file with tab at header
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
-- js file after remove tab
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
> Bug JS: happens when js file in module contains tab charecter at header
> -----------------------------------------------------------------------
>
> Key: GTNPORTAL-2770
> URL: https://issues.jboss.org/browse/GTNPORTAL-2770
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.0.Final
> Reporter: Pham Duy Dong
> Priority: Minor
>
> - Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
> {code:xml}
> ...
> <module>
> <name>moduleName</name>
> <script>
> <path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
> </script>
> </module>
> ...
> {code}
> - Require it in groovy template file
> - In a javascript file (ex: WCMUIPopupWindow.js):
> If comment at top file contains tab character(\t) at begining line, js bug happens
> After remove tab, bug js also not happens anymore
> -- js file with tab at header
> {code:title=WCMUIPopupWindow.js|borderStyle=solid}
> /**
> * Copyright (C) 2009 eXo Platform SAS.
> *
> * This is free software; you can redistribute it and/or modify it
> * under the terms of the GNU Lesser General Public License as
> * published by the Free Software Foundation; either version 2.1 of
> * the License, or (at your option) any later version.
> *
> * This software is distributed in the hope that it will be useful,
> * but WITHOUT ANY WARRANTY; without even the implied warranty of
> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> * Lesser General Public License for more details.
> *
> * You should have received a copy of the GNU Lesser General Public
> * License along with this software; if not, write to the Free
> * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> */
> (function(gj, wcm_utils, common, uiForm) {
> ...
> {code}
> -- js file after remove tab
> {code:title=WCMUIPopupWindow.js|borderStyle=solid}
> /**
> * Copyright (C) 2009 eXo Platform SAS.
> *
> * This is free software; you can redistribute it and/or modify it
> * under the terms of the GNU Lesser General Public License as
> * published by the Free Software Foundation; either version 2.1 of
> * the License, or (at your option) any later version.
> *
> * This software is distributed in the hope that it will be useful,
> * but WITHOUT ANY WARRANTY; without even the implied warranty of
> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> * Lesser General Public License for more details.
> *
> * You should have received a copy of the GNU Lesser General Public
> * License along with this software; if not, write to the Free
> * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> */
> (function(gj, wcm_utils, common, uiForm) {
> ...
> {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
11 years, 6 months
[JBoss JIRA] (GTNPORTAL-2770) Bug JS: happens when js file in module contains tab charecter at header
by Pham Duy Dong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2770?page=com.atlassian.jira.pl... ]
Pham Duy Dong updated GTNPORTAL-2770:
-------------------------------------
Description:
- Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
{code:xml}
...
<module>
<name>ecm-seo</name>
<as>ecmSeo</as>
<script>
<path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
</script>
<depends>
<module>jquery</module>
<as>gj</as>
</depends>
<depends>
<module>wcm-utils</module>
</depends>
<depends>
<module>common</module>
</depends>
<depends>
<module>uiForm</module>
</depends>
</module>
...
{code}
- Require it in groovy template file
- In a javascript file (ex: WCMUIPopupWindow.js):
If comment at top file contains tab character(\t) at begining line, js bug happens
After remove tab, bug js also not happens anymore
-- js file with tab at header
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
-- js file after remove tab
{code:title=WCMUIPopupWindow.js|borderStyle=solid}
/**
* Copyright (C) 2009 eXo Platform SAS.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
(function(gj, wcm_utils, common, uiForm) {
...
{code}
was:
- Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
{code:xml}
...
<module>
<name>ecm-seo</name>
<as>ecmSeo</as>
<script>
<path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
</script>
<depends>
<module>jquery</module>
<as>gj</as>
</depends>
<depends>
<module>wcm-utils</module>
</depends>
<depends>
<module>common</module>
</depends>
<depends>
<module>uiForm</module>
</depends>
</module>
...
{code}
- Require it in groovy template file
- In a javascript file (ex: WCMUIPopupWindow.js):
If comment at top file contains tab character(\t) js bug happen
After remove tab, bug js also not happen anymore
> Bug JS: happens when js file in module contains tab charecter at header
> -----------------------------------------------------------------------
>
> Key: GTNPORTAL-2770
> URL: https://issues.jboss.org/browse/GTNPORTAL-2770
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.0.Final
> Reporter: Pham Duy Dong
> Priority: Minor
>
> - Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
> {code:xml}
> ...
> <module>
> <name>ecm-seo</name>
> <as>ecmSeo</as>
> <script>
> <path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
> </script>
> <depends>
> <module>jquery</module>
> <as>gj</as>
> </depends>
> <depends>
> <module>wcm-utils</module>
> </depends>
> <depends>
> <module>common</module>
> </depends>
> <depends>
> <module>uiForm</module>
> </depends>
> </module>
> ...
> {code}
> - Require it in groovy template file
> - In a javascript file (ex: WCMUIPopupWindow.js):
> If comment at top file contains tab character(\t) at begining line, js bug happens
> After remove tab, bug js also not happens anymore
> -- js file with tab at header
> {code:title=WCMUIPopupWindow.js|borderStyle=solid}
> /**
> * Copyright (C) 2009 eXo Platform SAS.
> *
> * This is free software; you can redistribute it and/or modify it
> * under the terms of the GNU Lesser General Public License as
> * published by the Free Software Foundation; either version 2.1 of
> * the License, or (at your option) any later version.
> *
> * This software is distributed in the hope that it will be useful,
> * but WITHOUT ANY WARRANTY; without even the implied warranty of
> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> * Lesser General Public License for more details.
> *
> * You should have received a copy of the GNU Lesser General Public
> * License along with this software; if not, write to the Free
> * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> */
> (function(gj, wcm_utils, common, uiForm) {
> ...
> {code}
> -- js file after remove tab
> {code:title=WCMUIPopupWindow.js|borderStyle=solid}
> /**
> * Copyright (C) 2009 eXo Platform SAS.
> *
> * This is free software; you can redistribute it and/or modify it
> * under the terms of the GNU Lesser General Public License as
> * published by the Free Software Foundation; either version 2.1 of
> * the License, or (at your option) any later version.
> *
> * This software is distributed in the hope that it will be useful,
> * but WITHOUT ANY WARRANTY; without even the implied warranty of
> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> * Lesser General Public License for more details.
> *
> * You should have received a copy of the GNU Lesser General Public
> * License along with this software; if not, write to the Free
> * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> */
> (function(gj, wcm_utils, common, uiForm) {
> ...
> {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
11 years, 6 months
[JBoss JIRA] (GTNPORTAL-2770) Bug JS: happens when js file in module contains tab charecter at header
by Pham Duy Dong (JIRA)
Pham Duy Dong created GTNPORTAL-2770:
----------------------------------------
Summary: Bug JS: happens when js file in module contains tab charecter at header
Key: GTNPORTAL-2770
URL: https://issues.jboss.org/browse/GTNPORTAL-2770
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 3.5.0.Final
Reporter: Pham Duy Dong
Priority: Minor
- Declare that js(ex: WCMUIPopupWindow.js) file in gatein-resources.xml
{code:xml}
...
<module>
<name>ecm-seo</name>
<as>ecmSeo</as>
<script>
<path>/javascript/eXo/webui/WCMUIPopupWindow.js</path>
</script>
<depends>
<module>jquery</module>
<as>gj</as>
</depends>
<depends>
<module>wcm-utils</module>
</depends>
<depends>
<module>common</module>
</depends>
<depends>
<module>uiForm</module>
</depends>
</module>
...
{code}
- Require it in groovy template file
- In a javascript file (ex: WCMUIPopupWindow.js):
If comment at top file contains tab character(\t) js bug happen
After remove tab, bug js also not happen anymore
--
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
11 years, 6 months
[JBoss JIRA] (GTNPORTAL-2758) Add ability to remove shared layout from a portal
by Viliam Rockai (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2758?page=com.atlassian.jira.pl... ]
Viliam Rockai commented on GTNPORTAL-2758:
------------------------------------------
The easiest way I've found how to do it, is making mobile part in a separate 'portal container'. That portal container will have it's own sharedLayout.xml with none or specific admin toolbar.
> Add ability to remove shared layout from a portal
> -------------------------------------------------
>
> Key: GTNPORTAL-2758
> URL: https://issues.jboss.org/browse/GTNPORTAL-2758
> Project: GateIn Portal
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Mobile, WebUI
> Reporter: Matt Wringe
> Assignee: Viliam Rockai
>
> We need to have the ability to remove the shared layout from a particular portal if we do not wish to use these portlets.
> As part of the mobile initiative, we will most likely need to have separate mobile specific portlets to handle the same functionality
--
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
11 years, 6 months
[JBoss JIRA] (GTNPORTAL-2767) Error Messages when using forward
by Frederic Hornain (JIRA)
Frederic Hornain created GTNPORTAL-2767:
-------------------------------------------
Summary: Error Messages when using forward
Key: GTNPORTAL-2767
URL: https://issues.jboss.org/browse/GTNPORTAL-2767
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Common integration
Affects Versions: 3.5.0.Beta02
Environment: Gate In 3.5.0 Beta02 on top of EAP6
Reporter: Frederic Hornain
Indeed, the customer portal team has an issue regarding the navigation in portal.
They are currently trying navigation.
They would to go to another page by using a forward:
private void executeNavigation(String nodeURL) {
PortalRequestContext requestContext = null;
ServletRequest request = null;
ServletResponse response = null;
String requestContextPath = null;
String trimmedNodeURL = null;
RequestDispatcher dispatcher = null;
requestContext = Util.getPortalRequestContext();
request = requestContext.getRequest();
response = requestContext.getResponse();
requestContextPath = requestContext.getPortalContextPath();
// Remove the portal context path from the nodeURL
// e.g. if nodeURL = "/portal/hello", and portal context path = "/portal" then trimmedNodeURL = "/hello"
trimmedNodeURL = nodeURL.substring(requestContextPath != null ? requestContextPath.length() : 0);
dispatcher = request.getRequestDispatcher(trimmedNodeURL);
try {
dispatcher.forward(request, response);
} catch (Exception e) {
// TODO
}
}
It works and they are well redirected to the corresponding page.
However, customer receive an error (see attached log file).
Then would it be possible to fix this issue ?
--
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
11 years, 6 months