struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: [Struts 2] How to define button outside form ?
Date Tue, 03 Jun 2008 19:04:31 GMT
Yes, but he said a button that would work instead of a link, he didn't 
mention trying to submit a form.

There are two options: 1) use a button with an onclick handler that 
emulates a link; 2) use a link but style it to look like a button (using 
CSS).

I'd recommend the second personally.

L.

Alberto A. Flores wrote:
> If you want to rely on javascript, I don't see the problem 
> (form.submit()). Otherwise, standard HTML does not support a submit 
> outside a form.
> 
> 
> Milan Milanovic wrote:
>> Hi,
>>
>> is it possible to define button outside form that will work instead of 
>> link ?
>>
>> -- 
>> Thx, Milan
>>        
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org


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


Mime
View raw message