Re: Popup window

2008-08-08 Thread Frans Thamura
On Sat, Aug 9, 2008 at 3:49 AM, Roger <[EMAIL PROTECTED]> wrote: > On Friday 08 August 2008 07:51:01 Frans Thamura wrote: > > On Fri, Aug 8, 2008 at 9:08 AM, mujoko mujoko > <[EMAIL PROTECTED]>wrote: > > > Dear Struts 2 users > > > > > > > > > I'm trying to create poup window in struts 2, > > > Co

Re: Popup window

2008-08-08 Thread Roger
On Friday 08 August 2008 07:51:01 Frans Thamura wrote: > On Fri, Aug 8, 2008 at 9:08 AM, mujoko mujoko <[EMAIL PROTECTED]>wrote: > > Dear Struts 2 users > > > > > > I'm trying to create poup window in struts 2, > > Could you please to give sample code for this task in struts 2? > > taka a look our

Re: Popup window

2008-08-07 Thread Frans Thamura
On Fri, Aug 8, 2008 at 9:08 AM, mujoko mujoko <[EMAIL PROTECTED]>wrote: > Dear Struts 2 users > > > I'm trying to create poup window in struts 2, > Could you please to give sample code for this task in struts 2? > > taka a look our cimande project http://www.sf.net/projects/cimande we use a lot

Re: Popup window with session param

2007-10-02 Thread Wes Wannemacher
This may be a dumb question, but if it's a session attribute, why pass it as a request parameter? Can't you just pull it from the session in the target action? -Wes On 10/2/07, Diego Ezquerro <[EMAIL PROTECTED]> wrote: > Hi to everybody. > > I have a problem with a JSP page, I think this is a stu

Re: Popup from struts

2007-07-27 Thread Jasper Floor
On 7/26/07, Carlos González López <[EMAIL PROTECTED]> wrote: > Hi, > > I need to open a popup from struts-conf.xml. > this is possible? I am going to assume struts 1.x I have been looking into how to manage popups in struts and the conclusion is really that you have to call it from javascript. I

Re: popup

2006-05-25 Thread Monkeyden
Is this a Struts question? On 5/25/06, Abhimanyu Koul <[EMAIL PROTECTED]> wrote: how can i use a popup window to search for a record from the database and on clicking any record in the popup window, i should get that value into my text box. search Abhimanyu Koul FinEng Solutions (P) Ltd

Re: popup

2006-05-25 Thread Deva Pitchai(NatureSoft)
try this.. onclick of the text link.. put this line *window.opener*.getElementById('a_id').*value = "somevalue"; * -- Regards, Deva. Abhimanyu Koul wrote: how can i use a popup window to search for a record from the database and on clicking any record in the popup window, i should get th

Re: popup window

2006-04-06 Thread fea jabi
oh ok. got it. Thank you very much for your response. From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" CC: user@struts.apache.org Subject: Re: popup window Date: Thu, 6 Apr 2006 13:57:02 -0

Re: popup window

2006-04-06 Thread Frank W. Zammetti
; redirect="false"/> > > > >>From: "Frank W. Zammetti" <[EMAIL PROTECTED]> >>Reply-To: "Struts Users Mailing List" >>To: "Struts Users Mailing List" >>CC: user@struts.apache.org >>Subject: Re: popup window >

Re: popup window

2006-04-06 Thread fea jabi
instead of should I do > onLoad="window.close();">" redirect="false"/> From: "Frank W. Zammetti" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" To: "Struts Users Mailing List" CC: user@struts.apache.org Sub

Re: popup window

2006-04-06 Thread Frank W. Zammetti
rom: "Frank W. Zammetti" <[EMAIL PROTECTED]> >>Reply-To: "Struts Users Mailing List" >>To: "Struts Users Mailing List" >>CC: user@struts.apache.org >>Subject: Re: popup window >>Date: Thu, 6 Apr 2006 12:22:29 -0400 (EDT) >> >&

