04-28-05 07:49 AM
Hi All.
Looks like the InfoCenter doco has a mistake.
The variable is actually called wpsNumLevelsToDisplay not
wpsNavNumLevelsToDisplay.
It all works now.
Thanks.
"Tony Cooke" <TCooke@elders.com.au> wrote in message
news:d4q0i0$3b9e$1@news.boulder.ibm.com...
> Hi all.
>
> Firstly, I'm using WebSphere portal 5.1.
>
> I'm trying to find some information or examples on using
> computeNumLevelsToDisplay.
>
> The information from the InfoCenter states for <wps:navigation> (Note:
this
> isn't complete):
>
> Attributes
> a.. computeNumLevelsToDisplay
> (optional) Compute the number of levels that will actually be shown by
this
> navigation. When this attribute is set to "true", a scripting variable is
> made available inside the body of the navigation tag named
> wpsNavNumLevelsToDisplay of Java type java.lang.Integer.
>
> I cannot seem to use the scripting variable wpsNavNumLevelsToDisplay. I
keep
> getting an error.
>
> There must be something I'm doing wrong. Can anyone point me in the right
> direction?
>
> Thanks in advance.
>
> Tony
>
>
>
[ Post a follow-up to this message ]
|