|JSP: Tag library Intellisense problem in Eclipse 3.6 Helios [message #666566]
||Thu, 21 April 2011 03:04
| Sayem Ahmed
Registered: April 2011
Hi, I am trying to develop a JSP application using Eclipse 3.6 Helios. Now I have defined a Tag Library Definition called DiceFunctions.tld inside the WEB-INF folder, and then declared this in a jsp page like this -|
<%@taglib prefix="mine" uri="DiceFunctions"%>
When I write an EL function call inside that JSP, I don't get any auto-complete/intellisense for the prefix mine, which means if I add 10-20 tag libraries in a page, then I will have to remember each one of their names so that I can call their methods. Also the method signature's auto-complete isn't working properly, I mean when I type -
the IDE sometimes doesn't provide any suggestions for the functions defined inside that TLD. I need eclipse to provide intellisense for the tag library prefixes that I define and also for the functions defined within those TLDs. Also I couldn't find any way to create Tag Library Descriptor files (.tld) in eclipse. I had to create a general file and rename it so that it's extension becomes .tld.
Is there any way to modify eclipse to achieve those supports ? Is there a plugin which will be helpful ?
[Updated on: Thu, 21 April 2011 03:50]
Report message to a moderator
|Re: JSP: Tag library Intellisense problem in Eclipse 3.6 Helios [message #666829 is a reply to message #666742]
||Fri, 22 April 2011 20:15
| Nitin Dahyabhai
Registered: July 2009
On 4/22/2011 2:30 AM, Sayem Ahmed wrote:|
> Hi, thanks for your reply. One of my problems is solved and now it is
> showing them appropriately. I want to know if there is any way to
> declare Tag Library Descriptors with Eclipse. Right now I am creating an
> XML file and renaming it so that it has a .tld extension. I just want to
> know if there is any other way to do that.
No, there's no dedicated wizard for them the way there is for simple tag
files. Someone could always file an RFE, though.
> Also, the JSTL tag's intellisense is working nicely, but it also would
> have been nice if eclipse also displays intellisense for the tag's
> attributes. Is it possible?
It should already be giving you help for the attributes, but for their
attribute values the TLD just does/can not contain enough useful
Eclipse WTP Source Editing and JSDT
Eclipse WTP, IBM
Powered by FUDForum
. Page generated in 0.14486 seconds