Community
Participate
Working Groups
Having a JSP with this: <dh:pageSelector id = "pageSelector" /> Where the definition of pageSelector has this in the tld: <tag> <name>pageSelector</name> <tag-class>com.docharbor.taglib.PageSelector</tag-class> <body-content>empty</body-content> <variable> <name-from-attribute>id</name-from-attribute> <variable-class>com.docharbor.taglib.PageSelector</variable-class> <declare>true</declare> <scope>AT_BEGIN</scope> </variable> The JSP editor should then know that a variable named "pageSelector" exist after the use of the tag pageSelector. The JSP editor should also know the type of variable pageSelector which is com.docharbor.taglib.PageSelector and then show the method available from instance pageSelector.
as of the I200601191656 webtools integration build, it treats name-from-attribute the same as it treats name-given. That is, the scripting variable is defined, but the attribute name is used literally.
Looks like a problem in the TaglibHelper.addVariables implementation. It was not using the TLDVariable.getNameFromAttribute() result with the custom Element to get the right name.
This is part of a mass update to close out all stale WTP resolved bugs from the 1.0.x and 1.5.0 timeframe. If you feel this bug was closed inappropriately, please reopen. Thanks, John Lanuti