I'd like to send some instance data as a submission with method="get". If the instance is
<xf:instance id="foo" xmlns="">
<foo>
<bar>my bar</bar>
<wibble>a wibble</wibble>
</foo>
</xf:instance>
then I would like the submission to go to http://www.example.com/query?bar=my+bar&wibble=a+wibble. However, it is going instead to http://www.example.com/query?bar=my+bar;wibble=a+wibble, with a semicolon instead of an ampersand as the separator between parameters. While I understand that this is legitimate syntax, I am unable to modify the code at www.example.com/query, which only understands ampersands as separators. Is there a way to configure Orbeon Forms to use ampersand as a separator instead?
Cheers,
Dave Mc
-- 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 |
separator="&" on the submission element.
hope that helps. -- Daniel E. Renfer http://kronkltd.net/
On 6/18/07, David McIntyre <[hidden email]> wrote:
-- 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 |
worked like a charm, thanks very much.
Dave Mc
>>> "Daniel E. Renfer" <[hidden email]> 19/06/2007 10:16 >>> separator="&" on the submission element. hope that helps. -- Daniel E. Renfer http://kronkltd.net/ On 6/18/07, David McIntyre <[hidden email]> wrote:
-- 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
|
And for the record, I think that ";" is the default parameter separator
in XForms because it looks nicer in XML attributes - you don't have to escape it into something ugly like &. Some servers are happy with ";", but some are not, so you must use separator="&" in those cases. -Erik David McIntyre wrote: > worked like a charm, thanks very much. > > Dave Mc > > > > ** > > *Dave McIntyre *MA, DPhil, GradDipSci > *Software Developer* > [hidden email] <mailto:[hidden email]> > P: +64 9 638 0600 > F: +64 9 638 0699 > M: +64 21 212 8087 > S: dave.mcintyre > www.orionhealth.com <http://www.orionhealth.com/> > > > > >>> "Daniel E. Renfer" <[hidden email]> 19/06/2007 10:16 >>> > separator="&" on the submission element. > > hope that helps. > > -- > Daniel E. Renfer > http://kronkltd.net/ > > On 6/18/07, *David McIntyre* <[hidden email] > <mailto:[hidden email]>> wrote: > > I'd like to send some instance data as a submission with > method="get". If the instance is > <xf:instance id="foo" xmlns=""> > <foo> > <bar>my bar</bar> > <wibble>a wibble</wibble> > </foo> > </xf:instance> > then I would like the submission to go to > http://www.example.com/query?bar=my+bar&wibble=a+wibble > <http://www.example.com/query?bar=my+bar&wibble=a+wibble>. However, > it is going instead to > http://www.example.com/query?bar=my+bar;wibble=a+wibble > <http://www.example.com/query?bar=my+bar;wibble=a+wibble>, with a > semicolon instead of an ampersand as the separator between > parameters. While I understand that this is legitimate syntax, I am > unable to modify the code at www.example.com/query > <http://www.example.com/query>, which only understands ampersands as > separators. Is there a way to configure Orbeon Forms to use > ampersand as a separator instead? > > Cheers, > > Dave Mc > > > > > > > > > * * > > > *Dave McIntyre *MA, DPhil, GradDipSci > *Software Developer* > [hidden email] <mailto:[hidden email]> > P: +64 9 638 0600 > F: +64 9 638 0699 > M: +64 21 212 8087 > S: dave.mcintyre > www.orionhealth.com <http://www.orionhealth.com/> > > > > -- > You receive this message as a subscriber of the > [hidden email] <mailto:[hidden email]> mailing list. > To unsubscribe: mailto:[hidden email] > <mailto:[hidden email]> > For general help: mailto: [hidden email] > <mailto:[hidden email]>?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |