Re: [maybe OT] Detecting if a new window or tab was opened (server-side)

2011-03-17 Thread Brian Thompson
cept/block/change every mouse click event which is > not the left click event through javascript. > > Maurizio Cucchiara > > Il giorno 16/mar/2011 22.26, "Wes Wannemacher" ha > scritto: > Does anyone know of a good trick to detect whether a new window or tab > was o

Re: [maybe OT] Detecting if a new window or tab was opened (server-side)

2011-03-16 Thread Maurizio Cucchiara
"Wes Wannemacher" ha scritto: Does anyone know of a good trick to detect whether a new window or tab was opened by the user... Here is the scenario, a user is looking at a view and he/she right-clicks one of the links and chooses to open the link in a new tab or window. The original view and

Re: [maybe OT] Detecting if a new window or tab was opened (server-side)

2011-03-16 Thread stanlick
Your questions are too difficult! Can you please rephrase? Peace, Scott On Wed, Mar 16, 2011 at 4:25 PM, Wes Wannemacher wrote: > Does anyone know of a good trick to detect whether a new window or tab > was opened by the user... > > Here is the scenario, a user is looking at a vie

[maybe OT] Detecting if a new window or tab was opened (server-side)

2011-03-16 Thread Wes Wannemacher
Does anyone know of a good trick to detect whether a new window or tab was opened by the user... Here is the scenario, a user is looking at a view and he/she right-clicks one of the links and chooses to open the link in a new tab or window. The original view and the new tab or window will share

RE: s:submit to display results in a new window ?

2011-01-27 Thread Doctor John Carter
http://stackoverflow.com/questions/1458080/how-to-open-a-new-window-without-using-window-open-and-a-href-in-struts2 > Date: Thu, 27 Jan 2011 16:12:52 -0500 > From: em...@encs.concordia.ca > To: user@struts.apache.org > Subject: s:submit to dis

s:submit to display results in a new window ?

2011-01-27 Thread Emi Lu
Good afternoon, Could someone tell me how to use s:submit to open result in a new window? struts2.2.1.1 Thank you, -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail

Re: [Struts 2.1.8] s:url : how to open in a new window ?

2010-03-25 Thread Celinio Fernandes
Thanks, that works :) --- On Tue, 3/23/10, Florin Cazacu wrote: From: Florin Cazacu Subject: Re: [Struts 2.1.8] s:url : how to open in a new window ? To: "Struts Users Mailing List" Date: Tuesday, March 23, 2010, 9:36 AM Hello, You can avoid opening of the link in the curr

Re: [Struts 2.1.8] s:url : how to open in a new window ?

2010-03-23 Thread Florin Cazacu
Hello, You can avoid opening of the link in the current window removing the href attribute from tag. Florin Cazacu. Celinio Fernandes wrote: Hi, I am using Struts 2.1.8. In a JSP, I have a link which calls an action. I want to open that link in a new window. The following code works

Re: [Struts 2.1.8] s:url : how to open in a new window ?

2010-03-23 Thread Brian Thompson
el...@yahoo.com] Enviada: terça-feira, 23 >> de Março de 2010 13:03 >> Para: Struts Users Mailing List >> Assunto: [Struts 2.1.8] s:url : how to open in a new window ? >> >> Hi, >> I am using Struts 2.1.8. >> In a JSP, I have a link which calls an action. I w

Re: [Struts 2.1.8] s:url : how to open in a new window ?

2010-03-23 Thread Brian Thompson
ts 2.1.8. > In a JSP, I have a link which calls an action. I want to open that link in a > new window. The following code works : >   >   onclick="javascript:window.open('%{genererRapportPDF}');">Generation > > > The problem is that it also calls th

Re: [Struts 2.1.8] s:url : how to open in a new window ?

2010-03-23 Thread Robert Graf-Waczenski
lto:cel...@yahoo.com] Enviada: terça-feira, 23 de Março de 2010 13:03 Para: Struts Users Mailing List Assunto: [Struts 2.1.8] s:url : how to open in a new window ? Hi, I am using Struts 2.1.8. In a JSP, I have a link which calls an action. I want to open that link in a new window. The follo

