You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by sushil agarwal <st...@yahoo.co.in> on 2003/08/04 09:58:12 UTC

Disable Submit Button

Hi, 

I have one statement..

(((Integer)request.getAttribute("NO_OF_USERS")).intValue() != 0? true:false)  ...

it is working when i write this code inbetween the scriplet i.e <% out.println( <above stmt>) %>

but when i write this code in between to disable attribute of html:submit tag.. i.e disabled="<%=<above stmt>%>" then it says Attributes "NO_OF_USERS" has no value..during the compilation.

can anyone throw some light in this context? 

TIA

Sushil

 

 

 

SMS using the Yahoo! Messenger;Download latest version.