You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Joseph <pj...@yahoo.com> on 2005/02/01 20:50:50 UTC

open a new browser in flowscript

Hi,

In my flowscript, I would like to open a brand new
browser and make an http call whose results will go
into this new browser...

Is this possible?  Any tips on how to do this will be
much appreciated!

thx
Paul

=====
This communication, including attachments, is for the exclusive use of 
the addressee and may contain proprietary, confidential, or privileged
information.  If you are not the intended recipient, any use, copying,
disclosure, dissemination, or distribution is strictly prohibited.  If 
you are not the intended recipient, please notify the sender by return mail and delete this communication and destroy all copies.


		
__________________________________ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Re[2]: open a new browser in flowscript

Posted by Paul Joseph <pj...@yahoo.com>.
Yes, thank you, this helped me finish the task!

brgds
Paul
--- Jens Maukisch <co...@maukisch.net> wrote:

> Hi Paul Joseph,
> 
> > I can open the new browser using client side JS,
> but
> > the url is dynamic and obtained from the flow
> logic.
> 
> > so yes, a) i can throw up a new browser using
> client
> > side js and b) the flow creates the new url.
> 
> > I am not clear on how to get the flow to send the
> new
> > url to the newly opend browser - which I presume
> is
> > the http 302?
> 
> Make sure you understand what happens on the client
> side
> and what on the server side. If you open a new
> window
> on the client-side you must give it the url it
> should display.
> 
> Maybe the target-attribute of the form tag is what
> you are looking
> for? <form method="post" action="foo/bar"
> target="_blank">
> 
> hth
> 
> -- 
> * best regards
> * Jens Maukisch              
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 
> 


=====
This communication, including attachments, is for the exclusive use of 
the addressee and may contain proprietary, confidential, or privileged
information.  If you are not the intended recipient, any use, copying,
disclosure, dissemination, or distribution is strictly prohibited.  If 
you are not the intended recipient, please notify the sender by return mail and delete this communication and destroy all copies.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re[2]: open a new browser in flowscript

Posted by Jens Maukisch <co...@maukisch.net>.
Hi Paul Joseph,

> I can open the new browser using client side JS, but
> the url is dynamic and obtained from the flow logic.

> so yes, a) i can throw up a new browser using client
> side js and b) the flow creates the new url.

> I am not clear on how to get the flow to send the new
> url to the newly opend browser - which I presume is
> the http 302?

Make sure you understand what happens on the client side
and what on the server side. If you open a new window
on the client-side you must give it the url it should display.

Maybe the target-attribute of the form tag is what you are looking
for? <form method="post" action="foo/bar" target="_blank">

hth

-- 
* best regards
* Jens Maukisch              


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: open a new browser in flowscript

Posted by Paul Joseph <pj...@yahoo.com>.
I hear what you are saying re. flow being server side.

I can open the new browser using client side JS, but
the url is dynamic and obtained from the flow logic.

so yes, a) i can throw up a new browser using client
side js and b) the flow creates the new url.

I am not clear on how to get the flow to send the new
url to the newly opend browser - which I presume is
the http 302?

thx
Paul
--- WHIRLYCOTT <ph...@whirlycott.com> wrote:

> I'm not sure how you envision this working, but flow
> is server side.  f 
> you can figure out how to open a new browser with
> flow, it would be very 
> interesting since it would result in a new browser
> window being created 
> on the server........
> 
> You could do something like what you ask by using a
> combination of 
> client side javascript and possibly by issuing a
> HTTP 302 Redirect from 
> your flow.
> 
> phil.
> 
> Paul Joseph wrote:
> > Hi,
> > 
> > In my flowscript, I would like to open a brand new
> > browser and make an http call whose results will
> go
> > into this new browser...
> > 
> > Is this possible?  Any tips on how to do this will
> be
> > much appreciated!
> > 
> > thx
> > Paul
> > 
> > =====
> > This communication, including attachments, is for
> the exclusive use of 
> > the addressee and may contain proprietary,
> confidential, or privileged
> > information.  If you are not the intended
> recipient, any use, copying,
> > disclosure, dissemination, or distribution is
> strictly prohibited.  If 
> > you are not the intended recipient, please notify
> the sender by return mail and delete this
> communication and destroy all copies.
> > 
> > 
> > 		
> > __________________________________ 
> > Do you Yahoo!? 
> > Meet the all-new My Yahoo! - Try it today! 
> > http://my.yahoo.com 
> >  
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail:
> users-help@cocoon.apache.org
> > 
> 
> -- 
>                                    Whirlycott
>                                    Philip Jacob
>                                   
> phil@whirlycott.com
>                                   
> http://www.whirlycott.com/phil/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 
> 


=====
This communication, including attachments, is for the exclusive use of 
the addressee and may contain proprietary, confidential, or privileged
information.  If you are not the intended recipient, any use, copying,
disclosure, dissemination, or distribution is strictly prohibited.  If 
you are not the intended recipient, please notify the sender by return mail and delete this communication and destroy all copies.


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: open a new browser in flowscript

Posted by WHIRLYCOTT <ph...@whirlycott.com>.
I'm not sure how you envision this working, but flow is server side.  f 
you can figure out how to open a new browser with flow, it would be very 
interesting since it would result in a new browser window being created 
on the server........

You could do something like what you ask by using a combination of 
client side javascript and possibly by issuing a HTTP 302 Redirect from 
your flow.

phil.

Paul Joseph wrote:
> Hi,
> 
> In my flowscript, I would like to open a brand new
> browser and make an http call whose results will go
> into this new browser...
> 
> Is this possible?  Any tips on how to do this will be
> much appreciated!
> 
> thx
> Paul
> 
> =====
> This communication, including attachments, is for the exclusive use of 
> the addressee and may contain proprietary, confidential, or privileged
> information.  If you are not the intended recipient, any use, copying,
> disclosure, dissemination, or distribution is strictly prohibited.  If 
> you are not the intended recipient, please notify the sender by return mail and delete this communication and destroy all copies.
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Meet the all-new My Yahoo! - Try it today! 
> http://my.yahoo.com 
>  
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 

-- 
                                   Whirlycott
                                   Philip Jacob
                                   phil@whirlycott.com
                                   http://www.whirlycott.com/phil/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org