You can use you own custom tags to extend struts functionality. I dont have a sample code, but i can tell you how to approach this:-
1. Pass role as a parameter to your custom tag ( I assume you will have this in your
JSP page)
2. in the doStartTag of your custom tag class, read this attribute and decide whether to show the text box or not