For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 23 replies, 7 voices, and was last updated 21 years, 10 months ago by
Riyad Kalla.
-
AuthorPosts
-
August 20, 2004 at 9:10 am #212852
Riyad KallaMemberI will look into this ASAP.
September 17, 2004 at 10:41 am #215430
Carl LeibyMemberI just updated to 3.8.1 and my “non-web-cap” project has now lost it’s code assist. Has this been looked at? Is there a fix?
Thanks
September 17, 2004 at 11:17 am #215432
Scott AndersonParticipantLeiby,
We don’t know of anything in 3.8.1 that would break code assist in a non-web project. However, several enhancements to make it much more effective in such projects have already been added to the 3.8.2 code stream and should be available in several days.
October 5, 2004 at 8:19 am #216865
shuvradeepMemberevaluating myeclipse for a while now.
using eclipse 3.0.1, just upgraded to my eclipse 3.8.2 from 3.8.1, with jdk 1.4.2 on windows 2000.
problem is cannot get my tag variables to be resolved. also not getting any code assist with tag variables. the tags have code assist and that works fine (which means that the tld is getting picked up ok), just the java variables are not getting resolved. i had this problem with ME 3.8.1, that’s when i saw a post to upgrade to 3.8.2. performed the upgrade using the software updates->find and install feature. still getting the same issue.October 5, 2004 at 8:51 am #216874
Riyad KallaMemberDo you mean doing something like:
<bean:define id=”blah” … />and then trying to use “blah” elsewhere in a scriplet? This is not currently supported by MyEclipse. The only bean-defined variables we support right now are jsp:useBean defined variables. We are working on enhancing this soon.
October 6, 2004 at 12:39 am #216963
shuvradeepMemberi have something like this..
<%@ taglib uri=”/WEB-INF/tlds/sap.tld” prefix=”sap” %>the tld has something like this in it..
<tag>
<name>page</name>
<tag-class>com.la.sap.tagext.PageTag</tag-class>
<body-content>JSP</body-content>
<description>Standard tag</description>
<variable>
<name-given>pageinfo</name-given>
<variable-class>sap.tagext.PageTagInfo</variable-class>
<declare>true</declare>
<scope>NESTED</scope>
</variable>
<attribute>
<name>expirepage</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
and so on..myeclipse is not being able to resolve the pageinfo variable above. it is getting marked in red, and not getting any content assist with it. getting content assist and code completion with the tag though, eg if i type in <sap:.. i am getting all the attributes and stuff. only the variable is not getting resolved.
my folder structure is .. myapp being the webapplication root.
myapp
– WEB-SAP
– WEB-INF
– classes
– lib
– tldsOctober 6, 2004 at 8:35 am #216977
Riyad KallaMemberAhh, ok thank you for the example, your URI is incorrect. PLease see this for a crash course in what a URI is w.r.t. to taglibs: http://myeclipseide.com/FAQ+index-myfaq-yes-id_cat-31.html#251
So make sure to add <taglib> entries to your web.xml file, and use those URIs in your jsp pages (Because your taglibs don’t define a default URI and are not packaged within a JAR I’m guessing).
October 7, 2004 at 6:39 am #217118
shuvradeepMemberok. i need help now. i am lost.
here is my folder structure, myapp being the webroot..
- myapp - WEB-SAP - WEB-INF - classes - lib - tldsthe taglib directive in the jsp is ..
<%@ taglib uri="/WEB-INF/tlds/sap.tld" prefix="sap" %>my web.xml has the following..
<web-app> <taglib> <taglib-uri>/WEB-INF/tlds/sapphire.tld</taglib-uri> <taglib-location>/WEB-INF/tlds/sapphire.tld</taglib-location> </taglib> </web-app>the classes for the tags in the tld are inside myapp/WEB-INF/lib and also inside sybase/easerver/java/lib in a jar file.
what am i doing wrong ?
what pisses me off is that intellij idea is picking up the tag variables fine with the same web structure.
October 7, 2004 at 8:17 am #217129
Riyad KallaMemberAre you able to zip this project up (File > Export > Zip) and email it to support@genuitec.com attn. Riyad, so I can play with it and see whats going on? I’ll clean up what I can (until it works) and send it back to you.
If not, can you create a smaller sample project that exhibits this same behavior?
Your project/taglib/web.xml files look fine, I think there is something smaller going on here.
-
AuthorPosts
