You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Wouter de Vaal <wo...@hotmail.com> on 2004/07/16 10:56:56 UTC

LinkSubmit and new window

Hi,
 
Is it possible to combine the component LinkSubmit with an
ActionLink/DirectLink?
 
Here's what I need. On a page there is a form that I would like to submit
via a link and in the process it should open a
new window and show the result of the submit there (which will be a PDF). 
 
I'm able to pop-up the new window and show a pdf via ActionLink or
DirectLink, but then the form will not be submitted.
 
On the other hand, using a LinkSubmit will submit the form but the window
that pops up remains empty. 
 
Is there a solution for this, or is it yet to be written?

Regards,
Wouter de Vaal

RE: LinkSubmit and new window

Posted by Wouter de Vaal <wo...@online.ie>.
I guess this would work if I only had _one_ LinkSumbit, but I have several
and I only want one of thos LinkSumbit button to have the new window
behaviour. 
Any other thoughts? 

Wouter
 
> 
> Did you tried with «target="_window"» in your form tag parameters ?
> 
> Le ven 16/07/2004 à 10:56, Wouter de Vaal a écrit :
> > Hi,
> >  
> > Is it possible to combine the component LinkSubmit with an 
> > ActionLink/DirectLink?
> >  
> > Here's what I need. On a page there is a form that I would like to 
> > submit via a link and in the process it should open a new 
> window and 
> > show the result of the submit there (which will be a PDF).
> >  
> > I'm able to pop-up the new window and show a pdf via ActionLink or 
> > DirectLink, but then the form will not be submitted.
> >  
> > On the other hand, using a LinkSubmit will submit the form but the 
> > window that pops up remains empty.
> >  
> > Is there a solution for this, or is it yet to be written?
> > 
> > Regards,
> > Wouter de Vaal
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: LinkSubmit and new window

Posted by Mikael Cluseau <nw...@nwrk.dyndns.org>.
Did you tried with «target="_window"» in your form tag parameters ?

Le ven 16/07/2004 à 10:56, Wouter de Vaal a écrit :
> Hi,
>  
> Is it possible to combine the component LinkSubmit with an
> ActionLink/DirectLink?
>  
> Here's what I need. On a page there is a form that I would like to submit
> via a link and in the process it should open a
> new window and show the result of the submit there (which will be a PDF). 
>  
> I'm able to pop-up the new window and show a pdf via ActionLink or
> DirectLink, but then the form will not be submitted.
>  
> On the other hand, using a LinkSubmit will submit the form but the window
> that pops up remains empty. 
>  
> Is there a solution for this, or is it yet to be written?
> 
> Regards,
> Wouter de Vaal

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org