Manveen Kaur wrote:
> Hi,
>
> I'm using woodstock 4.0 and am trying to create a masthead.
>
> Here's what I have:
>
> <webuijsf:masthead id="Masthead" productImageURL="/images/generic.png"
> productImageWidth="$int{135}"
> productImageHeight="$int{70}"
>
> productImageDescription="$resource{i18n.mastHeadDescription}"
> serverInfo="$session{serverName}"
> roleInfo="want_to_omit"
> userInfo="$session{userName}" >
>
> I don't want the role to appear in the mast head. For this I removed
> roleInfo attribute from the above. But then I see a duplicate "User:"
> value listed.
>
> 1. I want to know how to omit the role?
>
What version of woodstock are you using? There used to be a bug similar
to this that was fixed a while ago. Things seem to be fine now. Take a
look at:
http://webdev2.sun.com/example/faces/masthead/Masthead.jsp. It
does not have a "roleInfo" attribute...
> 2. How can I add more information to the masthead (specifically links).
>
Refer to the TLD docs for more info on how to do this:
http://webdev2.sun.com/woodstock-tlddocs/
Specifically the "utilities" attribute...
-Deep.
> thanks
> Manveen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>