|
Home > Archive > WebSphere Portal Server > April 2005 > Using wpsNavNumLevelsToDisplay in <wps:navigation> tag.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Using wpsNavNumLevelsToDisplay in <wps:navigation> tag.
|
|
| Tony Cooke 2005-04-28, 2:49 am |
| 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
| |
| Tony Cooke 2005-04-28, 2: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
>
>
>
|
|
|
|
|