Madhavi Ginjupalli wrote:
> 
> Hi,
> 
> When a user logs in , depending on his
> role, a particular layout template has to
> be chosen. This layout template will have
> place holders for the navigation and the screen.
> Depending on the user's
> role, the links in the navigation template
> will be dynamically built. For example, if a
> manager logs in then his links on the navigation
> bar will be create account, view history, view invoice,
> create order etc. If a ordinary worker were to log
> in he would have links like view profile, view products
> etc.
> 
> once the user is logged in, throughout his session i would
> like to have the same layout template(whatever is chosen depending
> on his role). As long he gets the same layout throughout his
> session, i think even the navigation templates referred within
> his layout get automatically handled(i mean as long as the lay
> out is the same, the same navigation links are always shown
> through out his session.)
> 
> The first time a user logs in, the screen to be rendered
> will be one of those represented or referenced in the
> navigation bar. So a manager after logging may get to Createaccount.vm
> and an ordinary worker may get to viewprofile.vm.
> 
> Is is possible to do this kind of template management which
> is tightly coupled to the user's role? If yes, any suggestions
> on how to go about solving this would be appreciated.
> 
> Thanks
> Madhavi
> 

Hi,

Maybe you could implement your version of LoginUser. 
That is that depend of what type of role is log in, you could set the
good template ( like data.setTemplate()) . But you sould for this put
subdirectory in the screens, layouts and navigations for all this role,
thus on subdirectory "supervisor" in the layouts, and now you can have a
layout for all the role.
It's like i try to made for me, and like to be very easy whith this
framework..
What's about this solution?

Thank's a lot for this product!!

Jerome verleyen

-- 
- Et son mari n'a rien dit ?
- Non... tu sais, quand les types de 130K disent certaines choses,
 ceux de 60K les �coutent.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to