Nisith wrote:
> is it possible to check within a struts action class whether 
> any action form element in the JSP is enabled or disabled.

Not really... All the Action gets is the request and the form bean.

I think that disabled elements are not successful, so they won't be in
the request.  
This seems to confirm:
http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12

You could check request.getParameter() which will be null for those
elements.  
That doesn't guarantee the form element was present and disabled, but
since you likely wrote the form, you might be able to make that
assumption.

(Consider using a more descriptive subject line...)

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  • query. Nisith Dash
    • Wendy Smoak

Reply via email to