[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Passing variables between Javascript and XSL
Subject: Re: Passing variables between Javascript and XSL
From: Andrew Franz <afranz0@xxxxxxxxxxxxxxxx>
Date: Tue, 08 Nov 2005 20:23:43 +1100
|
Try this:
'custdata_popup?bunit_num={sql:row[2]/sql:param1}',
Oleg Konovalov wrote:
Hi,
I am trying to invoke a popup window from XSL page (of Cocoon 2.0 app):
...
<a href="#" class="NavLink"
onClick="var features =
'maximize=no,toolbar=no,location=no,menubar=no,status=yes,resizable=yes,scrollbars=yes,top=0,left=0,screenX=0,screenY=0,width='
+ (screen.availWidth - 10) + ',height=' + (screen.availHeight - 30);
window.open('custdata_popup?bunit_num=','custdata_popup', features
);">
<xsl:value-of select='sql:row[2]/sql:param2'/></a><br/>
...
The problem is that I have to pass the value of the XSL variable as a
parameter to that URL as:
'custdata_popup?bunit_num='<xsl:value-of select='sql:row[2]/sql:param1'/>
How can I do that ?
Thank you,
Oleg.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
RSS 2.0 |
|
Atom 0.3 |
|
|