Hi everyone
I am having trouble with a jsp when using a javascript variable in a
'html:link page=' tag. The variable does not seem expand to its value.
When my jsp is compiled, the code snippet below
bean:define id=procBranch type=java.lang.String
property=mendstatbrCde name=APSB/
On Thu, 11 Mar 2004 12:10:21 -
Niall Pemberton [EMAIL PROTECTED] wrote:
Try
I think you mean jsp scriptlet (rather than javascript) - I'm not good
on it,
I'm a java-in-general newbie, so half the time I don't know what I mean
:)
but how about doing this (you can do without the
/22/2002 03:01:27 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:Struts Users Mailing List [EMAIL PROTECTED]
cc:
Subject:RE: html:link with JavaScript
Jeff,
Thanks for your response! I tried your suggestion, but it seems that
%=employee.getId() % does not get
-Original Message-
From: [EMAIL PROTECTED] [mailto:Jeff_Mychasiw;nlgroup.ca]
Sent: Tuesday, October 22, 2002 11:02 AM
Try:
logic:iterate id=employee name=employeeList scope=request type
=com.abc.EmployeeVO ...
td
html:link href=JavaScript:void()
David,
Thanks! I will try your suggestion shortly.
Tuan
-Original Message-
From: Karr, David [mailto:david.karr;attws.com]
Sent: Tuesday, October 22, 2002 11:29 AM
To: 'Struts Users Mailing List'
Subject: RE: html:link with JavaScript
-Original Message-
From: [EMAIL
-Original Message-
From: Tuan H. Le [mailto:tuan.le;phsadc.com]
Sent: Tuesday, October 22, 2002 1:17 PM
To: Struts Users Mailing List
Subject: RE: html:link with JavaScript
ok, I replaced html:link with a href and it works fine.
It seems like the scriptlet %=% can
Hi
Can some one please show me a tip on how to pass a dynamic value into a JavaScript
function within html:link tag? What I need is to pass an employee ID in the
openModal( '/editSalary.do?id=### ).
Here's my code
script language=javaScript
function openModal( theURL
Tuan H. Le [EMAIL PROTECTED] on 10/22/2002 12:33:02 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To:Struts Users Mailing List (E-mail)
[EMAIL PROTECTED]
cc:
Subject:html:link with JavaScript
Hi
Can some one please show me a tip on how to pass
Other suggestions?
Thanks!
Tuan
-Original Message-
From: [EMAIL PROTECTED] [mailto:Jeff_Mychasiw;nlgroup.ca]
Sent: Tuesday, October 22, 2002 11:02 AM
To: Struts Users Mailing List
Subject: Re: html:link with JavaScript
Try:
logic:iterate id=employee name=employeeList scope=request
() %' )img src
Other suggestions?
Thanks!
Tuan
-Original Message-
From: [EMAIL PROTECTED] [mailto:Jeff_Mychasiw;nlgroup.ca]
Sent: Tuesday, October 22, 2002 11:02 AM
To: Struts Users Mailing List
Subject: Re: html:link with JavaScript
Try:
logic:iterate id=employee name=employeeList
that extends the Link Tag and generates the HTML however
you like it.
- Todd
-Original Message-
From: Tuan H. Le [mailto:tuan.le;phsadc.com]
Sent: Wednesday, 23 October 2002 6:17 AM
To: Struts Users Mailing List
Subject: RE: html:link with JavaScript
ok, I replaced html:link with a href
Hello all. Simple question: is there a way to use JavaScript in the
html:link tag so that the url pops open in a new window? At the moment,
using something like:
html:link page=http://myLink...; onClick =
window.open(http://myLink...;) is opening the page twice...once in the
original window
Title: RE: using html:link with javascript
its opening it twice bcoz ur giving a page link and also opening the page thro java script window.open method.
syd
-Original Message-
From: Melissa Rabin [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 8:12 AM
To: Struts-User
you can use target="_blank" .
- Original Message -
From:
Syd
Naveen
To: [EMAIL PROTECTED]
Sent: Monday, July 16, 2001 4:36 PM
Subject: RE: using html:link with
javascript
its opening it twice bcoz ur giving a page link and also
opening the page
Hi all,
I am facing a problem when using Javascript with html:link. Below is the
jsp code segment and the html that was generated. My problem is that the
jsessionid is being generated and this is messing up my webpage. I keep
getting javascript errors. Any help on an alternate suggestion would
16 matches
Mail list logo