On Mon, 05 Nov 2012 16:04:00 -0200, mateen <[email protected]> wrote:
Hi,
Hi!
I login the user and on the second page i have various roles. Each roles
corresponds to certain action that is unique to that role and also common
functionality.
Now on the second page, i want to include pages based on the users
permission.
If you want a part of a page to be included in different pages, create a
component for it and just use the component. Tapestry doesn't provide a
way of including other pages because it already provides a very easy way
of doing template reuse (which is creating components).
I want to basically show or hide certain parts of the page based on the
user role. Like the Admin has access to a Grid where as another role
does not show the grid. How can i show or hide functionality based on a
conditional test ?
You've answered yourself: use the If component.
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]