WebSphere Portal Server - wps:portletTitle and the "id" attribute

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2005 > wps:portletTitle and the "id" attribute





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 wps:portletTitle and the "id" attribute

2005-08-26, 6:02 pm

Using portal 5.1

Has anyone ever used this tag with the "id" attribute? The info center says:

"...initializes a scripting variable with the value that is normally written out and nothing is written to the output stream. The value of the id attribute is the name of the scripting variable. This tag should be used only in skin JSPs."

But I cannot figure out how it works. Is this a javascript variable, or a Java variable. I have tried both and nothing seems to work...


Maik Weber

2005-08-26, 6:02 pm

Scripting variable means here a JSP variable, that means, a Java
variable. So, you can define a new variable with

id="name"

and then you can access this variable in your JSP/Java code, for example:

<%=name%>

Maik


juchems_mark_e@cat.com wrote:
> Using portal 5.1
>
> Has anyone ever used this tag with the "id" attribute? The info center says:
>
> "...initializes a scripting variable with the value that is normally written out and nothing is written to the output stream. The value of the id attribute is the name of the scripting variable. This tag should be used only in skin JSPs."
>
> But I cannot figure out how it works. Is this a javascript variable, or a Java variable. I have tried both and nothing seems to work...
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com