RE: javascript and Struts

2003-04-04 Thread Niesen, Nathan
llowing pattern: [...] function onChangeCampaignName(aForm) { // do preprocessing aForm.submit(); }; [...] [...] Nathan. -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 5:31 AM To: Struts Subject: javascript

RE: javascript and Struts

2003-04-04 Thread Vivian, Nigel (N.)
ssage- From: Oliver Reflé [mailto:[EMAIL PROTECTED] Sent: 04 April 2003 13:08 To: Struts Users Mailing List Subject: AW: javascript and Struts yes this i also tried. and : forms[0].submit() and simply submit() In my opinion also the last must work cause the select element is ebedded in the

RE: javascript and Struts

2003-04-04 Thread Jimmy Emmanual
Users Mailing List Subject: AW: javascript and Struts yes this i also tried. and : forms[0].submit() and simply submit() In my opinion also the last must work cause the select element is ebedded in the form. But nothing works. -Ursprüngliche Nachricht- Von: Stephen Smithstone [mailto

AW: javascript and Struts

2003-04-04 Thread Oliver Reflé
An: Struts Users Mailing List Betreff: Re: javascript and Struts have u tried document.forms[ 0 ].submit( ) ??? On Friday 04 April 2003 12:31 pm, Oliver Reflé wrote: > Hi Guys, > i have a strange problem. Maybe you can help me. I would like to submit a > form when a select box va

Re: javascript and Struts

2003-04-04 Thread Stephen Smithstone
have u tried document.forms[ 0 ].submit( ) ??? On Friday 04 April 2003 12:31 pm, Oliver Reflé wrote: > Hi Guys, > i have a strange problem. Maybe you can help me. I would like to submit a > form when a select box value > has changed.Here is the code like i try it: > > > > DatenfeldWert > Kampagn

javascript and Struts

2003-04-04 Thread Oliver Reflé
Hi Guys, i have a strange problem. Maybe you can help me. I would like to submit a form when a select box value has changed.Here is the code like i try it: DatenfeldWert Kampagnenname: ... I also trid javascript:{document.forms[0].submit()} etc. but nothing worked. When i try

RE: javascript and Struts

2003-04-04 Thread Mick . Knutson
he top of this page called "submitMyForm()" and then submit the form then. -Original Message- From: Oliver Reflé [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 8:46 AM To: Struts Subject: javascript and Struts Hi Guys, i have a strange problem. Maybe you can help me. I w

javascript and Struts

2003-04-04 Thread Oliver Reflé
Hi Guys, i have a strange problem. Maybe you can help me. I would like to submit a form when a select box value has changed.Here is the code like i try it: DatenfeldWert Kampagnenname: ... I also trid javascript:{document.forms[0].submit()} etc. but nothing worked. When i try

Re: javascript and STRUTS

2002-12-20 Thread Eric C. Hein
- From: "Rick Reumann" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, December 20, 2002 12:46 PM Subject: Re: javascript and STRUTS > > > On Friday, December 20, 2002, 3:29:15 PM, Eric wrote: > > ECH> Is there

Re: javascript and STRUTS

2002-12-20 Thread Rick Reumann
On Friday, December 20, 2002, 3:29:15 PM, Eric wrote: ECH> Is there anyway to capture the value of the bean before it is overwritten? Since your using javascript coulnd't you set a hidden field "oldValue" that you can set before you do any overwriting? Then you would have access to the old valu

javascript and STRUTS

2002-12-20 Thread Eric C. Hein
Background: In my form I have a field "city" that the user selects from a drop down list. The city dropdown is initially setup to have one option that cues the user to select a county first (-1, select county first). After the user selects a county the options list for city is then set to a ja

RE: Javascript and Struts

2002-06-13 Thread Joe Germuska
like this -- both of these examples also end up with hardcoding "fullPath" (the web app context path). Joe > >-Original Message- >From: Villegas, Courtney [mailto:[EMAIL PROTECTED]] >Sent: Thursday, June 13, 2002 4:54 PM >To: 'Struts Users Mailing List' &

RE: Javascript and Struts

2002-06-13 Thread Leonardo Maciel
iling List' Subject: Javascript and Struts Is it possible to mix javascript and struts? I want to create a popup window that is opened through an action. There was some talk of doing this about a month ago, but I looked on the user-list archives and couldn't find any information

RE: Javascript and Struts

2002-06-13 Thread Joe Germuska
At 2:03 PM -0700 2002/06/13, Villegas, Courtney wrote: >can I feed an action into Javascript? > >This is what my struts link would look like to forward to another page: > > >and this is what my javascript looks like to open the new browser window > openWindow('reportDelivery', '/budsD

RE: Javascript and Struts

2002-06-13 Thread Villegas, Courtney
350, 300) How can I combine the two? thanks -Original Message- From: greg rebuck [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 2:01 PM To: Struts Users Mailing List Subject: Re: Javascript and Struts We've done this. It's really no different, I think, than usi

Re: Javascript and Struts

2002-06-13 Thread greg rebuck
We've done this. It's really no different, I think, than using Javascript with vanilla JSP/Servlets. "Villegas, Courtney" wrote: > Is it possible to mix javascript and struts? I want to create a popup > window that is opened through an action. > > There was

Javascript and Struts

2002-06-13 Thread Villegas, Courtney
Is it possible to mix javascript and struts? I want to create a popup window that is opened through an action. There was some talk of doing this about a month ago, but I looked on the user-list archives and couldn't find any information. Any help would be greatly appreciated. T

RE: Javascript and struts compatibility

2002-05-15 Thread James Mitchell
You've got to use a different syntax for referencing the browser dom. document.forms["frm"].elements["txtName[1]"].value() JM > -Original Message- > From: deepak [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 7:01 AM > To: [EMAIL PROTEC

Javascript and struts compatibility

2002-05-15 Thread deepak
Hi, Here is a problem I'm dealing with. In a JSP textfields are formed dynamically using struts. Struts will name these dynamically created textfields in the form of array as txtName[0], txtName[1] ... txtName[i] respectively. The names txtName[i] correspond to the respective getTxtN

Re: javascript and struts

2001-07-08 Thread cahana
Disregard this message. I got it to work. - Original Message - From: cahana To: [EMAIL PROTECTED] Sent: Sunday, July 08, 2001 4:39 PM Subject: javascript and struts I have a jsp page that has current address information and permanent address information.  I want

Re: javascript and struts

2001-07-08 Thread Ted Husted
It sounds like a straight Javascript issue. Once the fields are populated and submitted, Struts will pickup them up from the request, and continue processing them. The Struts HTML tags expose all the Javascript event handlers, so you can specifty an onchange scriptlet that calls a script to set

javascript and struts

2001-07-08 Thread cahana
I have a jsp page that has current address information and permanent address information.  I want to have a checkbox on the page titled "Check here if same as current address".  Checking this checkbox will trigger some javascript or other function that will take all the vales from the curren

RE: javascript and struts

2001-05-09 Thread Dudley [EMAIL PROTECTED]
EMAIL PROTECTED]' Subject: RE: javascript and struts Thanks! That worked. To: "'[EMAIL PROTECTED]'" Jason Chaffee <[EMAIL PROTECTED]>

RE: javascript and struts

2001-05-08 Thread Will Spies/Towers Perrin
. To: "'[EMAIL PROTECTED]'" Jason Chaffee <[EMAIL PROTECTED]> Subject:

RE: javascript and struts

2001-05-08 Thread Jason Chaffee
Title: RE: javascript and struts Try thg following document.form["data.emplyeeName"].value -Original Message- From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 5:39 AM To: [EMAIL PROTECTED] Subject: javascript and struts I have

javascript and struts

2001-05-08 Thread Will Spies/Towers Perrin
I have some HTML tags that have struts form data associated with them of the form . For example: . I seem to be having difficult referencing these in Javascript due to the ".'. Javascript thinks employeeName is a property of data rather than both being one single variable name. Anyone else run in

RE: Javascript and struts

2001-04-27 Thread Steve A Drake
On Thu, 5 Apr 2001, Dorai, Harish (c) wrote: > It seems the "onclick" event overrides the submit action and hence your form > is not getting submitted. Instead of using "form:submit" use the "Button" > tag and in the "onclick" function put this code. The html:submit tag creates an input type of

Re: Javascript and struts

2001-04-06 Thread Jens Rehpöhler
Hi Joel, I have forgotten to write you my other idea to solve your problem :-) Here it is: Remove the onClick handler and the JavaScript from you login screen. After a succesfull login (logon.do) show a page with the following content: window.open('reconciliation.jsp','recwindow','width=800

Re: Javascript and struts

2001-04-06 Thread Jens Rehpöhler
Hi Joel, > > Username: > Password: > onclick = > "window.open('reconciliation.jsp','recwindow','width=800,height=600,resi > zable=no,scrollbars=yes');return(false)"/> > > > > This works in that it opens a new window and stops anything happening in > th

RE: Javascript and struts

2001-04-05 Thread David Winterfeldt
.form[0].submit(); > return false; > > > > -Original Message- > From: JOEL VOGT > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 05, 2001 8:39 AM > To: [EMAIL PROTECTED] > Subject: Re: Javascript and struts > > > Hi, > I have this code: >

RE: Javascript and struts

2001-04-05 Thread Dorai, Harish (c)
dow','width=800,height=600,resizable =no,scrollbars=yes'); document.form[0].submit(); return false; -Original Message- From: JOEL VOGT [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 05, 2001 8:39 AM To: [EMAIL PROTECTED] Subject: Re: Javascript and struts Hi, I have th

Re: Javascript and struts

2001-04-05 Thread JOEL VOGT
Hi, I have this code: Username: Password: This works in that it opens a new window and stops anything happening in the old window. The problem is, the form doesn't seem to be submitted, and the action is not called! Consequently, there is no login. Any ideas? Tha

Re: Javascript and struts

2001-04-04 Thread kreimer
return false in the event handler js code: > Hi all, > > I have a simple login form. When the user clicks the submit button, I > want to open up a new window using javascript. This window will have no > back button etc for the user to play around with. > This works fine, I get my window

Re: Javascript and struts

2001-04-04 Thread Jens Rehpöhler
Hi Joel, only to make sure I understand you correct: You use in you page In the openNewWindow() function you call "form.submit()"? If the above is correct you can try two things: 1. add a "return false;" to your openNewWindow() function. 2. change the type from "submit" to "button". Ho

Javascript and struts

2001-04-04 Thread JOEL VOGT
Hi all, I have a simple login form. When the user clicks the submit button, I want to open up a new window using javascript. This window will have no back button etc for the user to play around with. This works fine, I get my window okay and it displays properly, the problem is it still displa