On 3/2/06, Miller, John <[EMAIL PROTECTED]> wrote: I have used tiles basic functionality for some time both in Struts and > JSF/MyFaces env. What I am trying to do is set my tiles definition based > on user role so I would have two tiles defined the same, but based on > user role the correct one would be rendered.
I haven't tried it, but it seems to me you would have two _different_ Tiles definitions, and the page would include both, but only one of them would ever be displayed. (Assuming the roles are mutually exclusive.) Have you looked at the debug log when your tiles config is processed? I wouldn't be surprised if the second definition for the same name is just replacing the first definition. By 'not working' do you mean that only the newCustomer tile gets displayed? Or nothing? -- Wendy