struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Baranski" <>
Subject Custom Property Tag
Date Tue, 06 Oct 2009 14:36:48 GMT
I need to show certain fields to certain users based on permissions
(per-user).  I was going to create a custom s:property tag, which would
access an IUser object on the value stack.  In the tag, it will do:

If (getUser().canAccess('property_name'))
Render the tag/value
Render nothing

I cannot figure out how exactly to get the user object on the value stack,
and which file contains the property tag implementation.  Could someone
suggest where to start?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message