How to pass data (model2model)

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

How to pass data (model2model)

c.harder

Unfortunately, I couldn’t find an example to my problem.

 

I have 2 simple views (input-view.xhtml and output-view.xhtml).

Both use the same xforms-model, which is included in the head of each xhtml.

After I have entered some data in “input-view”, I like to go to the “output-view”, which should show me the input (xforms:output).

 

I tried this:

 

<xu:update select="/form">

      <xu:copy-of select="document('input:instance')/form/*" />-->

</xu:update>

 

..but its not working. There is no error, but output is empty.

 

Do I have to use xforms:trigger or xforms:submit à submission methode=”post” ?

 

How can I solve this little Problem.



--
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: How to pass data (model2model)

Alessandro  Vernet
Administrator
I am not sure where you are running this XUpdate. Since this is only a
2 page example, you could maybe share the code we us, so we can run
this locally and better understand the issue.

Alex

On 11/7/05, Harder, Clemens <[hidden email]> wrote:

>
>
>
> Unfortunately, I couldn't find an example to my problem.
>
>
>
> I have 2 simple views (input-view.xhtml and output-view.xhtml).
>
> Both use the same xforms-model, which is included in the head of each xhtml.
>
> After I have entered some data in "input-view", I like to go to the
> "output-view", which should show me the input (xforms:output).
>
>
>
> I tried this:
>
>
>
> <xu:update select="/form">
>
>       <xu:copy-of select="document('input:instance')/form/*" />-->
>
> </xu:update>
>
>
>
> ..but its not working. There is no error, but output is empty.
>
>
>
> Do I have to use xforms:trigger or xforms:submit à submission methode="post"
> ?
>
>
>
> How can I solve this little Problem.
>
> --
> 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
>
>
>

--
Blog (XML, Web apps, Open Source): http://www.orbeon.com/blog/



--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet