JSP Editor does not understand <p:defineObjects /> completely
Hi,
Calling the JSR-168's <p:defineObjects /> tag creates a few implicit objects such as renderRequest, actionRequest, and portletConfig that can be used to do different portlet related activities.
However, after calling <p:defineObjects /> in a JSP page in IDEA 6.0 Beta, IDEA underlines all calls to renderRequest, etc. as errors.
However in other taglibs such as the displaytag's table tag, IDEA recognizes all the variables that the tag creates.
Is this (recognition of variables created by calling a JSP custom tag in request, page, and other scopes) a feature that is going to be supported in the IDEA 6.0 final release? If so, can someone confirm this bug?
BTW, I'm using Liferay 4.0's taglib DTD and my web.xml looks like this:
Human Resource Portlet
http://java.sun.com/portlet
/WEB-INF/tld/liferay-portlet.tld
]]>
Here's the JSP page in which the aformentioned portlet objects are not recognized:
<% renderRequest. %> ]]>
Regards,
Behi
请先登录再写评论。
Hi,
Implicit objects are created from TagExtraInfo referenced in TLD file.
So it is likely your tld description does not reference TagExraInfo for
'defineObject' tag or the TEI class is not in the class path.
Behrang Saeedzadeh wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
This appears to be fixed in the 7.0.M1 release:
http://www.liferay.com/web/guest/devzone/forums/message_boards/message/31517
Thanks.