Hi, 


I am new to Struts framework and AndroMDA I 've built the sample 
"car-rental-system" and it worked fine on JBoss except of a single problem. The 
submit buttons are disabled. I looked at the JSP page where this submit button 
and I found this code



<logic:present role="Administrator">



<html:submit styleId="form_submit"/>



</logic:present>



<logic:notPresent role="Administrator">



<html:submit disabled="true" styleId="form_submit"/>



</logic:notPresent>



what i figured out is that he checks to see if the role "Administrator" exist 
and if not he disable the submit button. if I am wright how do I add this role ?



thanks in advance,
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2788#2788
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to