Re: [Xsltforms-support] xf:submission questions
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2012-11-08 06:50:53
|
Hello Peter, The @value content is not a valid XPath expression. Should it be: concat('http://{myserver}/some-service.php?u=' ,instance('read-val')/value/u) ?? Did you try with the @instance attribute instead of @targetref? Because of the cross-domain restriction, XSLTForms tries to use JSONP when the requested domain is different from the domain from which the form came. IE8 comes with a debugger but I don't remember if there is a Network profiler. Did you give it a try? Thank you for your feedbacks! -Alain Le 07/11/2012 13:35, peter winstanley a écrit : > Hello List > > I have a draft xform with a submission: > > <xf:submission id="test-submit" method="get" replace="instance" targetref="instance('service-response-instance')" serialization="none" mode="synchronous" mediatype="text/xml"> > <xf:resource value="concat('http://{myserver}/some-service.php?u=' ,instance('read-val'))value/u"/> > </xf:submission> > > > In Firefox 16 this gives me a submission to http://{myserver}/some-service.php?u=12345 which seems correct > but with IE7 it gives me a submission error that I am still trying to diagnose, and on IE8 it gives an error and the submission is http://{myserver}/some-service.php?u=12345&callback=jsoninst > > Any thoughts/ideas? > > Cheers > > Peter > > ____________________________________________________________ > FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family! > Visit http://www.inbox.com/photosharing to find out more! > > > |