Re: Specifying action window.open

2005-09-06 Thread Frank W. Zammetti
So popular in fact that there is a Wiki entry for it :)

http://wiki.apache.org/struts/StrutsSolutions

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com

On Tue, September 6, 2005 9:03 am, [EMAIL PROTECTED] said:
> "Anuradha S.Athreya" <[EMAIL PROTECTED]> wrote on 09/06/2005
> 07:56:19 AM:
>
>> I have a link in a JSP :
>>
>>
>> 
>>Click here
>> 
>>
>>
>> On Clicking this link, an action is performed and another JSP (forwarded
> by
>> the Action) opens up.
>>
>> Instead of opening the whole JSP , I want it to open in a window , by
>> calling the a javascript function - window.open.
>>
>> How do I specify the action to be performed when calling window.open
>
> If you have a form with a submit button then you can simply set
> target="_blank" in your form and that will open up a new window. Since you
> have a link you can use throw a  link, then use Javascript with an onClick="form.submit()"..
>
> Google for something like "javascript new window struts action" and you
> will get lots of info. This is a popular question..:)
>
> Regards,
> Geeta
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Specifying action window.open

2005-09-06 Thread gramani
"Anuradha S.Athreya" <[EMAIL PROTECTED]> wrote on 09/06/2005 
07:56:19 AM:

> I have a link in a JSP :
> 
> 
> 
>Click here
> 
> 
> 
> On Clicking this link, an action is performed and another JSP (forwarded 
by
> the Action) opens up.
> 
> Instead of opening the whole JSP , I want it to open in a window , by
> calling the a javascript function - window.open.
> 
> How do I specify the action to be performed when calling window.open

If you have a form with a submit button then you can simply set 
target="_blank" in your form and that will open up a new window. Since you 
have a link you can use throw a