Thanks Wes! That's exactly what I needed to get started.
M.
>-Original Message-
>From: Wes Wannemacher [mailto:w...@wantii.com]
>Sent: Tuesday, October 06, 2009 11:33 AM
>To: Struts Users Mailing List
>Subject: Re: Custom Property Tag
>
>I did something simi
I did something similar, but I used s:if as an example. Rather than
show or not show in a s:property tag-like setup, i felt like s:if did
the job much better. If you want an example, check out
core/src/main/java/org/apache/struts2/views/jsp/IfTag.java
core/src/main/java/org/apache/struts2/views/fr
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'))
Then
Render the tag/value
Else
Render nothing
I
3 matches
Mail list logo