Re: popup window

2006-04-06 Thread fea jabi
;Struts Users Mailing List" To: "Struts Users Mailing List" CC: user@struts.apache.org Subject: Re: popup window Date: Thu, 6 Apr 2006 12:22:29 -0400 (EDT) Firstly, there is a Wiki page that may or may not be helpful: http://wiki.apache.org/struts/OpenWindowFromAction On Thu, Apri

Re: popup window

2006-04-06 Thread Frank W. Zammetti
Firstly, there is a Wiki page that may or may not be helpful: http://wiki.apache.org/struts/OpenWindowFromAction On Thu, April 6, 2006 10:24 am, fea jabi said: > want to open a popup window when the user clicks on a button. how to do > that? > do not want to update any fields when the window is c

Re: Popup

2005-05-27 Thread ahmet hassan
When you pass the value from the pop up window's form to the main jsp's form, then yo have it in your ActionForm.When you submit the form in the main jsp, you will get the value in your ActionForm also. --- Rafael Taboada <[EMAIL PROTECTED]> wrote: > Thanks, it's cool... But is it possible to > c

Re: Popup

2005-05-26 Thread Wendy Smoak
From: "Rafael Taboada" <[EMAIL PROTECTED]> > But is it possible to comunicate two > actionforms? Because i have a actionform for each jsp. So, I'd like > one actionform pass the value to the main jsp's actionform. how can do > this? Read up on client-side scripting-- JavaScript. The entire page,

Re: Popup

2005-05-26 Thread Rafael Taboada
Thanks, it's cool... But is it possible to comunicate two actionforms? Because i have a actionform for each jsp. So, I'd like one actionform pass the value to the main jsp's actionform. how can do this? Please help me to learn more. -- Rafael Taboada ---

Re: Popup

2005-05-26 Thread ahmet hassan
Hi, you may do some scripting for this.Try: --- Rafael Taboada <[EMAIL PROTECTED]> wrote: > Hi folks... I want two jsps, each one with its > actionform. One jsp is > a popup and it fill in a field of the main jsp. When > the popup closes, > it fill in a field with the data selected. > > Can

Re: Popup Windows with Struts Actions

2005-04-06 Thread James Neville
Jack, I seem to remember having problems in a project with similar rqmnts some time ago. I *think* your problem lies here:- target="x" onsubmit="window.open('',this.target Where in NS the form appears to submit before the new window is registered, and hence the window target is not valid. I coul

Re: Popup Windows with Struts Actions

2005-04-06 Thread Dakota Jack
use "_blank". > > Regards, > > Thad Smith > > -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 6:25 PM > To: Struts Users Mailing List > Subject: Re: Popup Windows with Struts Actions >

RE: Popup Windows with Struts Actions

2005-04-05 Thread Smith, Thad
a target of "dontCareThatName" will send the output to the opened window. To guarantee that a new window is opened every time use "_blank". Regards, Thad Smith -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 6:25 PM To: St

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
This looks cool to me as well. What is with the target="dontCareThatName"? Is this necessary, and, if so, what should "dontCareThatName" be? Thanks, On Apr 5, 2005 2:29 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Dakota Jack wrote: > > >Anyone have some code on using JavaScript to open

Re: Popup Windows with Struts Actions

2005-04-05 Thread [EMAIL PROTECTED]
Dakota Jack wrote: Anyone have some code on using JavaScript to open and close popup windows with a Struts Action? Thanks. Jack I like very much: The output of yourAction will be shown in the popup, and all your form fields are brought the normal way to yourAction with no need to put them

RE: Popup Windows with Struts Actions

2005-04-05 Thread Wiebe de Jong
1:47 PM To: 'Struts Users Mailing List' Subject: RE: Popup Windows with Struts Actions Sorry, I'm a javascript beginner. Can you provide a sample javascript onclick event? Thanks... -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05,

RE: Popup Windows with Struts Actions

