Hi all, I have recently just discovered something a little quirky
when I use an orbeon portlet within Liferay. The first page in my Xforms app is
just some text, one input field and a submission link to the next page. It
seems that whenever I add this portlet for the first time, of the “Add
content” window, enter in some data and click the link nothing happens! I
either have to click the link again or refresh the page and it works. I turned
on debugging and I found that I get this error when I click the link: ‘ORBEON.xforms.Globals.formStaticState[…].value’
is null or not an object (This is from xforms.js: line: 1770 requestDocumentString +=
ORBEON.xforms.Globals.formStaticState[formIndex].value; ) Any ideas/solutions? Thanks, Naman NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank.
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Naman,
On 7/8/07, Naman Joshi <[hidden email]> wrote: > I have recently just discovered something a little quirky when I use an > orbeon portlet within Liferay. The first page in my Xforms app is just some > text, one input field and a submission link to the next page. It seems that > whenever I add this portlet for the first time, of the "Add content" window, > enter in some data and click the link nothing happens! Do you think this might be caused by some other portlets you have on the same page? Do you have the same problem when your portlet is the only one in the page? Do you think you could create a simple example that reproduces the problem, and post here your war file (without the jar files in WEB-INF/lib to it as small as possible)? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Alex,
>>Do you think this might be caused by some other portlets you have on the same page? I don't have any other portlets on the page >> Do you think you could create a simple example that reproduces the problem, and post here your war file? You can actually reproduce this problem with the standard ops.war from the website. Just add a submit button at the end of the home page and voila. I have attached the view.xhml that I tried. Just place this in the apps\portlet-welcome directory. Thanks, Naman -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Alessandro Vernet Sent: Monday, 9 July 2007 6:38 PM To: [hidden email] Subject: Re: [ops-users] Initalise OPS portlet Naman, On 7/8/07, Naman Joshi <[hidden email]> wrote: > I have recently just discovered something a little quirky when I use an > orbeon portlet within Liferay. The first page in my Xforms app is just some > text, one input field and a submission link to the next page. It seems that > whenever I add this portlet for the first time, of the "Add content" window, > enter in some data and click the link nothing happens! Do you think this might be caused by some other portlets you have on the same page? Do you have the same problem when your portlet is the only one in the page? Do you think you could create a simple example that reproduces the problem, and post here your war file (without the jar files in WEB-INF/lib to it as small as possible)? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws view.xhtml (2K) Download Attachment |
Administrator
|
Naman,
On 7/9/07, Naman Joshi <[hidden email]> wrote: > You can actually reproduce this problem with the standard > ops.war from the website. Just add a submit button at the end of the > home page and voila. I have attached the view.xhml that I tried. Just > place this in the apps\portlet-welcome directory. Thank you for the details. I am sorry: I intended to get to this earlier, but unfortunately didn't get to do it. Erik will be looking some other portlet-related issues next week, so he will be following-up on this thread at that time. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by NJ No1
Hi Naman,
For now I can confirm that I can reproduce the problem with Liferay 4.3.0. Are you using that version as well, or version 4.2.x? -Erik Naman Joshi wrote: > Hi all, > > > > I have recently just discovered something a little quirky when I use an > orbeon portlet within Liferay. The first page in my Xforms app is just > some text, one input field and a submission link to the next page. It > seems that whenever I add this portlet for the first time, of the “Add > content” window, enter in some data and click the link nothing happens! > I either have to click the link again or refresh the page and it works. > I turned on debugging and I found that I get this error when I click the > link: > > > > ‘ORBEON.xforms.Globals.formStaticState[…].value’ is null or not an object > > > > (This is from xforms.js: line: 1770 > > requestDocumentString += > ORBEON.xforms.Globals.formStaticState[formIndex].value; ) > > > > Any ideas/solutions? > > > > Thanks, > > Naman > > NOTICE > > This e-mail and any attachments are confidential and may contain > copyright material of Macquarie Bank or third parties. If you are not > the intended recipient of this email you should not read, print, > re-transmit, store or act in reliance on this e-mail or any attachments, > and should destroy all copies of them. Macquarie Bank does not guarantee > the integrity of any emails or any attached files. The views or opinions > expressed are the author's own and may not reflect the views or opinions > of Macquarie Bank. > > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Hi Erik,
Orbeon in Liferay 4.3.0 doesn't work at ALL alone this initialisation problem. I am using both 4.2.1 and 4.2.2. NJ -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: Wednesday, 1 August 2007 1:04 AM To: [hidden email] Subject: Re: [ops-users] Initalise OPS portlet Hi Naman, For now I can confirm that I can reproduce the problem with Liferay 4.3.0. Are you using that version as well, or version 4.2.x? -Erik Naman Joshi wrote: > Hi all, > > > > I have recently just discovered something a little quirky when I use an > orbeon portlet within Liferay. The first page in my Xforms app is just > some text, one input field and a submission link to the next page. It > seems that whenever I add this portlet for the first time, of the "Add > content" window, enter in some data and click the link nothing happens! > I either have to click the link again or refresh the page and it works. > I turned on debugging and I found that I get this error when I click the > link: > > > > 'ORBEON.xforms.Globals.formStaticState[...].value' is null or not an object > > > > (This is from xforms.js: line: 1770 > > requestDocumentString += > ORBEON.xforms.Globals.formStaticState[formIndex].value; ) > > > > Any ideas/solutions? > > > > Thanks, > > Naman > > NOTICE > > This e-mail and any attachments are confidential and may contain > copyright material of Macquarie Bank or third parties. If you are not > the intended recipient of this email you should not read, print, > re-transmit, store or act in reliance on this e-mail or any > and should destroy all copies of them. Macquarie Bank does not > the integrity of any emails or any attached files. The views or opinions > expressed are the author's own and may not reflect the views or opinions > of Macquarie Bank. > > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Naman,
I am not sure I understand your response. Clearly, it doesn't work with 4.3.0 and with that version I get the JS error you sent. But: * Does it work with 4.2.1 and 4.2.2 or not? * If you tried 4.2.x and 4.3.x: do you get the same error with 4.2.x and 4.3.x, or different errors? -Erik Naman Joshi wrote: > Hi Erik, > > Orbeon in Liferay 4.3.0 doesn't work at ALL alone this initialisation > problem. I am using both 4.2.1 and 4.2.2. > > NJ > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: Wednesday, 1 August 2007 1:04 AM > To: [hidden email] > Subject: Re: [ops-users] Initalise OPS portlet > > Hi Naman, > > For now I can confirm that I can reproduce the problem with Liferay > 4.3.0. Are you using that version as well, or version 4.2.x? > > -Erik > > Naman Joshi wrote: >> Hi all, >> >> >> >> I have recently just discovered something a little quirky when I use > an >> orbeon portlet within Liferay. The first page in my Xforms app is just > >> some text, one input field and a submission link to the next page. It >> seems that whenever I add this portlet for the first time, of the "Add > >> content" window, enter in some data and click the link nothing > happens! >> I either have to click the link again or refresh the page and it > works. >> I turned on debugging and I found that I get this error when I click > the >> link: >> >> >> >> 'ORBEON.xforms.Globals.formStaticState[...].value' is null or not an > object >> >> >> (This is from xforms.js: line: 1770 >> >> requestDocumentString += >> ORBEON.xforms.Globals.formStaticState[formIndex].value; ) >> >> >> >> Any ideas/solutions? >> >> >> >> Thanks, >> >> Naman >> >> NOTICE >> >> This e-mail and any attachments are confidential and may contain >> copyright material of Macquarie Bank or third parties. If you are not >> the intended recipient of this email you should not read, print, >> re-transmit, store or act in reliance on this e-mail or any > attachments, >> and should destroy all copies of them. Macquarie Bank does not > guarantee >> the integrity of any emails or any attached files. The views or > opinions >> expressed are the author's own and may not reflect the views or > opinions >> of Macquarie Bank. >> >> >> > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Erik,
* The error does occur in 4.2.1 and 4.2.2 * I get the same error with 4.3. Furthermore I just tested the standard Orbeon portlet in 4.3 and when I tried the calculator example when I click the buttons...nothing happens. This occurs in IE but is fine in firefox. NJ -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: Wednesday, 1 August 2007 8:29 PM To: [hidden email] Subject: Re: [ops-users] Initalise OPS portlet Naman, I am not sure I understand your response. Clearly, it doesn't work with 4.3.0 and with that version I get the JS error you sent. But: * Does it work with 4.2.1 and 4.2.2 or not? * If you tried 4.2.x and 4.3.x: do you get the same error with 4.2.x and 4.3.x, or different errors? -Erik Naman Joshi wrote: > Hi Erik, > > Orbeon in Liferay 4.3.0 doesn't work at ALL alone this initialisation > problem. I am using both 4.2.1 and 4.2.2. > > NJ > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: Wednesday, 1 August 2007 1:04 AM > To: [hidden email] > Subject: Re: [ops-users] Initalise OPS portlet > > Hi Naman, > > For now I can confirm that I can reproduce the problem with Liferay > 4.3.0. Are you using that version as well, or version 4.2.x? > > -Erik > > Naman Joshi wrote: >> Hi all, >> >> >> >> I have recently just discovered something a little quirky when I use > an >> orbeon portlet within Liferay. The first page in my Xforms app is > >> some text, one input field and a submission link to the next page. It >> seems that whenever I add this portlet for the first time, of the "Add > >> content" window, enter in some data and click the link nothing > happens! >> I either have to click the link again or refresh the page and it > works. >> I turned on debugging and I found that I get this error when I click > the >> link: >> >> >> >> 'ORBEON.xforms.Globals.formStaticState[...].value' is null or not an > object >> >> >> (This is from xforms.js: line: 1770 >> >> requestDocumentString += >> ORBEON.xforms.Globals.formStaticState[formIndex].value; ) >> >> >> >> Any ideas/solutions? >> >> >> >> Thanks, >> >> Naman >> >> NOTICE >> >> This e-mail and any attachments are confidential and may contain >> copyright material of Macquarie Bank or third parties. If you are not >> the intended recipient of this email you should not read, print, >> re-transmit, store or act in reliance on this e-mail or any > attachments, >> and should destroy all copies of them. Macquarie Bank does not > guarantee >> the integrity of any emails or any attached files. The views or > opinions >> expressed are the author's own and may not reflect the views or > opinions >> of Macquarie Bank. >> >> >> > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Hi Naman,
This bug should now be fixed. Can you give this a try whenever you have a chance? Thanks, -Erik Naman Joshi wrote: > Erik, > > * The error does occur in 4.2.1 and 4.2.2 > * I get the same error with 4.3. Furthermore I just tested the standard > Orbeon portlet in 4.3 and when I tried the calculator example when I > click the buttons...nothing happens. This occurs in IE but is fine in > firefox. > > NJ > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: Wednesday, 1 August 2007 8:29 PM > To: [hidden email] > Subject: Re: [ops-users] Initalise OPS portlet > > Naman, > > I am not sure I understand your response. Clearly, it doesn't work with > 4.3.0 and with that version I get the JS error you sent. But: > > * Does it work with 4.2.1 and 4.2.2 or not? > > * If you tried 4.2.x and 4.3.x: do you get the same error with 4.2.x and > 4.3.x, or different errors? > > -Erik > > Naman Joshi wrote: >> Hi Erik, >> >> Orbeon in Liferay 4.3.0 doesn't work at ALL alone this initialisation >> problem. I am using both 4.2.1 and 4.2.2. >> >> NJ >> >> -----Original Message----- >> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik > Bruchez >> Sent: Wednesday, 1 August 2007 1:04 AM >> To: [hidden email] >> Subject: Re: [ops-users] Initalise OPS portlet >> >> Hi Naman, >> >> For now I can confirm that I can reproduce the problem with Liferay >> 4.3.0. Are you using that version as well, or version 4.2.x? >> >> -Erik >> >> Naman Joshi wrote: >>> Hi all, >>> >>> >>> >>> I have recently just discovered something a little quirky when I use >> an >>> orbeon portlet within Liferay. The first page in my Xforms app is > just >>> some text, one input field and a submission link to the next page. It > >>> seems that whenever I add this portlet for the first time, of the > "Add >>> content" window, enter in some data and click the link nothing >> happens! >>> I either have to click the link again or refresh the page and it >> works. >>> I turned on debugging and I found that I get this error when I click >> the >>> link: >>> >>> >>> >>> 'ORBEON.xforms.Globals.formStaticState[...].value' is null or not an >> object >>> >>> >>> (This is from xforms.js: line: 1770 >>> >>> requestDocumentString += >>> ORBEON.xforms.Globals.formStaticState[formIndex].value; ) >>> >>> >>> >>> Any ideas/solutions? >>> >>> >>> >>> Thanks, >>> >>> Naman >>> >>> NOTICE >>> >>> This e-mail and any attachments are confidential and may contain >>> copyright material of Macquarie Bank or third parties. If you are not > >>> the intended recipient of this email you should not read, print, >>> re-transmit, store or act in reliance on this e-mail or any >> attachments, >>> and should destroy all copies of them. Macquarie Bank does not >> guarantee >>> the integrity of any emails or any attached files. The views or >> opinions >>> expressed are the author's own and may not reflect the views or >> opinions >>> of Macquarie Bank. >>> >>> >>> >> > > -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |