- This topic has 22 replies, 10 voices, and was last updated 15 years, 9 months ago by Riyad Kalla.
-
AuthorPosts
-
ahadoMemberIn a jsp project I’ve defined a number of tag files under /WEB-INF/tags. The corresponding taglib is defined in the files which use the tags using:
<%@ taglib tagdir=”/WEB-INF/tags” prefix=”h” %>
The tags work without problems but the including pages flag them as unknown tags in the MyEclipse editor. Is there any way of preventing this?
Windows XP SP2
MyEclipse:
Version: 4.0.100
Build id: 20051103-4.1-Milestone1
Eclipse:
Version: 3.1.1
Build id: M20050929-0840Thanks
Riyad KallaMemberI’ve defined a number of tag files under /WEB-INF/tags
Do you mean you physically placed the files in that directory or you created web.xml entries for them with the appropriate URIs?
Please read this: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-31.html#251
Rick HerrickMemberThis is irrelevant to the actual topic. Tag files, as opposed to tag libs, work by placing a JSP snippet in a .tag file, placing that tag file in a directory (in ahado’s initial case, /WEB-INF/tags), then referencing the tag file using the prefix and the tag file name without the .tag extension. Check out http://today.java.net/pub/a/today/2003/11/14/tagfiles.html for a run-down on this.
Suppose there’s a file called test.tag in the /WEB-INF/tags directory. Then, with ahado’s initial declaration, you’d refer to that like this:
<h:test/>
I’m having the same problem. Also, I can’t get MyEclipse to recognize the .tag files as valid JSP. It just displays like a text file. I have jspf, tag, and tagx to the list of JSP fragment extensions, but this makes no difference.
Riyad KallaMemberrherrick,
Thank you for the additional information, the work for supporting .tag files has not been completed yet, sorry for the inconvenience.Also to map the .tag extension to the JSP Designer you need to navigate to Window > Preferences > General > Text Editors > File Associations, and add a *.tag mapping to the MyEclipse JSP Designer.
patrickwMembersupport-rkalla,
i have the same problem as rherrick. our development is currently thinking about to switch from intellij idea to myeclipse.
one “show-stopper” would be the lack of .tag files support.
could you please tell me when the support of .tag files will be ready.
thanx
patrick
Riyad KallaMemberPatrick,
Full tag support likely won’t make it until the 5.x releases. I would encourage you to use a 30-day trial of MyEclipse to see if the rest of the tool supports your work well and feels like a good fit for your team (you might also find some features you think are really cool that IJ doesn’t have)
roger siegristMember@support-rkalla wrote:
Patrick,
Full tag support likely won’t make it until the 5.x releases….I’ve installed it… (MyEclipse 5.0 M1) and the problem is the same 😕
Is it normal ??
Hans StaugaardMemberAny news on this item? It doesn’t seem to work in 5.0 GA either.
Riyad KallaMembertagdir is still not supported in 5.0 GA
roger siegristMemberAlso not supported by version 5.1 !!! 😥
When do you plan to support this ?
It’s also a problem for us because we use a lot of .tag files !
Thanks for your feedback !
Riyad KallaMemberI’m sorry for the aggravation, I’ll see what I can find out about this and full JEE 5 support moving forward (I know it’s comming, I just don’t have timelines on paper yet)
Hans StaugaardMemberAny news on this item? It’s also becoming a daily annoyance for me 🙁
Riyad KallaMemberTenative dates are for the 6.0 release around March, but not all of JEE 5 will make it into that release, so maybe by 6.1 shortly after.
Hans StaugaardMember@support-rkalla wrote:
Tenative dates are for the 6.0 release around March, but not all of JEE 5 will make it into that release, so maybe by 6.1 shortly after.
I’d be happy if you could just implement J2EE 1.4 ;-), tag-files where introduced way back then…
roger siegristMemberI’ve just tried the 6.0 GA release.. this problem always occurs !!
For information this topic was created the 24 November 2005…. -
AuthorPosts