RE: [Struts 2.1.8] s:url : how to open in a new window ?

2010-03-23 Thread Gustavo Felisberto
sunto: [Struts 2.1.8] s:url : how to open in a new window ? Hi, I am using Struts 2.1.8. In a JSP, I have a link which calls an action. I want to open that link in a new window. The following code works :      Generation        The problem is that it also calls the action / opens the link in the cu

[Struts 2.1.8] s:url : how to open in a new window ?

2010-03-23 Thread Celinio Fernandes
Hi, I am using Struts 2.1.8. In a JSP, I have a link which calls an action. I want to open that link in a new window. The following code works :      Generation        The problem is that it also calls the action / opens the link in the current window. How to avoid that ? Thanks.   

Re: How to use struts2 tag to a open a new window?

2009-01-05 Thread Dave Newton
Gordian Yuan wrote: and i can't found html tag A target attribute on s:a now i write the code like this modify It struts2 has a good way to be able to use s:a to open a new window ? The tag is really more for the Ajax theme--using the HTML tag is probably the best way to do this.

How to use struts2 tag to a open a new window?

2009-01-04 Thread Gordian Yuan
Hi all,I has see the document http://struts.apache.org/2.0.14/docs/a.html <http://struts.apache.org/2.0.14/docs/a.html> and i can't found html tag A target attribute on s:a now i write the code like this modify It struts2 has a good way to be able to use s:a to open a new window ? Thanks!

Re: s:a and result in new window

2008-06-18 Thread Paranoid_Fabio
t; action. Even if I do: >>> >>> >>> >>> >> value="param2"/> >>> >>> >>> and then: >>> >>> a href="#" onclick=window.open('${actionURL}') / >&

Re: s:a and result in new window

2008-06-18 Thread Laurie Harper
, but still the parameters are not passed to the action. How can I do that? Call my action with all the parameters and display result in a new window?? thank you very much - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: s:a and result in new window

2008-06-18 Thread Paranoid_Fabio
; > > > and then: > > a href="#" onclick=window.open('${actionURL}') / > > it works, but still the parameters are not passed to the action. > How can I do that? Call my action with all the parameters and display > result in a new window?? > > tha

Re: s:a and result in new window

2008-06-17 Thread Laurie Harper
still the parameters are not passed to the action. How can I do that? Call my action with all the parameters and display result in a new window?? thank you very much Maybe it's just me, but your message seems to have gotten garbled. Make sure you are sending plain text (not HTML) formatt

s:a and result in new window

2008-06-16 Thread Paranoid_Fabio
re not passed to the action. How can I do that? Call my action with all the parameters and display result in a new window?? thank you very much -- View this message in context: http://www.nabble.com/s%3Aa-and-result-in-new-window-tp17868608p17868608.html Sent fr

How to popup a new window having detailed data on click of textbox

2008-04-23 Thread Rishi Deepak
name. Kindly suggest me the way how to implement the logic that when user click on the textbox a new window opens and user selects the employee detail from that window and passes the data to parent window. Please reply urgently, Thanks in advance. regards Deepak

Re: How to open a page in new window with or tag?

2008-04-15 Thread Mohiit
I myself found the solution. To open link in the new window, do as it is mentioned below. test this is working for me. I hope this solution can help you guys also. =) Mohiit wrote: > I am using Struts 2. I want to open the page in the new window when I > click > on an icon. I am u

Re: How to open a page in new window with or tag?

2008-04-10 Thread Laurie Harper
Mohiit wrote: I am using Struts 2. I want to open the page in the new window when I click on an icon. I am using tag and giving action by tag. i.e., ,/s:url> This way it is opening an action in same page. I want it in the new window like in HTML tag we can do it

How to open a page in new window with or tag?

2008-04-09 Thread Mohiit
I am using Struts 2. I want to open the page in the new window when I click on an icon. I am using tag and giving action by tag. i.e., ,/s:url> This way it is opening an action in same page. I want it in the new window like in HTML tag we can do it by l

