struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jann VanOver <Jann.VanO...@loudeye.com>
Subject RE: Button forwards
Date Fri, 13 Jul 2001 22:44:16 GMT
I think "document.location.href" will work in both of the main browser
types.

-----Original Message-----
From: Neil Blue [mailto:neilblue@bigfoot.com]
Sent: Sunday, June 24, 2001 4:58 PM
To: struts-user@jakarta.apache.org
Subject: Button forwards


Hello,

I would like to use a button type as a href, making use of the struts 
forward definitions. As I find that using javascript (e.g. 
onclick="location.href='<desitination>'") does not work consistently 
across Netscape and IE. Does anyone know of a way to do this. I would 
have guessed that if there was a standard wat it would have been 
something like this:

<html:button forward="location" property="">

??

Cheers
Neil

Mime
View raw message