Hi! I've implemented a trigger:
<xforms:trigger> <xforms:label>Update</xforms:label> <xforms:action ev:event="DOMActivate"> <xforms:send submission="update-submission" /> <xforms:load show="replace" resource="../view-list" /> </xforms:action> </xforms:trigger> It works fine, when using Orbeon as a web application. However, clicking it in an OPS portlet does not change the page, but gives the following error: Unexpected response received from server Should xforms:load work in an OPS portlet? I've tried also resource="/myapp/view-list", but in a portlet it gives the same error. In a web application it appends the resource value at the end of the current URL. /Ray -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Ray,
It should work, but we haven't tested this in a while so there may be a bug. Unfortunately we haven't spent much time with portlets lately. I have entered a bug to track this: http://forge.objectweb.org/tracker/index.php?func=detail&aid=307940&group_id=168&atid=350207 Could you provide the details of your confirmation? E.g. what portal, version, etc. -Erik On Nov 29, 2007, at 5:23 AM, Raymond Jones wrote: > Hi! I've implemented a trigger: > > <xforms:trigger> > <xforms:label>Update</xforms:label> > <xforms:action ev:event="DOMActivate"> > <xforms:send submission="update-submission" /> > <xforms:load show="replace" resource="../view-list" /> > </xforms:action> > </xforms:trigger> > > It works fine, when using Orbeon as a web application. However, > clicking it in an OPS portlet does not change the page, but gives > the following error: > > Unexpected response received from server > > Should xforms:load work in an OPS portlet? > > I've tried also resource="/myapp/view-list", but in a portlet it > gives the same error. In a web application it appends the resource > value at the end of the current URL. > > /Ray > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Liferay Enterprise Portal 4.3.4 (Owen / Build 4304 / November 5, 2007)
Tomcat 5.5 Bundle Orbeon Forms 3.5.1 2007-03-31 0056 /Ray On 29.11.2007 19:58 Erik Bruchez wrote: > Ray, > > It should work, but we haven't tested this in a while so there may be > a bug. Unfortunately we haven't spent much time with portlets lately. > I have entered a bug to track this: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=307940&group_id=168&atid=350207 > > > Could you provide the details of your confirmation? E.g. what portal, > version, etc. > > -Erik > > On Nov 29, 2007, at 5:23 AM, Raymond Jones wrote: > >> Hi! I've implemented a trigger: >> >> <xforms:trigger> >> <xforms:label>Update</xforms:label> >> <xforms:action ev:event="DOMActivate"> >> <xforms:send submission="update-submission" /> >> <xforms:load show="replace" resource="../view-list" /> >> </xforms:action> >> </xforms:trigger> >> >> It works fine, when using Orbeon as a web application. However, >> clicking it in an OPS portlet does not change the page, but gives the >> following error: >> >> Unexpected response received from server >> >> Should xforms:load work in an OPS portlet? >> >> I've tried also resource="/myapp/view-list", but in a portlet it >> gives the same error. In a web application it appends the resource >> value at the end of the current URL. >> >> /Ray >> >> -- >> 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 >> OW2 mailing lists service home page: http://www.ow2.org/wws > > -- > 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Hi All
Just a quick question about closing html tags. I am trying to validate various Orbeon pages using the W3 html page validator, the application is not xhtml/xml but I would still like to have closing tags on elements such as <link rel="stylesheet" href="/xforms-server/xforms-min.css" type="text/css"> whilst the source xsl must contain closing tags they get stripped out at some point and I am trying to find out were so I can ensure tidy html for w3 validation. Many thanks Robert Harker -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Raymond Jones
Do you get the same results with 3.6 RC1?
http://forge.objectweb.org/project/showfiles.php?group_id=168 -Erik On Nov 29, 2007, at 11:07 PM, Raymond Jones wrote: > Liferay Enterprise Portal 4.3.4 (Owen / Build 4304 / November 5, > 2007) Tomcat 5.5 Bundle > Orbeon Forms 3.5.1 2007-03-31 0056 > > /Ray > > On 29.11.2007 19:58 Erik Bruchez wrote: >> Ray, >> >> It should work, but we haven't tested this in a while so there may >> be a bug. Unfortunately we haven't spent much time with portlets >> lately. I have entered a bug to track this: >> >> http://forge.objectweb.org/tracker/index.php?func=detail&aid=307940&group_id=168&atid=350207 >> >> Could you provide the details of your confirmation? E.g. what >> portal, version, etc. >> >> -Erik >> >> On Nov 29, 2007, at 5:23 AM, Raymond Jones wrote: >> >>> Hi! I've implemented a trigger: >>> >>> <xforms:trigger> >>> <xforms:label>Update</xforms:label> >>> <xforms:action ev:event="DOMActivate"> >>> <xforms:send submission="update-submission" /> >>> <xforms:load show="replace" resource="../view-list" /> >>> </xforms:action> >>> </xforms:trigger> >>> >>> It works fine, when using Orbeon as a web application. However, >>> clicking it in an OPS portlet does not change the page, but gives >>> the following error: >>> >>> Unexpected response received from server >>> >>> Should xforms:load work in an OPS portlet? >>> >>> I've tried also resource="/myapp/view-list", but in a portlet it >>> gives the same error. In a web application it appends the resource >>> value at the end of the current URL. >>> >>> /Ray >>> >>> -- >>> 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 >>> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> -- >> 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 > OW2 mailing lists service home page: http://www.ow2.org/wws 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Rob Harker
I am a little confused: it is perfectly valid HTML not to have a
closing tag for the <link> element and a number of other HTML elements. I am not sure why you want to close them. It is not unclean not to close them, in fact it is the general and accepted practice, and an HTML validator should not complain that the <link> element is not closed. The Orbeon Forms epilogue converts XHTML to HTML by default, as most browsers do not understand XHTML. If you do want to close all elements, then you need to output XHTML instead of HTML, and you can do so by uncommenting the relevant section of RESOURCES/config/ epilogue-servlet.xpl. -Erik On Nov 30, 2007, at 1:59 AM, Robert Harker wrote: > Hi All > > Just a quick question about closing html tags. I am trying to validate > various Orbeon pages using the W3 html page validator, the > application is > not xhtml/xml but I would still like to have closing tags on > elements such > as > > <link rel="stylesheet" href="/xforms-server/xforms-min.css" > type="text/css"> > > > whilst the source xsl must contain closing tags they get stripped > out at > some > point and I am trying to find out were so I can ensure tidy html for > w3 > validation. > > Many thanks > > Robert Harker > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.org/wws 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
In reply to this post by Raymond Jones
Can you try this:
<xforms:load show="replace" resource="../view-list" f:url- type="render"/> (with xmlns:f="http://orbeon.org/oxf/xml/formatting") I doubt this will change something as the default should just work, but you can always try. Other values for f:url-type are "resource" and "action". -Erik On Nov 29, 2007, at 11:07 PM, Raymond Jones wrote: > Liferay Enterprise Portal 4.3.4 (Owen / Build 4304 / November 5, > 2007) Tomcat 5.5 Bundle > Orbeon Forms 3.5.1 2007-03-31 0056 > > /Ray > > On 29.11.2007 19:58 Erik Bruchez wrote: >> Ray, >> >> It should work, but we haven't tested this in a while so there may >> be a bug. Unfortunately we haven't spent much time with portlets >> lately. I have entered a bug to track this: >> >> http://forge.objectweb.org/tracker/index.php?func=detail&aid=307940&group_id=168&atid=350207 >> >> Could you provide the details of your confirmation? E.g. what >> portal, version, etc. >> >> -Erik >> >> On Nov 29, 2007, at 5:23 AM, Raymond Jones wrote: >> >>> Hi! I've implemented a trigger: >>> >>> <xforms:trigger> >>> <xforms:label>Update</xforms:label> >>> <xforms:action ev:event="DOMActivate"> >>> <xforms:send submission="update-submission" /> >>> <xforms:load show="replace" resource="../view-list" /> >>> </xforms:action> >>> </xforms:trigger> >>> >>> It works fine, when using Orbeon as a web application. However, >>> clicking it in an OPS portlet does not change the page, but gives >>> the following error: >>> >>> Unexpected response received from server >>> >>> Should xforms:load work in an OPS portlet? >>> >>> I've tried also resource="/myapp/view-list", but in a portlet it >>> gives the same error. In a web application it appends the resource >>> value at the end of the current URL. >>> >>> /Ray >>> >>> -- >>> 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 >>> OW2 mailing lists service home page: http://www.ow2.org/wws >> >> -- >> 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 > OW2 mailing lists service home page: http://www.ow2.org/wws 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Setting f:url-type does not change the behaviour described.
/Ray On 30.11.2007 22:28 Erik Bruchez wrote: > Can you try this: > > <xforms:load show="replace" resource="../view-list" > f:url-type="render"/> > > (with xmlns:f="http://orbeon.org/oxf/xml/formatting") > > I doubt this will change something as the default should just work, > but you can always try. Other values for f:url-type are "resource" and > "action". > > -Erik > > On Nov 29, 2007, at 11:07 PM, Raymond Jones wrote: > >> Liferay Enterprise Portal 4.3.4 (Owen / Build 4304 / November 5, >> 2007) Tomcat 5.5 Bundle >> Orbeon Forms 3.5.1 2007-03-31 0056 >> >> /Ray >> >> On 29.11.2007 19:58 Erik Bruchez wrote: >>> Ray, >>> >>> It should work, but we haven't tested this in a while so there may >>> be a bug. Unfortunately we haven't spent much time with portlets >>> lately. I have entered a bug to track this: >>> >>> http://forge.objectweb.org/tracker/index.php?func=detail&aid=307940&group_id=168&atid=350207 >>> >>> >>> Could you provide the details of your confirmation? E.g. what >>> portal, version, etc. >>> >>> -Erik >>> >>> On Nov 29, 2007, at 5:23 AM, Raymond Jones wrote: >>> >>>> Hi! I've implemented a trigger: >>>> >>>> <xforms:trigger> >>>> <xforms:label>Update</xforms:label> >>>> <xforms:action ev:event="DOMActivate"> >>>> <xforms:send submission="update-submission" /> >>>> <xforms:load show="replace" resource="../view-list" /> >>>> </xforms:action> >>>> </xforms:trigger> >>>> >>>> It works fine, when using Orbeon as a web application. However, >>>> clicking it in an OPS portlet does not change the page, but gives >>>> the following error: >>>> >>>> Unexpected response received from server >>>> >>>> Should xforms:load work in an OPS portlet? >>>> >>>> I've tried also resource="/myapp/view-list", but in a portlet it >>>> gives the same error. In a web application it appends the resource >>>> value at the end of the current URL. >>>> >>>> /Ray >>>> >>>> -- >>>> 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 >>>> OW2 mailing lists service home page: http://www.ow2.org/wws >>> >>> -- >>> 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 >> OW2 mailing lists service home page: http://www.ow2.org/wws > > -- > 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Erik Bruchez
xforms:load causes the following error in Orbeon 3.6 portlet:
XML Parsing Error: junk after document element Location: http://localhost:8080/group/10301/2?p_p_id=MyPortlet_WAR_myapp&p_p_action=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=1&_MyPortlet_WAR_myapp_oxf.path=%2Fmyapp%2Fview Line Number 4, Column 5: /Ray On 30.11.2007 20:41 Erik Bruchez wrote: > Do you get the same results with 3.6 RC1? > > http://forge.objectweb.org/project/showfiles.php?group_id=168 > > -Erik > > On Nov 29, 2007, at 11:07 PM, Raymond Jones wrote: > >> Liferay Enterprise Portal 4.3.4 (Owen / Build 4304 / November 5, >> 2007) Tomcat 5.5 Bundle >> Orbeon Forms 3.5.1 2007-03-31 0056 >> >> /Ray >> >> On 29.11.2007 19:58 Erik Bruchez wrote: >>> Ray, >>> >>> It should work, but we haven't tested this in a while so there may >>> be a bug. Unfortunately we haven't spent much time with portlets >>> lately. I have entered a bug to track this: >>> >>> http://forge.objectweb.org/tracker/index.php?func=detail&aid=307940&group_id=168&atid=350207 >>> >>> >>> Could you provide the details of your confirmation? E.g. what >>> portal, version, etc. >>> >>> -Erik >>> >>> On Nov 29, 2007, at 5:23 AM, Raymond Jones wrote: >>> >>>> Hi! I've implemented a trigger: >>>> >>>> <xforms:trigger> >>>> <xforms:label>Update</xforms:label> >>>> <xforms:action ev:event="DOMActivate"> >>>> <xforms:send submission="update-submission" /> >>>> <xforms:load show="replace" resource="../view-list" /> >>>> </xforms:action> >>>> </xforms:trigger> >>>> >>>> It works fine, when using Orbeon as a web application. However, >>>> clicking it in an OPS portlet does not change the page, but gives >>>> the following error: >>>> >>>> Unexpected response received from server >>>> >>>> Should xforms:load work in an OPS portlet? >>>> >>>> I've tried also resource="/myapp/view-list", but in a portlet it >>>> gives the same error. In a web application it appends the resource >>>> value at the end of the current URL. >>>> >>>> /Ray >>>> >>>> -- >>>> 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 >>>> OW2 mailing lists service home page: http://www.ow2.org/wws >>> >>> -- >>> 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 >> OW2 mailing lists service home page: http://www.ow2.org/wws > > -- > 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Raymond,
I updated the bug with a note about this still occurring 3.6. Thank you for confirming that. For reference, the bug can be found at: http://forge.objectweb.org/tracker/index.php?func=detail&aid=307940&group_id=168&atid=350207 Alex |
Free forum by Nabble | Edit this page |