Write
your own tag which takes in as input a parameter,. It checks the permissions for
that parameter and returns true or false.
cheers,
Amar..
-----Original Message-----
From: Shunhui Zhu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 12:34 PM
To: [EMAIL PROTECTED]
Subject: Permissions: read-only vs. writable versionHi, I'm wondering whether anyone knows of a solution, prefereably via tags, to the permission problem. I have a page, but depending on the user, I'd like to present it as either read-only, or as writable, this can even be on the field-by-field level. For example, the price field, should either be presented as <input type=text> for a writable version, or simply as text for a read-only version. The not so pretty solution is to put all the <logic:equal> type of tag around the fields, but I'd like to know whether there are other solutions, such as put the logic in the <html:text> tags, or some other way.Thanks.Shunhui

