Passing data from page to another page

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

Passing data from page to another page

Leonardo-6
Hi guys, first of Happy New Year ;-) .

On my page i have an xform this form is a search form.
On this form there is a field, called companyCode. The companyCode is
setted by a popUp on this popup i select from a list a company. My
problem is passing data (code, description) from popUp to my form.

I open the popUp with tag <xxforms:script>...</xxforms:script> and
window.open(....). My idea was calling a javascript function on the
opener page and passing data... anyone know a way to do this?

Best reguards
Leonardo





--
Ing. Leonardo Reale

QUIX S.r.l.

Strada Statale 413, 160/162
41019 - Soliera (MO)
Loc.Appalto - ITALY
Tel. 0039 059 565388
Fax. 0039 059 565322

[hidden email]
[hidden email]





--
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: Passing data from page to another page

Martin Mohnhaupt
Hello Leonardo,

Happy new year to you too :-)

Simple question (to answer a question): why don't you use xforms submissions with a ref to an instance to pass data from one form to another ? This is rather simple to implement in a page flow logic....

Maybe I did not really understand what you try to achieve ...

Best regards,

-Martin

Leonardo Reale wrote:
Hi guys, first of Happy New Year ;-) .

On my page i have an xform this form is a search form.
On this form there is a field, called companyCode. The companyCode is setted by a popUp on this popup i select from a list a company. My problem is passing data (code, description) from popUp to my form.

I open the popUp with tag <xxforms:script>...</xxforms:script> and window.open(....). My idea was calling a javascript function on the opener page and passing data... anyone know a way to do this?

Best reguards
Leonardo






-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: [hidden email] For general help: [hidden email] ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

-- 
Martin Mohnhaupt
Nice Data Systems
Rue de Lyon 42 - CH 1203 GENEVE
Tél: +41 (0) 22 344 11 39
Mob: +41 (0) 78 636 00 75
Email: [hidden email]
Web: http://www.nicedata.com
Skype: martin.mohnhaupt
Action Carbone: http://www.actioncarbone.org


--
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: Passing data from page to another page

Leonardo-6
I'm using xforms-jsp Orbeon module and web.xml filter, for this reason i
don't use the Page flow controller.
I'm writing a jsp with xforms tag.

Best reguards
Leonardo


Martin Mohnhaupt ha scritto:

> Hello Leonardo,
>
> Happy new year to you too :-)
>
> Simple question (to answer a question): why don't you use xforms
> submissions with a ref to an instance to pass data from one form to
> another ? This is rather simple to implement in a page flow logic....
>
> Maybe I did not really understand what you try to achieve ...
>
> Best regards,
>
> -Martin
>
> Leonardo Reale wrote:
>> Hi guys, first of Happy New Year ;-) .
>>
>> On my page i have an xform this form is a search form.
>> On this form there is a field, called companyCode. The companyCode is
>> setted by a popUp on this popup i select from a list a company. My
>> problem is passing data (code, description) from popUp to my form.
>>
>> I open the popUp with tag <xxforms:script>...</xxforms:script> and
>> window.open(....). My idea was calling a javascript function on the
>> opener page and passing data... anyone know a way to do this?
>>
>> Best reguards
>> Leonardo
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>
>> --
>> 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
>>  
>
> --
> Martin Mohnhaupt
> Nice Data Systems
> Rue de Lyon 42 - CH 1203 GENEVE
> Tél: +41 (0) 22 344 11 39
> Mob: +41 (0) 78 636 00 75
> Email: [hidden email]
> Web: http://www.nicedata.com
> Skype: martin.mohnhaupt
> Action Carbone: http://www.actioncarbone.org
> ------------------------------------------------------------------------
>
>
> --
> 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
>  

--
Ing. Leonardo Reale

QUIX S.r.l.

Strada Statale 413, 160/162
41019 - Soliera (MO)
Loc.Appalto - ITALY
Tel. 0039 059 565388
Fax. 0039 059 565322

[hidden email]
[hidden email]





--
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: Passing data from page to another page

Alessandro  Vernet
Administrator
Leonardo,

You can pass information to a pop-up you open with JavaScript, and
pass information back from the pop-up to the window that opened it.
But that involves some JavaScript code, and is kind of clunky.
Instead, what about using the <xxforms:dialog> control? See the
"dialog" example you can run the from sandbox, as an example. Would
that work for your use case?

Alex

On 1/3/07, Leonardo Reale <[hidden email]> wrote:

> I'm using xforms-jsp Orbeon module and web.xml filter, for this reason i
> don't use the Page flow controller.
> I'm writing a jsp with xforms tag.
>
> Best reguards
> Leonardo
>
>
> Martin Mohnhaupt ha scritto:
> > Hello Leonardo,
> >
> > Happy new year to you too :-)
> >
> > Simple question (to answer a question): why don't you use xforms
> > submissions with a ref to an instance to pass data from one form to
> > another ? This is rather simple to implement in a page flow logic....
> >
> > Maybe I did not really understand what you try to achieve ...
> >
> > Best regards,
> >
> > -Martin
> >
> > Leonardo Reale wrote:
> >> Hi guys, first of Happy New Year ;-) .
> >>
> >> On my page i have an xform this form is a search form.
> >> On this form there is a field, called companyCode. The companyCode is
> >> setted by a popUp on this popup i select from a list a company. My
> >> problem is passing data (code, description) from popUp to my form.
> >>
> >> I open the popUp with tag <xxforms:script>...</xxforms:script> and
> >> window.open(....). My idea was calling a javascript function on the
> >> opener page and passing data... anyone know a way to do this?
> >>
> >> Best reguards
> >> Leonardo
> >>
> >>
> >>
> >>
> >>
> >> ------------------------------------------------------------------------
> >>
> >>
> >> --
> >> 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
> >>
> >
> > --
> > Martin Mohnhaupt
> > Nice Data Systems
> > Rue de Lyon 42 - CH 1203 GENEVE
> > Tél: +41 (0) 22 344 11 39
> > Mob: +41 (0) 78 636 00 75
> > Email: [hidden email]
> > Web: http://www.nicedata.com
> > Skype: martin.mohnhaupt
> > Action Carbone: http://www.actioncarbone.org
> > ------------------------------------------------------------------------
> >
> >
> > --
> > 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
> >
>
>
> --
> Ing. Leonardo Reale
>
> QUIX S.r.l.
>
> Strada Statale 413, 160/162
> 41019 - Soliera (MO)
> Loc.Appalto - ITALY
> Tel. 0039 059 565388
> Fax. 0039 059 565322
>
> [hidden email]
> [hidden email]
>
>
>
>
>
>
> --
> 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