Tapestry-security has components that do exactly this. So I Isn't only possible 
but been done before. 



On Sep 28, 2011, at 7:22 PM, Kevin Jing <kevinhig...@gmail.com> wrote:

> Thanks for prompt replay and they are very clear so that I can understand
> some of them now. But for setting disabled property, I am still confuse. I
> would like to give a scenarios.
> 
> 
>  When a user login the system, we need to check his/her permission, and
> then
>  we will probably hide or disable the buttons or links, or disable an
> edittable, or make   some cells readable or just set some other properties
> according to his/her permission.
> if so, I think the following solution is not the ones that I need because I
> hope I can change the properties dynamically by coding according to some
> conditions. Is there some better solution for this question in tapestry?
> 
> 
>  In your page or component class:
>  public boolean isDisableLink() {
>         ...
>  }  
> 
> Thanks a lot!
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Some-worries-about-Tapestry5-after-comparing-with-wicket-tp4849721p4851067.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to