Hello

I want to place a 'Configuration' link on a page if the currently signed on 
user has an 
appropriate security level.

My security level (as a column in my User table) is defined as INT with a value 
from 0 
through 10.  The user needs to have security of 10 in order to see this link.

I have a User bean, referred to with the property name of "currentUser" with a 
security 
function defined as:
public boolean canConfigure() {
  return (security > 9);
}

What tag library function should I be using to wrap around my html:link so that 
it only 
appears when the user security is 10?

Kind regards
mc


FOCUS Computing
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 29/08/2005


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

Reply via email to