You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Dennis Fleurbaaij <de...@io-software.nl> on 2004/07/27 15:41:08 UTC
Element nesting question
Hello,
I know that the following code is invalid as the nesting obviously is
wrong, but what would be the best solution to acomplish this ?;
<!-- restart table -->
<span jwcid="@Conditional"
condition="ognl:newRow"></tr><tr></span>
Thanks in advance,
Dennis Fleurbaaij
Erik Hatcher wrote:
> On Jul 27, 2004, at 5:51 AM, Karel Miarka wrote:
>
>>> Is it better not to work with filters and move the security logic to
>>
>> another place? Perhaps in a custom Engine implementation?
>>
>> A good place is PageValidationListener of Tapestry page classes.
>
>
> We use a PageValidationListener in our custom base page that leverages
> a page <property> called "roles" to check against
> request.isUserInRole() and works quite well.
>
> Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>