Hi Erik I find some codes in the page-flow.xml under the folder resources, and I can not understand that comments about path direct, and why portlets can not serve resources directly as well ? Thanks for your detail information , Cheers Kevin <!-- Dispatch resources for the examples. This is necessary, since portlets cannot serve resources directly by design. --> <page path-info="/direct/.*" matcher="oxf:perl5-matcher" model="/examples/dispatch.xpl"/> Kevin Cheng Information Solutions Consultancy Intelligent Transport Systems Atkins Highways and Transportation Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW Tel: +44 (0) 1372 756471 Fax: +44 (0) 1372 750000 E-mail: [hidden email] www.atkinsglobal.com/its -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 01 August 2006 00:35 To: [hidden email] Subject: Re: [ops-users] About Xforms Controls Damien, The "/direct" path was to make sure resources would work from servlets as well as portlets. The "/direct" path is handled by the top-level PFC. This may change soon and you should not worry about it too much unless you use portlets. Thanks for the heads-up on autocomplete. We will check this: http://forge.objectweb.org/tracker/index.php?func=detail&aid=305875&grou p_id=168&atid=350207 -Erik Peymirat Damien wrote: > Hi all, > > > I'm looking at the Xforms Controls exemple in OPS. I don't understand > why there is a path-info like that : > <page path-info="/direct/xforms-controls/countries" > model="countries.xpl"/> > > Why there is a path beginning with /direct ?? > > Moreover, the selection of a country in "Auto-complete" doesn't work > with the mouse (but it works well with the keyboard !!). > > > Thank you for your answers, > > Damien. -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?4318150) This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. -- 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
|
Kevin,
Portlets cannot serve resources, because they cannot as per the JSR-168 Portlet 1.0 spec. With JSR-168, portlets refer to resources served by servlets. JSR 286, which will define Portlet 2.0, will allow portlets to serve resources, but this specification is far from being finished yet, and implementations probably even further away. In OPS, the way we setup things for the examples was to use /direct to allow the top-level page flow to serve resources at the top-level. But you do not have to use this, you can use any path you like. -Erik Zhou, Kevin wrote: > > > > Hi Erik > > I find some codes in the page-flow.xml under the folder resources, and I > can not understand that comments about path direct, and why portlets > can not serve resources directly as well ? > > Thanks for your detail information , > > Cheers > > > Kevin > > > <!-- Dispatch resources for the examples. This is necessary, since > portlets cannot serve resources directly by design. --> > <page path-info="/direct/.*" matcher="oxf:perl5-matcher" > model="/examples/dispatch.xpl"/> > > > Kevin Cheng > Information Solutions Consultancy > Intelligent Transport Systems > Atkins Highways and Transportation > Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW > Tel: +44 (0) 1372 756471 > Fax: +44 (0) 1372 750000 > E-mail: [hidden email] > > www.atkinsglobal.com/its > > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez > Sent: 01 August 2006 00:35 > To: [hidden email] > Subject: Re: [ops-users] About Xforms Controls > > Damien, > > The "/direct" path was to make sure resources would work from servlets > as well as portlets. The "/direct" path is handled by the top-level PFC. > > This may change soon and you should not worry about it too much unless > you use portlets. > > Thanks for the heads-up on autocomplete. We will check this: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=305875&grou > p_id=168&atid=350207 > > -Erik > > Peymirat Damien wrote: >> Hi all, >> >> >> I'm looking at the Xforms Controls exemple in OPS. I don't > understand >> why there is a path-info like that : >> <page path-info="/direct/xforms-controls/countries" >> model="countries.xpl"/> >> >> Why there is a path beginning with /direct ?? >> >> Moreover, the selection of a country in "Auto-complete" doesn't > work >> with the mouse (but it works well with the keyboard !!). >> >> >> Thank you for your answers, >> >> Damien. > > -- > Orbeon - XForms Everywhere: > http://www.orbeon.com/blog/ > > > > This message has been scanned for viruses by MailControl - (see > http://bluepages.wsatkins.co.uk/?4318150) > > > This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding. > > > > ------------------------------------------------------------------------ > > > -- > 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 -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 |
In reply to this post by Zhou, Kevin
Hi Erik Thanks for your reply, great help to me. Good weekend. Kevin Cheng Information Solutions Consultancy Intelligent Transport Systems Atkins Highways and Transportation Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW Tel: +44 (0) 1372 756471 Fax: +44 (0) 1372 750000 E-mail: [hidden email] www.atkinsglobal.com/its -----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: 10 August 2006 02:24 To: [hidden email] Subject: Re: [ops-users] About path direct and ops portlets Kevin, Portlets cannot serve resources, because they cannot as per the JSR-168 Portlet 1.0 spec. With JSR-168, portlets refer to resources served by servlets. JSR 286, which will define Portlet 2.0, will allow portlets to serve resources, but this specification is far from being finished yet, and implementations probably even further away. In OPS, the way we setup things for the examples was to use /direct to allow the top-level page flow to serve resources at the top-level. But you do not have to use this, you can use any path you like. -Erik Zhou, Kevin wrote: > > > > Hi Erik > > I find some codes in the page-flow.xml under the folder resources, and > I can not understand that comments about path direct, and why portlets > can not serve resources directly as well ? > > Thanks for your detail information , > > Cheers > > > Kevin > > > <!-- Dispatch resources for the examples. This is necessary, since > portlets cannot serve resources directly by design. --> > <page path-info="/direct/.*" matcher="oxf:perl5-matcher" > model="/examples/dispatch.xpl"/> > > > Kevin Cheng > Information Solutions Consultancy > Intelligent Transport Systems > Atkins Highways and Transportation > Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW > Tel: +44 (0) 1372 756471 > Fax: +44 (0) 1372 750000 > E-mail: [hidden email] > > www.atkinsglobal.com/its > > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik > Bruchez > Sent: 01 August 2006 00:35 > To: [hidden email] > Subject: Re: [ops-users] About Xforms Controls > > Damien, > > The "/direct" path was to make sure resources would work from servlets > as well as portlets. The "/direct" path is handled by the top-level > > This may change soon and you should not worry about it too much unless > you use portlets. > > Thanks for the heads-up on autocomplete. We will check this: > > http://forge.objectweb.org/tracker/index.php?func=detail&aid=305875&gr > ou > p_id=168&atid=350207 > > -Erik > > Peymirat Damien wrote: >> Hi all, >> >> >> I'm looking at the Xforms Controls exemple in OPS. I don't > understand >> why there is a path-info like that : >> <page path-info="/direct/xforms-controls/countries" >> model="countries.xpl"/> >> >> Why there is a path beginning with /direct ?? >> >> Moreover, the selection of a country in "Auto-complete" doesn't > work >> with the mouse (but it works well with the keyboard !!). >> >> >> Thank you for your answers, >> >> Damien. > > -- > Orbeon - XForms Everywhere: > http://www.orbeon.com/blog/ > > > > This message has been scanned for viruses by MailControl - (see > http://bluepages.wsatkins.co.uk/?4318150) > > > This email and any attached files are confidential and copyright in writing, nothing stated in this communication shall be legally binding. > > > > ---------------------------------------------------------------------- > -- > > > -- > 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 -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 |