I can't seem to change the path-info in a page flow.
The following works with the URL <http://localhost:8080/orbeon/xforms-hello>: <page path-info="*" view="view.xhtml"/>but the following doesn't work with the URL <http://localhost:8080/orbeon/xforms-hello/assets>: <page path-info="assets" view="view.xhtml"/>What am I doing wrong? Thanks, -Jim -- 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 Jim,
I believe you need the attribute matcher="oxf:glob-matcher" in your <page> element (versus the perl5-matcher). http://www.orbeon.com/ops/doc/reference-page-flow#matchers --Hank On May 19, 2008, at 8:41 AM, Jim Logan wrote: > I can't seem to change the path-info in a page flow. > > The following works with the URL <http://localhost:8080/orbeon/ > xforms-hello>: > <page path-info="*" view="view.xhtml"/> > but the following doesn't work with the URL <http://localhost:8080/ > orbeon/xforms-hello/assets>: > <page path-info="assets" view="view.xhtml"/> > What am I doing wrong? > > Thanks, > -Jim > > > -- > 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
Hank Ratzesberger wrote:
> Hi Jim, > > I believe you need the attribute matcher="oxf:glob-matcher" in your > <page> element (versus the perl5-matcher). Hank, I don't want to use any wildcards, I just want to use a specific name -- "assets". Am I not understanding something? -Jim > > http://www.orbeon.com/ops/doc/reference-page-flow#matchers > > --Hank > > On May 19, 2008, at 8:41 AM, Jim Logan wrote: > >> I can't seem to change the path-info in a page flow. >> >> The following works with the URL >> <http://localhost:8080/orbeon/xforms-hello>: >> <page path-info="*" view="view.xhtml"/> >> but the following doesn't work with the URL >> <http://localhost:8080/orbeon/xforms-hello/assets>: >> <page path-info="assets" view="view.xhtml"/> >> What am I doing wrong? >> >> Thanks, >> -Jim >> >> >> -- >> 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 > > Hank Ratzesberger > NEES@UCSB > Institute for Crustal Studies, > University of California, Santa Barbara > 805-893-8042 > > > > > -- 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 Jim,
It's me who is "rusty" ... The path-info attribute is the url/address of the HTTP request, which is what the servlet container sees (no servlet context). So, path-info="*" catches everything, that's why it works. Your path-info probably should look like: path-info="/xforms-hello/assets" There is no automatic re-write for trailing /. --Hank On May 19, 2008, at 9:18 AM, Jim Logan wrote: > Hank Ratzesberger wrote: >> Hi Jim, >> >> I believe you need the attribute matcher="oxf:glob-matcher" in your >> <page> element (versus the perl5-matcher). > Hank, > > I don't want to use any wildcards, I just want to use a specific > name -- "assets". Am I not understanding something? > > -Jim >> >> http://www.orbeon.com/ops/doc/reference-page-flow#matchers >> >> --Hank >> >> On May 19, 2008, at 8:41 AM, Jim Logan wrote: >> >>> I can't seem to change the path-info in a page flow. >>> >>> The following works with the URL <http://localhost:8080/orbeon/ >>> xforms-hello>: >>> <page path-info="*" view="view.xhtml"/> >>> but the following doesn't work with the URL <http://localhost: >>> 8080/orbeon/xforms-hello/assets>: >>> <page path-info="assets" view="view.xhtml"/> >>> What am I doing wrong? >>> >>> Thanks, >>> -Jim >>> >>> >>> -- >>> 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 >> >> Hank Ratzesberger >> NEES@UCSB >> Institute for Crustal Studies, >> University of California, Santa Barbara >> 805-893-8042 >> >> >> >> >> > > > -- > 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
Hank Ratzesberger wrote:
Hi Hank, I must be doing something wrong. I changed the line to <page path-info="xforms-hello/assets" view="view.xhtml"/> and I typed "http://localhost:8080/orbeon/xforms-hello/assets" into my browser. The exception message is, "Condition failed for every branch of choose: [(/request/request-path = '/xforms-server-submit'), (/request/request-path = 'xforms-hello/assets')]" Would you be willing to try it in your xforms-hello demo folder to see what happens? Thanks, -Jim -- 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 Jim, I would be willing to try it, but would you try the following first: page-info="/xforms-hello/assets" (note the leading / ) Thanks, Hank On May 19, 2008, at 10:28 AM, Jim Logan wrote: > Hank Ratzesberger wrote: >> >> >> Your path-info probably should look like: >> >> path-info="/xforms-hello/assets" > Hi Hank, > > I must be doing something wrong. I changed the line to <page path- > info="xforms-hello/assets" view="view.xhtml"/> and I typed "http:// > localhost:8080/orbeon/xforms-hello/assets" into my browser. The > exception message is, "Condition failed for every branch of choose: > [(/request/request-path = '/xforms-server-submit'), (/request/ > request-path = 'xforms-hello/assets')]" > > Would you be willing to try it in your xforms-hello demo folder to > see what happens? > > Thanks, > -Jim > > > -- > 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
Hank Ratzesberger wrote:
> > Hi Jim, > > I would be willing to try it, but would you try > the following first: > > page-info="/xforms-hello/assets" > > (note the leading / ) > > Thanks, > Hank Doh! I missed the leading slash! That fixed it. Thanks very much! -Jim -- 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 |
Free forum by Nabble | Edit this page |