Manveen,
I just tried this myself and was able to create a masthead with only a
username and servername... Here's a snipit:
<webuijsf:masthead id="Masthead"
userInfo="user_name"
serverInfo="server_name"
utilities="#{MastheadBean.links}"
alarmCounts="#{MastheadBean.alarms}">
What version of the components are you using - you note 4.0, but is it
4.1 and if so, what build did you take if you recall?
Also - check out the TLD docs that are now available on the
woodstock.dev.java.net site - it has some great coding samples -- there
might be something there to help with your link questions.
Here's the direct link so you don't have to go to the woodstock site
just to retrieve the URL:
http://webdev2.sun.com/woodstock-tlddocs/
I hope this helps.
Cathy
Manveen Kaur wrote On 10/26/07 07:19 PM,:
> 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?
>
> 2. How can I add more information to the masthead (specifically links).
>
> 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
>
--
Cathy Mucci
Sun Microsystems, Inc.
781-442-3521