Hi,
I am still with OPS 3.0 beta 3 and I am trying to use the setvalue element together with XForms. Without XForms, everything seems OK and <page id="home" path-info="/foo/(.*)" matcher="oxf:perl5-matcher" view="index.xpl" default-submission="default-submission.xml"> <setvalue ref="/form/path" matcher-group="1"/> </page> is working fine, but when I try to add XForms in the loop: <page id="home" path-info="/foo/(.*)" matcher="oxf:perl5-matcher" view="index.xpl" xforms="xforms-model.xml"> <setvalue ref="/form/path" matcher-group="1"/> </page> I get an error that says: "Number of parameters does not match number of groups in path expression" If I remove the <setvalue> with XForms, the form is OK (except that, of course, the URL isn't the one I'd like to get). Is that normal? How can I get setvalue working with XForms? Thanks, Eric -- Lisez-moi sur XMLfr. http://xmlfr.org/index/person/eric+van+der+vlist/ ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------ -- 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
|
Eric van der Vlist wrote:
> Hi, > > I am still with OPS 3.0 beta 3 and I am trying to use the setvalue > element together with XForms. > > Without XForms, everything seems OK and > > <page id="home" path-info="/foo/(.*)" matcher="oxf:perl5-matcher" view="index.xpl" > default-submission="default-submission.xml"> > <setvalue ref="/form/path" matcher-group="1"/> > </page> > > is working fine, but when I try to add XForms in the loop: > > <page id="home" path-info="/foo/(.*)" matcher="oxf:perl5-matcher" view="index.xpl" > xforms="xforms-model.xml"> > <setvalue ref="/form/path" matcher-group="1"/> > </page> > > I get an error that says: > > "Number of parameters does not match number of groups in path > expression" > > If I remove the <setvalue> with XForms, the form is OK (except that, of > course, the URL isn't the one I'd like to get). > > Is that normal? > > How can I get setvalue working with XForms? -Erik -- 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,
Le mardi 08 novembre 2005 à 00:56 +0100, Erik Bruchez a écrit : > Is this answered in my reply in the other thread? I am still trying to assimilate all this but yes, I think that it is answered in the second thread! Thanks, Eric -- Weblog: http://eric.van-der-vlist.com/blog?t=category&a=English ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------ -- 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 |