struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Black <jeffblac...@gmail.com>
Subject Re: Struts 2: Non Submittable button
Date Tue, 28 Feb 2012 04:12:08 GMT
Shrinivas: Dave Newton addressed this some time ago.  Give it a look.

https://issues.apache.org/jira/browse/WW-2777

jb



On Feb 27, 2012, at 9:41 PM, Shrinivas Parashar <Shrinivas_Parashar@symantec.com> wrote:

> Hi,
> When we create a button using s:button, Struts 2 always renders button of type submit.
> If we specify the type as button Struts 2 renders as below
> <button type="submit"...... />
> If we specify type as submit Struts 2 renders as below
> <input type="submit"  ... />
> 
> In both the cases the button is of type submit even if we want non-submittable button.
> 
> Does anyone know how can we get output as below
> <button type="button".. />
> 
> Regards,
> Shrinivas

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


Mime
View raw message