You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Amanda Edwards <Am...@airmantech.com> on 2002/04/26 13:14:18 UTC

Action Events triggered by JavaScript

>From reading through the mail archive I see that this problem has been
dealth with before...
 
My question though is, what is the syntax for passing multiple
parameters?
I've tried 
 
location.href="$link.setPage("GenericQueue.vm").setAction("GenericQueueR
ecords")?eventSubmit_doSave=dummy&param1&param2="+recordId+aircraftRegn;
 
But when I check my parameter I only ever see param2, param1 isn't
listed..
 
Any help would be greatly appreciated.
 
Amanda Ewdards
 
________________________________ 
Amanda Edwards
Aircraft Management Technologies 
p: +353 1 845 7254 
f:  +353 1 806 1025 
e: amanda.edwards@airmantech.com
w:
<outbind://8-000000009FA5961FE368094292D08BEB69BD89D70700E51C581E6A4B704
19EE95ECAF247F88700000000F3410000E51C581E6A4B70419EE95ECAF247F8870000000
0F57F0000/www.airmantech.com> www.airmantech.com 
 

RE: Action Events triggered by JavaScript

Posted by James Cooper <ja...@maxware.nl>.
Try something like this

<SCRIPT LANGUAGE="JavaScript1.2">
	function goInsert()
	{

window.open("$link.setPage("admin,user,UserForm.vm").addQueryData("mode","in
sert")","_parent");
	}
</SCRIPT>

-----Original Message-----
From: Amanda Edwards [mailto:Amanda.Edwards@airmantech.com]
Sent: 26 April 2002 13:14
To: turbine-user@jakarta.apache.org
Subject: Action Events triggered by JavaScript


>From reading through the mail archive I see that this problem has been
dealth with before...

My question though is, what is the syntax for passing multiple
parameters?
I've tried

location.href="$link.setPage("GenericQueue.vm").setAction("GenericQueueR
ecords")?eventSubmit_doSave=dummy&param1&param2="+recordId+aircraftRegn;

But when I check my parameter I only ever see param2, param1 isn't
listed..

Any help would be greatly appreciated.

Amanda Ewdards

________________________________
Amanda Edwards
Aircraft Management Technologies
p: +353 1 845 7254
f:  +353 1 806 1025
e: amanda.edwards@airmantech.com
w:
<outbind://8-000000009FA5961FE368094292D08BEB69BD89D70700E51C581E6A4B704
19EE95ECAF247F88700000000F3410000E51C581E6A4B70419EE95ECAF247F8870000000
0F57F0000/www.airmantech.com> www.airmantech.com



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>