2005-04-05 Thread Barnett, Brian W.
Sorry, I'm a javascript beginner. Can you provide a sample javascript onclick event? Thanks... -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 11:54 AM To: 'Struts Users Mailing List' Subject: RE: Popup Windows with Struts

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
and the second is the window name. There are some additional optional > parameters that you can add to control the window, etc. > > Wiebe de Jong > > -Original Message- > From: Dakota Jack [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 10:42 AM > To:

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
LOL -- heck, I should have said the other. On Apr 5, 2005 10:49 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Ah, good, I was going to yell at you if it was the other :) > > myLeft = (screen.width) ? (screen.width - 1180) / 2 : 0; > myTop = (screen.height) ? (screen.height - 924) / 2 : 0; >

RE: Popup Windows with Struts Actions

2005-04-05 Thread Wiebe de Jong
PROTECTED] Sent: Tuesday, April 05, 2005 10:42 AM To: Frank W. Zammetti Cc: Struts Users Mailing List Subject: Re: Popup Windows with Struts Actions No, have the popup url from the page be a struts action -- popup.do. Jack On Apr 5, 2005 10:37 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:

Re: Popup Windows with Struts Actions

2005-04-05 Thread Frank W. Zammetti
Ah, good, I was going to yell at you if it was the other :) myLeft = (screen.width) ? (screen.width - 1180) / 2 : 0; myTop = (screen.height) ? (screen.height - 924) / 2 : 0; myOpts = "resizable,scrollbars,width=1180,height=924,top=" + myTop + ",left=" + myLeft + ","; window.open('startup.toa', 'TO

Re: Popup Windows with Struts Actions

2005-04-05 Thread Dakota Jack
No, have the popup url from the page be a struts action -- popup.do. Jack On Apr 5, 2005 10:37 AM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Not sure what you mean... You mean open the popup from WITHIN an Action? > > -- > Frank W. Zammetti > Founder and Chief Software Architect > Omnytex T

Re: Popup Windows with Struts Actions

2005-04-05 Thread Frank W. Zammetti
Not sure what you mean... You mean open the popup from WITHIN an Action? -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Tue, April 5, 2005 1:27 pm, Dakota Jack said: > Anyone have some code on using JavaScript to open and close popup > wi

Re: Popup Windows Problems?

2005-03-03 Thread Wendy Smoak
From: "Scott Purcell" <[EMAIL PROTECTED]> > I am popping up a little window 500 x 300 and showing a upload File box. > But when I submit the form, I get all kinds of BEAN errors in the log file? > I do not see what is different between popup window and a normal main window? It's a separate reques

Re: Popup window submitting to action

2005-01-27 Thread bala pamarti
Brandon, I was looking for the same functionality in my application. Can you please post your code/sample code. TIA, Bala --- --- Brandon Mercer <[EMAIL PROTECTED]> wrote: > Hello, > I've got a slighty off topic question for the group. > I've got a pop-up > window that I use in my applicatio

RE: Popup window submitting to action

2005-01-27 Thread David Suarez
..djsuarez -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, January 27, 2005 9:56 AM To: user@struts.apache.org Subject: Re: Popup window submitting to action reload()... cool, didn't see that in my reference book. Everyone learns somethin

Re: Popup window submitting to action

2005-01-27 Thread fzlists
reload()... cool, didn't see that in my reference book. Everyone learns something new every day! :) (sure seemed like something that would be there, glad to know I just missed it) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Thu, Jan

Re: Popup window submitting to action

2005-01-27 Thread fzlists
Well, you could either (a) create a form with an action of billpay.do and submit it, or (b) you could do parent.location="billpay.do". That should essentially do a refresh. I'm not aware of any refresh method, unless you are OK with IE-only code... IE has a number of "commands", as they are ca

Re: Popup window submitting to action

2005-01-27 Thread Brandon Mercer
Cedric Levieux wrote: Here what you want in the page retrieved after the submit action and reached via this action :