Hello,
I use Orbeon 3.6 with WAS 6.1 I have a view that works fine in servlet, but when I want to use it in a portlet, I have an error when I initialize with a submission the main instance (see below). <xforms:send ev:event="xforms-ready" submission="get-query" /> <xforms:submission id="get-query" ref="instance('query')" replace="instance" method="post" action="/xforms-process/input"/> But if, I call the submission, after the portlet was created, there is no error. This error appear only when the portlet is initialized. [9/17/08 9:33:49:796 CEST] 00000026 SystemOut O XForms ERROR ProcessorService - Exception at oxf:/config/epilogue-portlet.xpl (executing XSLT transformation) java.lang.NullPointerException at org.orbeon.saxon.event.HTMLURIEscaper.escapeURL(HTMLURIEscaper.java:155) at org.orbeon.saxon.event.HTMLURIEscaper.attribute(HTMLURIEscaper.java:137) at org.orbeon.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:265) at org.orbeon.oxf.xml.ForwardingContentHandler.startElement(ForwardingContentHandler.java:87) at org.orbeon.oxf.xml.ForwardingContentHandler.startElement(ForwardingContentHandler.java:87) at org.orbeon.oxf.xml.ForwardingContentHandler.startElement(ForwardingContentHandler.java:87) ...... error.txt |
Administrator
|
Does it work if you set this in properties.xml?
<property as="xs:boolean" name="oxf.xforms.optimize-local- submission" value="false"/> -Erik On Sep 18, 2008, at 12:19 AM, cgoguyer wrote: > > Hello, > > I use Orbeon 3.6 with WAS 6.1 > > I have a view that works fine in servlet, but when I want to use it > in a > portlet, I have an error when I initialize with a submission the main > instance (see below). > > <xforms:send ev:event="xforms-ready" submission="get-query" /> > <xforms:submission id="get-query" ref="instance('query')" > replace="instance" > method="post" action="/xforms-process/input"/> > > But if, I call the submission, after the portlet was created, there > is no > error. This error appear only when the portlet is initialized. > > [9/17/08 9:33:49:796 CEST] 00000026 SystemOut O XForms ERROR > ProcessorService - Exception at oxf:/config/epilogue-portlet.xpl > (executing > XSLT transformation) > java.lang.NullPointerException > at > org.orbeon.saxon.event.HTMLURIEscaper.escapeURL(HTMLURIEscaper.java: > 155) > at > org.orbeon.saxon.event.HTMLURIEscaper.attribute(HTMLURIEscaper.java: > 137) > at > org > .orbeon > .saxon > .event > .ReceivingContentHandler.startElement(ReceivingContentHandler.java: > 265) > at > org > .orbeon > .oxf > .xml > .ForwardingContentHandler.startElement(ForwardingContentHandler.java: > 87) > at > org > .orbeon > .oxf > .xml > .ForwardingContentHandler.startElement(ForwardingContentHandler.java: > 87) > at > org > .orbeon > .oxf > .xml > .ForwardingContentHandler.startElement(ForwardingContentHandler.java: > 87) > ...... > http://www.nabble.com/file/p19547381/error.txt error.txt > -- > View this message in context: http://www.nabble.com/Portlet-and-Instance-initialization-tp19547381p19547381.html > Sent from the ObjectWeb OPS - Users mailing list archive at > Nabble.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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Hello Erik,
I changed this property, but the result is the same error. I made some other test: if I use "<page path-info="/" model="input.xpl" view="view.xhtml" />" in the page flow and " <xi:include href="input:data"/>" in my view, it works. So, the problem is only when I get the data with a submission on the "ev:event="xforms-ready"" event. Christophe.
|
Free forum by Nabble | Edit this page |