-----Original Message-----
From: gus [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag, 28. November 2002 08:19
To: Struts Users Mailing List
Subject: Re: dynamically display buttons-footer


Hi Georg!

Try this:
    <html:form action="/exportdoc.do">
       <logic:present role="provider">
          <html:submit value="Delete"/>
          <html:submit value="Save"/>
       </logic:present>
       <logic:notPresent role="provider">
          <html:submit value="Save"/>
       </logic:notPresent>
    </html:form>

Hi gus,

I never worked with roles. How can my buyer get the provider role.
or my provider the buyer role. 
maybe this sounds  a newbie question but i am a struts/java newbie.

georg

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

Reply via email to