Mohamed,

First of all, you should understand that using JBoss, Tomcat (which implicitly is run under JBoss), or any other application server doesn't change anything. If you embed the right libraries (jar, ear, war, whatever), everything should work fine for your server. Anything else is a problem coming from your web app.

<logic:present role="Administrator">
<html:submit styleId="form_submit"/>
</logic:present>
<logic:notPresent role="Administrator">
<html:submit disabled="true" styleId="form_submit"/>
</logic:notPresent>

This piece of code just means that if the role "Administrator" has been defined for the current user, then it should display the "submit" button. Otherwise, the submit does nothing.

--
Stéphane Zuckerman

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

Reply via email to