getting an illegalArgumentException when passing from a page to another (with an XForms instance)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

getting an illegalArgumentException when passing from a page to another (with an XForms instance)

f.blanc

Hi,

I try to use a little application that was working this sommer (2006). The first page display normally but when I submit a form to switch to another page I always receive the same message error from the oxf:/ops/xforms/xforms-server-submit.xpl :

java.lang.IllegalArgumentException : Le chemin oxf:/budgetDisplay ne commence pas par le caractère "/"

Have you even encounter this error or do you see what kind of error I'm making?

Here is the declaration of the two pages in the page-flow.xml


<page id="budgetDisplaySelection" path-info="/budgetDisplay" model="my-model.xpl" view="my-view.xsl">
  <action when="/*/action = 'display'">
    <result page="budgetDisplayTables">
      <xu:update select="/form/document">
        <xu:value-of select="document('input:instance')/form/document/*"/>
      </xu:update>
    </result>
  </action>
</page>

<page id="budgetDisplayTables" path-info="/budgetDisplay/budgetTables" model="my-other-model.xpl" view="my-other-view.xsl" />

Thank you for your attention!

Frédéric



--
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
Reply | Threaded
Open this post in threaded view
|

Re: getting an illegalArgumentException when passing from a page to another (with an XForms instance)

Erik Bruchez
Administrator
Frédéric,

It would be good to know what part of the code is trying to access
oxf:/budgetDisplay. Do you have a more complete error message, including
stack trace?

-Erik

[hidden email] wrote:

> Hi,
>
> I try to use a little application that was working this sommer (2006). The first page display normally but when I submit a form to switch to another page I always receive the same message error from the oxf:/ops/xforms/xforms-server-submit.xpl :
>
> java.lang.IllegalArgumentException : Le chemin oxf:/budgetDisplay ne commence pas par le caractère "/"
>
> Have you even encounter this error or do you see what kind of error I'm making?
>
> Here is the declaration of the two pages in the page-flow.xml
>
>
> <page id="budgetDisplaySelection" path-info="/budgetDisplay" model="my-model.xpl" view="my-view.xsl">
>   <action when="/*/action = 'display'">
>     <result page="budgetDisplayTables">
>       <xu:update select="/form/document">
>         <xu:value-of select="document('input:instance')/form/document/*"/>
>       </xu:update>
>     </result>
>   </action>
> </page>
>
> <page id="budgetDisplayTables" path-info="/budgetDisplay/budgetTables" model="my-other-model.xpl" view="my-other-view.xsl" />
>
> Thank you for your attention!
>
> Frédéric
--
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