struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pedro Salgado <salgado...@04web.com>
Subject Re: button as link
Date Tue, 04 May 2004 22:06:57 GMT
On 04/05/04 22:34, "Samuel Rochas" <samuel.rochas@andinasoft.com> wrote:

> Hello,
> 
> I would like to use a button as a link.
> 
> I used to solve that, before struts, with a form containing only a button.
> 
> With struts, it seems I have to declare a form object in the
> struts-config.xml, create a class for that empty form, etc.
> 
> Is there a simple way to solve that?
> 

  What about a button with an onclick Javascript event that redirects you to
the desired Struts action passing any parameters by building the url?

Pedro Salgado


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message