Re: open new window using Struts action

2008-02-07 Thread Frank W. Zammetti
the same page, but if the validation success then I want the result display in new window. Question: how can I trigger open new window using Struts (I don't want to open new window using form target or windows open). can anyone help me? thanks Regards, jeppy --

open new window using Struts action

2008-02-07 Thread jeppy
Hi I'm using Struts 1.2.9, what i want is, if it's failed on validation then the error message display on the same page, but if the validation success then I want the result display in new window. Question: how can I trigger open new window using Struts (I don't want to open n

Re: [S2] Opening a new window upon a link click without Javascript

2008-01-03 Thread Gabriel Belingueres
AFAIK, the tag is best used when designing ajax applications, meaning the usual interaction is to update the same browser window. I would stay with the common HTML anchor tag to open a new window. Gabriel 2008/1/3, Al Sutton <[EMAIL PROTECTED]>: > Heres channelge for the day... >

[S2] Opening a new window upon a link click without Javascript

2008-01-03 Thread Al Sutton
Heres channelge for the day... I have a page which contains a link, when the user clicks the link they get a PDF which they need to go off and do something with (not part of the webapp). What I'd like to do is open a new browser window with the PDF in and retain the page with link in the origin

Re: opening a new window if validated

2007-11-20 Thread Pavel Sapozhnikov
rrors does. But then yeah it actually works I still have target there and it opens a new window only when validation succeded thats fine is there any way to make javascript display html:errors like right in page and not in a pop up I looked at html:errors it doesn't have an id or styleId attrib

RE: opening a new window if validated

2007-11-19 Thread Adam Gordon
It could actually be both. I assume you are using both client and server side JavaScript validation (at the very least you should be doing server side since HTML pages can be manipulated). So, assuming you are doing both, you need the page you submitted the data on to go somewhere because you wan

opening a new window if validated

2007-11-19 Thread Pavel Sapozhnikov
Hi I have a question. I am not sure if this is a Struts question or an HTML question so here we go. I have a form on page x I submit the form validation failed it goes back to the page x which is fine but then if validated true it should open a new window with the stuff that should be there. So

RE: Link: new window or new tab

2007-10-30 Thread Rod Bollinger
Keep in mind however in POHTML the "target" attribute is deprecated unless you are doing frames development (which I hope you are not ;-)). The proper way to get a new window is to use the window.open() call from your tag. HTH, -Rod -Original Message- From: Dave Newton [mai

Re: Link: new window or new tab

2007-10-30 Thread Dave Newton
--- Jason Deffenbaugh <[EMAIL PROTECTED]> wrote: > So this is a pretty simple question (I'm new to view > technology) > > How do I control the target of a struts s:a tag? I > want to open the > link in a new window or a new tab. > > I've tried: >

RES: Link: new window or new tab

2007-10-30 Thread Luciano Costa
Use the simple theme. -Mensagem original- De: Jason Deffenbaugh [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 30 de outubro de 2007 07:55 Para: Struts Users Assunto: Link: new window or new tab So this is a pretty simple question (I'm new to view technology) How do I co

Link: new window or new tab

2007-10-30 Thread Jason Deffenbaugh
So this is a pretty simple question (I'm new to view technology) How do I control the target of a struts s:a tag? I want to open the link in a new window or a new tab. I've tried: text without having used ajax anywhere else in my app but this just opens in the current win

Re: [OT] How can i open new window and forward request to another action class

2007-04-02 Thread Christopher Schultz
h javascript. Are you saying that you want to submit a form, refresh the page /and/ popup a new window containing a third page? Your form handler should return a page with a element like this: This will load your popup. This kind of user experience doesn't sound very good IMO. :( - -chri

How can i open new window and forward request to another action class

2007-04-02 Thread Ashish Kulkarni
Hi I have to handle the following situation. 1. When user click submit on the webpage, the request goes to the action class. 2 This action class performs some task, 3 If the task is ok then this action class should forward the request to another action class and also open a new browser window 4 i

Re: AW: AW: Action output in new window without menu/toolbar

2006-09-20 Thread Balwinder
-Ursprüngliche Nachricht- Von: Balwinder [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 20. September 2006 14:04 An: Struts Users Mailing List Betreff: Re: AW: Action output in new window without menu/toolbar Martin Kindler wrote: Thanks, but how do I use it with a form? I have i

AW: AW: Action output in new window without menu/toolbar

2006-09-20 Thread Martin Kindler
Re: AW: Action output in new window without menu/toolbar > > > Martin Kindler wrote: > > >Thanks, > >but how do I use it with a form? > > > >I have in my html-code > > > > > >Martin > > > > > > > >>-Ursp

RE: Action output in new window without menu/toolbar

2006-09-20 Thread Patil, Sheetal
For that u have to go for manually in javascript -Original Message- From: Martin Kindler [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 4:38 PM To: 'Struts Users Mailing List' Subject: Action output in new window without menu/toolbar Hi I am using Struts 1.2.x

Re: AW: Action output in new window without menu/toolbar

2006-09-20 Thread Balwinder
Martin Kindler wrote: Thanks, but how do I use it with a form? I have in my html-code Martin -Ursprüngliche Nachricht- Von: Balwinder [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 20. September 2006 13:17 An: Struts Users Mailing List Betreff: Re: Action output in new window

AW: Action output in new window without menu/toolbar

2006-09-20 Thread Martin Kindler
Thanks, but how do I use it with a form? I have in my html-code Martin > -Ursprüngliche Nachricht- > Von: Balwinder [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 20. September 2006 13:17 > An: Struts Users Mailing List > Betreff: Re: Action output in new window witho

Re: Action output in new window without menu/toolbar

2006-09-20 Thread Balwinder
Martin Kindler wrote: Hi I am using Struts 1.2.x and try to achieve the following: on a page I have a form whose action calls a Struts action. The result shall be displayed in a new window. No problem so far. But: The new window should have no menu- and toolbar. Is this possible? and if, how

Action output in new window without menu/toolbar

2006-09-20 Thread Martin Kindler
Hi I am using Struts 1.2.x and try to achieve the following: on a page I have a form whose action calls a Struts action. The result shall be displayed in a new window. No problem so far. But: The new window should have no menu- and toolbar. Is this possible? and if, how? Martin

Re: i18n usage when new window opened.

2006-07-05 Thread Paul Benedict
criptlets to the calendar.jsp to get the session object and extract the locale information from there. But i do not get the session object in the new window that was opened from the parent window which has a session object associated with it. My question is how can i get the session information in a ne

i18n usage when new window opened.

2006-07-05 Thread Sharon Jolly
and extract the locale information from there. But i do not get the session object in the new window that was opened from the parent window which has a session object associated with it. My question is how can i get the session information in a new window that is opened using window.open() from

Struts-menu:How can I open the very page that the location defined in the parent window,namelly NOT a new window?

2006-05-29 Thread M.Liang Liu
I tried to use struts-menu and I find a BIG problem: My customer would like to open the very page that the "location" defined in the same window,not a new window? It woks in firefox and the customer is satisfied.The problem occurred under Internet Explorer. Can you help me please?

Re: Spawning a new window from Action.execute

2006-02-16 Thread Jari Fredriksson
Tom Ansley wrote: Yes, I use javascript for the exact problem you mention. Here is the code I use for the different possible formats: That way the Form gets not submitted, and the bean does not have the latest data on form. It may not always be a problem, but I see it not perfect.. But i

RE: Spawning a new window from Action.execute

2006-02-13 Thread Tom Ansley
Subject: Re: Spawning a new window from Action.execute You will need to use javascript. Let the javascript function call your action class and open a new window. HTH. - Yahoo! Mail Use Photomail to share photos without annoying attachments

Re: Spawning a new window from Action.execute

2006-02-13 Thread kalpesh modi
You will need to use javascript. Let the javascript function call your action class and open a new window. HTH. - Yahoo! Mail Use Photomail to share photos without annoying attachments.

Spawning a new window from Action.execute

2006-02-13 Thread Jari Fredriksson
Hello, new user here. New with struts, but looks good so far. I have one special need now, though.. Would like to open something in a new window, after getting the data into form bean, and validated it. This may not be a struts specific problem, but in case someone has ideas for it

Re: Opening a new window

2006-01-12 Thread Aldo Vadillo Batista
I think you can use javascript for accessing to struts html:hidden variables. 12 Jan 2006 14:59:49 -, rahul kshirsagar <[EMAIL PROTECTED]>: > Hi, > > I am using struts in my application.I have one parent jsp from which i am > opening a new window.Now i want to pass some value from this child

Opening a new window

2006-01-12 Thread rahul kshirsagar
Hi, I am using struts in my application.I have one parent jsp from which i am opening a new window.Now i want to pass some value from this child window and close the same. How to pass this value from child to parent jsp and also retain values in parent jsp? Which is the efficient way to impleme

Re: Opening a New window

2006-01-12 Thread Rick Reumann
rahul kshirsagar wrote the following on 1/12/2006 8:36 AM: Hi, Do i need to call action class on submit > of new jsp? I wasn't able to follow all of your original post, but in my opinion, you should always go through an Action, even if it's the the default ActionForward. This way, if later o

Opening a New window

2006-01-12 Thread rahul kshirsagar
Hi, I am using struts in my application.I have one JSP in which i have "search" and "submit" button.I am opening a new window on click of "search" and populating a jsp.Now i want to pass a value from this new jsp to old jsp and also want to retain data in old

Re: spawning a new window for print?

2005-11-08 Thread Martin Gainty
Chad- Have you looked at activetree which has Preview capability? http://www.activetree.com/ M- - Original Message - From: "Chad Armstrong" <[EMAIL PROTECTED]> To: Sent: Monday, November 07, 2005 5:44 PM Subject: spawning a new window for print? Hi all, I'm pret

Re: spawning a new window for print?

2005-11-07 Thread Chad Armstrong
Thanks guys, yeah I was hoping that a submit would be a submit, regardless of browser window, just redirecting the request/response stream, but maybe not. I'm familiar with the CSS options you offered, so I will fall back to those same-window options if no new-window solutions are found. Cha

Re: spawning a new window for print?

2005-11-07 Thread Murray Collingwood
the same page with a hidden form field flag set to not > > display the extraneous formatting. But I want to do this in a new > > window. > > > > I've tried the following: > > > > Using javascript to force a form submit in the onclick method of a > > te

Re: spawning a new window for print?

2005-11-07 Thread Michael Jouravlev
and > struts tags to display the results. What I want to now do however, is > provide a Print link that spawns a new window with a stripped down > version of the content. It would be easy enough if the Print button > just refreshed the page, I would just use a standard submit button and &g

spawning a new window for print?

2005-11-07 Thread Chad Armstrong
de a Print link that spawns a new window with a stripped down version of the content. It would be easy enough if the Print button just refreshed the page, I would just use a standard submit button and post back to the same page with a hidden form field flag set to not display the extraneous formatting.

Starting a new Shale Dialog in a new window

2005-09-08 Thread Holshausen, Ron
Hi, I'm trying to start a new shale dialog flow in a new window. The window is opened when the user clicks on a button, and is invoked with the javascript function window.open('/startdialog.jsf'). The problem is that to initiate a dialog flow, you need to setup an action to r

RE: forward to a new window

2005-08-01 Thread Raj Tilak
you got to specify the target in the href or form action or whatever method you are using it From: "Rivka Shisman" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" Subject: forward to a new window Date: Mon, 1

RE: forward to a new window

2005-08-01 Thread Mark Benussi
To expand on Vic's comments. Yes the share the same session id but they also have a JavaScript relationship. The opener parent can be accesses from the child window from referencing the window.opener API. If the new window is assigned to a windows variable then the parent can reference that

RE: forward to a new window

2005-08-01 Thread Vic
> 1. What are the relations between the new window and the original one? > Do they share the same session attributes? Typically, the parent & child window will share the same session attributes. > 2. How do you define a child window in JSP - can you please attach an > example?

Re: forward to a new window

2005-08-01 Thread Emmanouil Batsis
friends I would like to know if there is a way of forwarding a request to a new explorer window. For example, in the current window I have a list of books and a link to a book details page for each book in the list - how do I open the book details in a new window using Struts? Thanks Rivka

Re: forward to a new window

2005-08-01 Thread Emmanouil Batsis
new explorer window. For example, in the current window I have a list of books and a link to a book details page for each book in the list - how do I open the book details in a new window using Struts? Thanks Rivka

RE: forward to a new window

2005-08-01 Thread Leon Rosenberg
shalom rivka, there is no whatsoever relation between html-controled browser windows and the backend struts-java-code. besides, you can access the new window from the old window using its name, and you can access the old window from the new window by window.opener or window.parent (depends on

RE: forward to a new window

2005-08-01 Thread Rivka Shisman
Thanks guys 2 related questions: 1. What are the relations between the new window and the original one? Do they share the same session attributes? 2. How do you define a child window in JSP - can you please attach an example? Rivka -Original Message- From: Mark Benussi [mailto:[EMAIL

RE: forward to a new window

2005-08-01 Thread Mark Benussi
when writing a link the target attribute can be set with _new or _blank or even the name of a child window. When youclick on the link it will open in said new window. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: forward to a new window

2005-08-01 Thread Vic
Hi Rivka, Try the following: link This will open your action in a new window. Vic > Hi friends > > > > I would like to know if there is a way of forwarding a request to a new > explorer window. > > For example, in the current window I have a list of books and a link

forward to a new window

2005-08-01 Thread Rivka Shisman
Hi friends I would like to know if there is a way of forwarding a request to a new explorer window. For example, in the current window I have a list of books and a link to a book details page for each book in the list - how do I open the book details in a new window using Struts? Thanks

Re: Opening a Form in a New Window - Help!

2005-05-20 Thread David Johnson
ing more requires scripting. > > I wasn't clear on what you meant by: > > "Does anyone know how I might specify these options when opening up a > new window, then submitting a struts form to said window?" > > Specifically, the part about submitting a struts form

Re: Opening a Form in a New Window - Help!

2005-05-19 Thread Frank W. Zammetti
ht specify these options when opening up a new window, then submitting a struts form to said window?" Specifically, the part about submitting a struts form to said window... can you explain that a different way because I'm not sure what your trying to accomplish from that. Frank David Joh

Re: Opening a Form in a New Window - Help!

2005-05-19 Thread David Johnson
5/19/05, David Johnson <[EMAIL PROTECTED]> wrote: > > Hi there > I'm trying to open up a new window from my struts application which will > contain "help" information. The link opening the window looks like this so > far > > < > html:link acti

Opening a Form in a New Window - Help!

2005-05-19 Thread David Johnson
Hi there I'm trying to open up a new window from my struts application which will contain "help" information. The link opening the window looks like this so far http://help.do>" target="_help">Help What I'd like to do is specify the following opt

Re: open new window form struts action

2005-02-02 Thread [EMAIL PROTECTED]
Ashish Kulkarni wrote: Hi can we open a new window from action class? i dont want to use target="_blank"> as i want to be able to open this new window from any form( i have a menu option which can be executed from any page of my website) Basically i have a java script which lo

Re: open new window form struts action

2005-01-20 Thread [EMAIL PROTECTED]
Ashish Kulkarni wrote: Hi can we open a new window from action class? i dont want to use target="_blank"> as i want to be able to open this new window from any form( i have a menu option which can be executed from any page of my website) Basically i have a java script which lo

RE: open new window form struts action..java script variable

2005-01-20 Thread Ashish Kulkarni
w name to something specific > such as mysite_com_popup > and then use that name as a target in the future? > > Regards, > David > > -Original Message- > From: Ashish Kulkarni > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 19, 2005 2:28 PM > To: Stru

RE: open new window form struts action..java script variable

2005-01-20 Thread Backus, Matthew J
though not a struts issue, the anchor tags target attribute is generally used when dealing with frames. I have READ that forcing content into a new window can cause problems for user agents (html readers). -Original Message- From: David G. Friedman [mailto:[EMAIL PROTECTED] Sent

RE: open new window form struts action..java script variable

2005-01-19 Thread David G. Friedman
: Re: open new window form struts action..java script variable Hi thanx guys for the clarification, here is a very intresting problem with defining target and opening new window, suppose you open a new window using java script in mypage.jsp your code will be like below in mypage.jsp var TheNewWin

Re: open new window form struts action..java script variable

2005-01-19 Thread Ashish Kulkarni
Hi thanx guys for the clarification, here is a very intresting problem with defining target and opening new window, suppose you open a new window using java script in mypage.jsp your code will be like below in mypage.jsp var TheNewWin; if(!TheNewWin || TheNewWin.closed) { TheNewWin = window.open

Re: open new window form struts action

2005-01-19 Thread fzlists
Geez, I wish I'd have known that before! So are you saying that if the browser doesn't recognize the target as one of the predefined types, it will assume it should open a new window named according to the target value? That's cool, and I didn't know it. It would have sav

Re: open new window form struts action

2005-01-19 Thread PA
On Jan 19, 2005, at 19:05, [EMAIL PROTECTED] wrote: For my own edification, can you expand on the ability to "...define whatever target you like"? I've never heard that before, I'd be interested to know more. I'm wondering specifically since the browser wouldn't know what anything other than t

Re: open new window form struts action

2005-01-19 Thread fzlists
6, [EMAIL PROTECTED] wrote: > >> (1) Submit a form to _blank, as you said (actually, I think it's _new, >> but my memory sucks so I'm not sure) > > Actually, you can define whatever target you like. > > There are a couple of "standard"

Re: open new window form struts action

2005-01-19 Thread PA
ank - the target URL will open in a new window •_self - the target URL will open in the same frame as it was clicked •_parent - the target URL will open in the parent frameset •_top - the target URL will open in the full body of the window http://ww

Re: open new window form struts action

2005-01-19 Thread fzlists
This should probably be an answer on the Wiki since I see this asked quite a bit... No, you cannot open a new window from an Action. Not directly anyway. Opening a window is strictly a client-side activity. Therefore, you have two choices: (1) Submit a form to _blank, as you said (actually

open new window form struts action

2005-01-19 Thread Ashish Kulkarni
Hi can we open a new window from action class? i dont want to use as i want to be able to open this new window from any form( i have a menu option which can be executed from any page of my website) Basically i have a java script which looks like this TheNewWin = window.open(url, '

Thanks (Was: Problem when generating PDF in a new Window)

2004-11-26 Thread Adolfo De Unánue Tiscareño
Sorry , I already see was my problem, so let me put the solution here: All the problem was in the struts-config.xml in this line: change to this: and voilá! Hope this works for someone Adolfo - To unsubscribe, e-mail: [EMAIL PRO

Problem when generating PDF in a new Window

2004-11-26 Thread Adolfo De Unánue Tiscareño
Hi folks, Let me describe my problem, I am generating a PDF doc in the Action and all works fine, it could be show in IE, in Netscape and in Firefox, when I try to showing it in a new window (user requirement) using JS it works in NS and Firefox, but IE shows a popup window asking if I want

RE: new window

2004-11-09 Thread Ruben Cepeda
Hey Sergey, I don't think that there is a way to open a new window from the struts config file. But I may have a way around it. If you are pointing to your action with a link you can to the following: Click here * Ruben Cepeda [EMAIL PROT

new window

2004-11-09 Thread Sergey Livanov
How can I configure struts-config to open new window for а new .do? -- regards, Sergey mailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL