Remove the space after , this may work. <logic:present role="user,gold,platinum">
Thanks Nazeer -----Original Message----- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 12:20 PM To: struts Subject: Urgent: issue with <logic:present role="user, gold, platinum"> I am sorry to say urgent, but I have to demo this to my boss this afternoon and I am stumped. I have 3 different types of users. user, gold and platinum. I need to only show this edit button to those users with this tag as noted by Craig. But the button only shows up if I am logged in as a user, not gold, and not platinum.: <logic:present role="user, gold, platinum"> <html:submit property="action" styleClass="form_button"> <bean:message key="button.edit"/> </html:submit> </logic:present> Here is my web.xml setting. <servlet> <servlet-name>action</servlet-name> <servlet-class>com.baselogic.yoursos.struts.ExtendedActionServlet</servl et-class> <init-param> <param-name>config</param-name> <param-value>/WEB-INF/struts-config.xml</param-value> </init-param> <init-param> <param-name>debug</param-name> <param-value>3</param-value> </init-param> <init-param> <param-name>detail</param-name> <param-value>1</param-value> </init-param> <load-on-startup>1</load-on-startup> <security-role-ref> <role-name>user</role-name> <role-link>user</role-link> </security-role-ref> <security-role-ref> <role-name>gold</role-name> <role-link>gold</role-link> </security-role-ref> <security-role-ref> <role-name>platinum</role-name> <role-link>platinum</role-link> </security-role-ref> </servlet> --- Thanks Mick Knutson The world is a playground...Play Hard, Play Smart. Visit http://www.YourSoS.com to learn how our "Personal Emergency Alert & Contact System" can help you Play Smart. +00 1 (708) 570-2772 Fax MSN: mickknutson ICQ: 316498480 ICQ URL: http://wwp.icq.com/316498480 --- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]