This is a discussion on Bug in actionURL tag implementation - Websphere ; I was having some problems using the @ProcessAction annotation as described in a previous post. Even though I found out that was due to an error on my part I did discover that there may be a bug in the ...
I was having some problems using the @ProcessAction annotation as described in a previous post. Even though I found out that was due to an error on my part I did discover that there may be a bug in the implementation of the JSP tag available for WebSphere Portal 6.1.
According to section PLT.26.2 of the JSR 286 specification the actionURL tag should support a 'name' attribute. The value of this attribute will be set as the value of the 'javax.portlet.action' parameter.
This means that the following in a JSP page should be equivalent:
{code}
JSPG0123E: Unable to locate tag attribute info for tag attribute name.
{code}
According to the specification both versions of the tag should be equivalent.
I believe the implementation of this tag library provided by WebSphere Portal 6.1 has an incomplete tag library description. I found out that the 'name' attribute was added to the actionURL tag later in the spec so perhaps the proper implementation did not make it into the Portal 6.1 release.
What is odd is that the following is the content of this tag definition in the TLD file in the portlet20.tld file of the wp61tld.jar file installed as part of RAD 7.5. Clearly the name attribute is present.
{code}
actionURL
com.ibm.ws.portletcontainer.tags.ActionURLTag
com.ibm.ws.portletcontainer.tags.BasicURLTag$TEI
JSP
... other attributes ...
name
false
true
{code}
I can't find where the equivalent TLD file would be in the actual Portal installation.
Thanks,
Stuart Smith