From issues at jboss.org Thu Oct 1 03:31:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 03:31:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 03:31:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 03:31:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 03:31:02 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 03:31:02 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 03:31:03 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 03:31:03 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 03:41:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 03:41:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 03:43:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 03:43:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 06:35:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 06:35:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 06:44:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 06:44:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:29:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:29:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:29:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:29:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:33:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:33:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:40:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:40:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:40:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:40:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2213) Trigger an event when updating User info In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2213 started by Hai Nguyen. --------------------------------------------- > Trigger an event when updating User info > ---------------------------------------- > > Key: GTNPORTAL-2213 > URL: https://issues.jboss.org/browse/GTNPORTAL-2213 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Trong Tran > Assignee: Hai Nguyen > Labels: portal-s63, synced > Fix For: 4.x > > > it would help for portlets to know when user profile is updated and handle it correspondingly. > The event name can be something like "UserChange" -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:43:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:43:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2536) Apache DBBrowser portlet not work properly on GateIn In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2536 started by Hai Nguyen. --------------------------------------------- > Apache DBBrowser portlet not work properly on GateIn > ---------------------------------------------------- > > Key: GTNPORTAL-2536 > URL: https://issues.jboss.org/browse/GTNPORTAL-2536 > Project: GateIn Portal > Issue Type: Task > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > > The Apache DBBrowser http://www.apache.org/dyn/closer.cgi/portals/applications/binaries/apa-dbbrowser-war-1.2.war -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:45:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:45:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2569) Configuration to run test with MySQL In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2569 started by Hai Nguyen. --------------------------------------------- > Configuration to run test with MySQL > ------------------------------------ > > Key: GTNPORTAL-2569 > URL: https://issues.jboss.org/browse/GTNPORTAL-2569 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > > Branch development https://github.com/exoportal/gatein-portal/tree/test-mysql-conf -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:46:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:46:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2536) Apache DBBrowser portlet not work properly on GateIn In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2536 stopped by Hai Nguyen. --------------------------------------------- > Apache DBBrowser portlet not work properly on GateIn > ---------------------------------------------------- > > Key: GTNPORTAL-2536 > URL: https://issues.jboss.org/browse/GTNPORTAL-2536 > Project: GateIn Portal > Issue Type: Task > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > > The Apache DBBrowser http://www.apache.org/dyn/closer.cgi/portals/applications/binaries/apa-dbbrowser-war-1.2.war -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:46:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:46:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:46:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:46:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:46:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:46:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2569) Configuration to run test with MySQL In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2569 stopped by Hai Nguyen. --------------------------------------------- > Configuration to run test with MySQL > ------------------------------------ > > Key: GTNPORTAL-2569 > URL: https://issues.jboss.org/browse/GTNPORTAL-2569 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > > Branch development https://github.com/exoportal/gatein-portal/tree/test-mysql-conf -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 22:46:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 22:46:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2213) Trigger an event when updating User info In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2213 stopped by Hai Nguyen. --------------------------------------------- > Trigger an event when updating User info > ---------------------------------------- > > Key: GTNPORTAL-2213 > URL: https://issues.jboss.org/browse/GTNPORTAL-2213 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Trong Tran > Assignee: Hai Nguyen > Labels: portal-s63, synced > Fix For: 4.x > > > it would help for portlets to know when user profile is updated and handle it correspondingly. > The event name can be something like "UserChange" -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 23:07:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 23:07:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3346) Message for disabled user when searching in Group Management In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3346?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114361#comment-13114361 ] Hai Nguyen commented on GTNPORTAL-3346: --------------------------------------- This issues was fixed > Message for disabled user when searching in Group Management > ------------------------------------------------------------ > > Key: GTNPORTAL-3346 > URL: https://issues.jboss.org/browse/GTNPORTAL-3346 > Project: GateIn Portal > Issue Type: Task > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Fix For: 3.7.0.Final > > Original Estimate: 1 hour > Time Spent: 1 hour > Remaining Estimate: 0 minutes > > Steps to reproduce: > - Login as Root and disable user John > - Go to Group management and search john > - Message is displayed: User "john" doesn't exist. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 23:49:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 23:49:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114364#comment-13114364 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues was fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 23:51:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 23:51:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114365#comment-13114365 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues was fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 1 23:54:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 1 Oct 2015 23:54:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114367#comment-13114367 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues was fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:01:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:01:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:01:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:01:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:04:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:04:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2213) Trigger an event when updating User info In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2213 started by Hai Nguyen. --------------------------------------------- > Trigger an event when updating User info > ---------------------------------------- > > Key: GTNPORTAL-2213 > URL: https://issues.jboss.org/browse/GTNPORTAL-2213 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Trong Tran > Assignee: Hai Nguyen > Labels: portal-s63, synced > Fix For: 4.x > > > it would help for portlets to know when user profile is updated and handle it correspondingly. > The event name can be something like "UserChange" -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:09:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:09:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2536) Apache DBBrowser portlet not work properly on GateIn In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2536 started by Hai Nguyen. --------------------------------------------- > Apache DBBrowser portlet not work properly on GateIn > ---------------------------------------------------- > > Key: GTNPORTAL-2536 > URL: https://issues.jboss.org/browse/GTNPORTAL-2536 > Project: GateIn Portal > Issue Type: Task > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > > The Apache DBBrowser http://www.apache.org/dyn/closer.cgi/portals/applications/binaries/apa-dbbrowser-war-1.2.war -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:09:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:09:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2569) Configuration to run test with MySQL In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2569 started by Hai Nguyen. --------------------------------------------- > Configuration to run test with MySQL > ------------------------------------ > > Key: GTNPORTAL-2569 > URL: https://issues.jboss.org/browse/GTNPORTAL-2569 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > > Branch development https://github.com/exoportal/gatein-portal/tree/test-mysql-conf -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:12:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:12:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2713) GateIn doesn't work after reloading AS7 In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2713 started by Hai Nguyen. --------------------------------------------- > GateIn doesn't work after reloading AS7 > --------------------------------------- > > Key: GTNPORTAL-2713 > URL: https://issues.jboss.org/browse/GTNPORTAL-2713 > Project: GateIn Portal > Issue Type: Bug > Reporter: Stian Thorgersen > Assignee: Hai Nguyen > Original Estimate: 4 hours > Time Spent: 5 hours > Remaining Estimate: 1 day > > GateIn doesn't work after AS7 has been reloaded (using the management interface). > Stack trace: > {code} > 14:25:48,980 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."gatein.ear".gatein.init: org.jboss.msc.service.StartException in service jboss.deployment.unit."gatein.ear".gatein.init: Failed to start service > at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09] > at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09] > Caused by: org.picocontainer.defaults.DuplicateComponentKeyRegistrationException: Key class org.gatein.integration.wsrp.plugins.AS7Plugins duplicated > at org.exoplatform.container.ConcurrentPicoContainer.registerComponent(ConcurrentPicoContainer.java:237) > at org.exoplatform.container.mc.MCIntegrationContainer.registerComponent(MCIntegrationContainer.java:108) > at org.exoplatform.container.CachingContainer.registerComponent(CachingContainer.java:174) > at org.exoplatform.container.ConcurrentPicoContainer.registerComponentInstance(ConcurrentPicoContainer.java:292) > at org.exoplatform.container.CachingContainer.registerComponentInstance(CachingContainer.java:196) > at org.exoplatform.container.management.ManageableContainer.registerComponentInstance(ManageableContainer.java:220) > at org.gatein.integration.jboss.as7.web.InitService.start(InitService.java:66) > at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > ... 3 more > {code} -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:15:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:15:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:15:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:15:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2213) Trigger an event when updating User info In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2213 stopped by Hai Nguyen. --------------------------------------------- > Trigger an event when updating User info > ---------------------------------------- > > Key: GTNPORTAL-2213 > URL: https://issues.jboss.org/browse/GTNPORTAL-2213 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Trong Tran > Assignee: Hai Nguyen > Labels: portal-s63, synced > Fix For: 4.x > > > it would help for portlets to know when user profile is updated and handle it correspondingly. > The event name can be something like "UserChange" -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:15:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:15:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2536) Apache DBBrowser portlet not work properly on GateIn In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2536 stopped by Hai Nguyen. --------------------------------------------- > Apache DBBrowser portlet not work properly on GateIn > ---------------------------------------------------- > > Key: GTNPORTAL-2536 > URL: https://issues.jboss.org/browse/GTNPORTAL-2536 > Project: GateIn Portal > Issue Type: Task > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > > The Apache DBBrowser http://www.apache.org/dyn/closer.cgi/portals/applications/binaries/apa-dbbrowser-war-1.2.war -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:15:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:15:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:15:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:15:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2569) Configuration to run test with MySQL In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2569 stopped by Hai Nguyen. --------------------------------------------- > Configuration to run test with MySQL > ------------------------------------ > > Key: GTNPORTAL-2569 > URL: https://issues.jboss.org/browse/GTNPORTAL-2569 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > > Branch development https://github.com/exoportal/gatein-portal/tree/test-mysql-conf -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:15:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:15:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2713) GateIn doesn't work after reloading AS7 In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2713 stopped by Hai Nguyen. --------------------------------------------- > GateIn doesn't work after reloading AS7 > --------------------------------------- > > Key: GTNPORTAL-2713 > URL: https://issues.jboss.org/browse/GTNPORTAL-2713 > Project: GateIn Portal > Issue Type: Bug > Reporter: Stian Thorgersen > Assignee: Hai Nguyen > Original Estimate: 4 hours > Time Spent: 5 hours > Remaining Estimate: 1 day > > GateIn doesn't work after AS7 has been reloaded (using the management interface). > Stack trace: > {code} > 14:25:48,980 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."gatein.ear".gatein.init: org.jboss.msc.service.StartException in service jboss.deployment.unit."gatein.ear".gatein.init: Failed to start service > at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_09] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_09] > at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09] > Caused by: org.picocontainer.defaults.DuplicateComponentKeyRegistrationException: Key class org.gatein.integration.wsrp.plugins.AS7Plugins duplicated > at org.exoplatform.container.ConcurrentPicoContainer.registerComponent(ConcurrentPicoContainer.java:237) > at org.exoplatform.container.mc.MCIntegrationContainer.registerComponent(MCIntegrationContainer.java:108) > at org.exoplatform.container.CachingContainer.registerComponent(CachingContainer.java:174) > at org.exoplatform.container.ConcurrentPicoContainer.registerComponentInstance(ConcurrentPicoContainer.java:292) > at org.exoplatform.container.CachingContainer.registerComponentInstance(CachingContainer.java:196) > at org.exoplatform.container.management.ManageableContainer.registerComponentInstance(ManageableContainer.java:220) > at org.gatein.integration.jboss.as7.web.InitService.start(InitService.java:66) > at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA] > ... 3 more > {code} -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:39:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:39:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 00:43:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 00:43:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 02:23:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 02:23:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 02:24:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 02:24:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 02:25:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 02:25:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 02:25:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 02:25:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:04:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:04:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:05:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:05:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:05:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:05:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:05:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:05:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:07:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:07:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:07:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:07:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:08:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:08:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:08:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:08:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 stopped by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:23:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:23:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:23:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:23:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:32:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:32:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114388#comment-13114388 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues was fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 03:35:01 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 03:35:01 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114390#comment-13114390 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues was fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 05:16:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 05:16:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 05:16:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 05:16:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 05:17:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 05:17:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114459#comment-13114459 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues was fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 05:17:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 05:17:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 05:18:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 05:18:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 06:32:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 06:32:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 06:32:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 06:32:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 06:34:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 06:34:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114504#comment-13114504 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues was fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 06:34:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 06:34:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 2 06:34:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 2 Oct 2015 06:34:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 00:02:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 00:02:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 00:02:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 00:02:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 02:54:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 02:54:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 02:54:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 02:54:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 02:55:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 02:55:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114830#comment-13114830 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 07:12:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 07:12:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 07:12:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 07:12:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 07:13:02 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 07:13:02 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114928#comment-13114928 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 19:27:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 19:27:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 19:27:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 19:27:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 5 19:28:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 5 Oct 2015 19:28:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115245#comment-13115245 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 8 17:46:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 8 Oct 2015 17:46:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 8 17:46:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 8 Oct 2015 17:46:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 9 10:51:00 2015 From: issues at jboss.org (Mohammad Faisal (JIRA)) Date: Fri, 9 Oct 2015 10:51:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2559) Invalid cookie message in log when access portal through loadbalancer In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13117044#comment-13117044 ] Mohammad Faisal commented on GTNPORTAL-2559: -------------------------------------------- I am also getting the same message logged in my JBoss AS 7.1 The issue arise when I am saving a javascript array in the cookie value as: {{document.cookie="sadsad="+JSON.stringify([100,120])}} > Invalid cookie message in log when access portal through loadbalancer > --------------------------------------------------------------------- > > Key: GTNPORTAL-2559 > URL: https://issues.jboss.org/browse/GTNPORTAL-2559 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.4.0.M01 > Environment: GateIn master, cluster build, 2 nodes + mod_jk loadbalancer > Reporter: Michal Vanco > Assignee: Marko Strukelj > Priority: Minor > Labels: EPP6.0-Test-Dev > Fix For: 3.9.0.Final > > Attachments: cookie.txt > > > I'm getting message in portal log when accessing portal on loadbalancer: > INFO [org.apache.tomcat.util.http.Cookies] (ajp-perf11/10.16.88.189:8009-8) Cookies: Invalid cookie. Value not a token or quoted value > This doesn't cause any issue, but wasn't present at EPP5.x version. > Snippet from ff firebug: > Connection keep-alive > Cookie gtn.site.preference=FailoverPortal; JSESSIONID=eEGzAwUbc9eCEh9nIkE6ukzl.perf15; s_vi=[CS]v1|281B075B051D1B93-6000012D601169D9[CE]; rh_omni_tc=70160000000H4AjAAK > Host perf13.mw.lab.eng.bos.redhat.com:8080 > Pragma no-cache -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Tue Oct 20 03:25:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Tue, 20 Oct 2015 03:25:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 01:36:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 01:36:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2875) JQuery bound events don't work after "save" in the "edit navigation" In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2875 started by Hai Nguyen. --------------------------------------------- > JQuery bound events don't work after "save" in the "edit navigation" > -------------------------------------------------------------------- > > Key: GTNPORTAL-2875 > URL: https://issues.jboss.org/browse/GTNPORTAL-2875 > Project: GateIn Portal > Issue Type: Bug > Affects Versions: 3.5.0.Final > Reporter: Viliam Rockai > Assignee: Hai Nguyen > Attachments: test-portlet.zip > > > If you add a portlet using JQuery to layout, so it's visible while using the administration interface of "Site", you would be able to reproduce the issue. > I'm attaching the portlet as an attachment (src + war in the target directory). Put it somewhere on the page and go to the "Site" management. If you click on the portlet link, an alert will pop-up. When you click on the "edit navigation" -> "save" (save even without doing any changes), the link won't respond to clicking any more. > After the save button is pressed, the page is reloaded by ajax, but it seems that it doesn't handle the JS correctly. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 01:36:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 01:36:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 01:37:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 01:37:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120257#comment-13120257 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 02:30:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 02:30:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 02:30:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 02:30:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 02:31:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 02:31:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120263#comment-13120263 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 02:37:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 02:37:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 02:37:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 02:37:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 02:38:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 02:38:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120266#comment-13120266 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 06:20:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 06:20:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 06:20:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 06:20:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Wed Oct 21 06:21:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Wed, 21 Oct 2015 06:21:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120371#comment-13120371 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 26 06:51:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 26 Oct 2015 06:51:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Mon Oct 26 06:51:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Mon, 26 Oct 2015 06:51:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Tue Oct 27 03:21:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Tue, 27 Oct 2015 03:21:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Tue Oct 27 03:21:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Tue, 27 Oct 2015 03:21:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Tue Oct 27 03:22:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Tue, 27 Oct 2015 03:22:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122207#comment-13122207 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 29 14:58:00 2015 From: issues at jboss.org (Gabriel Cardoso (JIRA)) Date: Thu, 29 Oct 2015 14:58:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2893) Update the image of the home page portlet to use 3.6 instead of 3.5 In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabriel Cardoso closed GTNPORTAL-2893. -------------------------------------- Resolution: Out of Date > Update the image of the home page portlet to use 3.6 instead of 3.5 > ------------------------------------------------------------------- > > Key: GTNPORTAL-2893 > URL: https://issues.jboss.org/browse/GTNPORTAL-2893 > Project: GateIn Portal > Issue Type: Bug > Reporter: Matt Wringe > Assignee: Gabriel Cardoso > Attachments: gatein-36.jpg > > > The homepage portlet's image states its 3.5 when it should display 3.6 for the next version. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 29 14:59:00 2015 From: issues at jboss.org (Gabriel Cardoso (JIRA)) Date: Thu, 29 Oct 2015 14:59:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2885) Update the mobile site's CSS for a better user experience In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabriel Cardoso closed GTNPORTAL-2885. -------------------------------------- Resolution: Out of Date > Update the mobile site's CSS for a better user experience > --------------------------------------------------------- > > Key: GTNPORTAL-2885 > URL: https://issues.jboss.org/browse/GTNPORTAL-2885 > Project: GateIn Portal > Issue Type: Task > Components: Mobile > Reporter: Matt Wringe > Assignee: Gabriel Cardoso > > The css for the mobile site's CSS is far from perfect and deviates too much in some areas from Gabriel's original awesome designs. > Work should be done to bring this back into compliance with the original designs and be updated where appropriate to bring a better user experience. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 29 23:34:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 29 Oct 2015 23:34:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 started by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Thu Oct 29 23:35:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Thu, 29 Oct 2015 23:35:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123603#comment-13123603 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 30 03:23:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 30 Oct 2015 03:23:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123626#comment-13123626 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 30 03:54:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 30 Oct 2015 03:54:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2213) Trigger an event when updating User info In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2213 started by Hai Nguyen. --------------------------------------------- > Trigger an event when updating User info > ---------------------------------------- > > Key: GTNPORTAL-2213 > URL: https://issues.jboss.org/browse/GTNPORTAL-2213 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Trong Tran > Assignee: Hai Nguyen > Labels: portal-s63, synced > Fix For: 4.x > > > it would help for portlets to know when user profile is updated and handle it correspondingly. > The event name can be something like "UserChange" -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 30 03:54:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 30 Oct 2015 03:54:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-2169) Header values case sensitive In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on GTNPORTAL-2169 stopped by Hai Nguyen. --------------------------------------------- > Header values case sensitive > ---------------------------- > > Key: GTNPORTAL-2169 > URL: https://issues.jboss.org/browse/GTNPORTAL-2169 > Project: GateIn Portal > Issue Type: Feature Request > Components: Common integration > Affects Versions: 3.1.0-GA, 3.2.0-M01 > Reporter: Ronny Pscheidl > Assignee: Hai Nguyen > Fix For: 3.x > > > case sensitiv problem with getHeaders in portal-container. > For example, if you call request.getHeader("Wicket-Ajax") without portal-container you get the value of this parameter. if you call this in portal-container you get null. in both cases the header value is set. the difference is, that without portal-container you get these parameters by javax.xml.soap.MimeHeaders. it implements getHeader like this with equalsIgnoreCase: > public String[] getHeader(String name) { > Vector values = new Vector(); > for(int i = 0; i < headers.size(); i++) { > MimeHeader hdr = (MimeHeader) headers.elementAt(i); > if (hdr.getName().equalsIgnoreCase(name) > && hdr.getValue() != null) > values.addElement(hdr.getValue()); > } > if (values.size() == 0) > return null; > String r[] = new String[values.size()]; > values.copyInto(r); > return r; > } > With portal-container you get the header parameter by SimpleMultiValuedProperty method getValue which doesn't ignore case sensetive. so we have to overwrite the method getHeader and getHeaders in our HttpServletRequestWrapper. is there a way to change this in gatein to use also MimeHeaders in PortletRequestImpl instead of SimpleMultiValuedProperty. -- This message was sent by Atlassian JIRA (v6.4.11#64026) From issues at jboss.org Fri Oct 30 03:55:00 2015 From: issues at jboss.org (Hai Nguyen (JIRA)) Date: Fri, 30 Oct 2015 03:55:00 -0400 (EDT) Subject: [gatein-issues] [JBoss JIRA] (GTNPORTAL-3258) Allow classpath resolver to accept a leading slash In-Reply-To: References: Message-ID: [ https://issues.jboss.org/browse/GTNPORTAL-3258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13123630#comment-13123630 ] Hai Nguyen commented on GTNPORTAL-3258: --------------------------------------- This issues has fixed > Allow classpath resolver to accept a leading slash > -------------------------------------------------- > > Key: GTNPORTAL-3258 > URL: https://issues.jboss.org/browse/GTNPORTAL-3258 > Project: GateIn Portal > Issue Type: Enhancement > Reporter: Hai Nguyen > Assignee: Hai Nguyen > Priority: Minor > Fix For: 3.7.0.Final > > > Classpath Resolver for resources does not currently support a leading slash. So for example in a webui component I can't put (or my template won't be found) : > {code} > @ComponentConfig ( > template = "classpath:/path/oto/my/template/MyTemplate.gtmpl", > events = { > } > ) > {code} > whereas this notation is allowed in kernel configuration. For example I can do : > {code} > classpath:/path/to/my/configuration/file/my-configuration.xml > {code} > and it is also allowed in the "app" resolver (I can do "app:/path/oto/my/template/MyTemplate.gtmpl"). > It would be more consistent and less error-prone for the developer to allow to add a leading slash for the classpath resolver. -- This message was sent by Atlassian JIRA (v6.4.11#64026)