The best way is probably to build your own custom JSP tag that knows how to extract you User object from the ACEGI authentication context.
Mike On 10/26/07, Rob Hills <[EMAIL PROTECTED]> wrote: > > Hi All, > > I need to display some information from my user class on the page header. > My modifications to header.jsp work for everything except the main menu > page after first login and it quickly became obvious that it is because no > action class has been called to load up the user object. > > I have a customised the user class and I don't believe it is available via > the > authz tag. > > Obviously I could put some code in mainMenu.jsp to load up a user object, > but that feels wrong as it would be starting to put some model logic into > the > view. What's the best way of making a user object visible within > mainMenu.jsp before any of my normal actions have been called? > > TIA, > Rob Hills > Waikiki, Western Australia > Mobile +61 (412) 904-357 > Fax: +61 (8) 9529-2137 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
