- This topic has 6 replies, 2 voices, and was last updated 19 years, 9 months ago by duckman75.
-
AuthorPosts
-
duckman75MemberIs there some type of code completion/assist for JSP/Struts/HTML ??
If so, how do you turn this on?
I am not seeing any code assist….
ME 3.8.4+QF2-BetaFor3.1
Eclipse 3.1M4
Windows XP
JDK1.5.0_01
Riyad KallaMemberIs there some type of code completion/assist for JSP/Struts/HTML ??
Yes
I am not seeing any code assist….
Make sure you are opening your pages with the respective “MyEclipse XXXX Editor” where XXXX is the name of whatever you are editing (JSP, HTML, Struts, etc.). You can do this by closing all your editors, Right clicking on your file in question, going to Open With and selecting the appropriate MyEclipse editor.
If you were testing out other plugins (Lomboz, WTP, etc.) it is possible the association with these files types is still assigned to them.
ALso make sure that ME i installed correctly by going to the Window > Preferences > MyEclipse preference page and making sure you see it, as well as the sub nodes of preferences under it.
duckman75Memberok, i’m stupid…. I see where I needed to turn that on in the Preferences…
But next question, why don’t I see the parameters associated to the Strut/HTML?
Example:
<html:form ></html:form>
No code assist for the parameters??
Riyad KallaMemberBut next question, why don’t I see the parameters associated to the Strut/HTML?
Because you likely don’t have your @taglib entries setup correctly in your JSP page. Please read this: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-31.html#251
duckman75MemberI do have my taglibs setup correctly
<%@ taglib uri=”/WEB-INF/struts-html.tld” prefix=”html” %>with the /WEB-INF/struts-html.tld defined in my web.xml and the TLD in the /WEB-INF/ folder…
But i still do not see the attrivutes for the tag chosen?
When I type ‘<‘ all the avaliable options come up. I select <html:form and it puts <html:form ></html:form> on my page.
But I cannot see what attributes that tag can handle.Hopefully this makes sense….
thanks for the quick response on this, it is driving me crazy!!! 🙂
Riyad KallaMemberwith the /WEB-INF/struts-html.tld defined in my web.xml and the TLD in the /WEB-INF/ folder…
What exactly does your taglib entry look like in your web.xml file?
ALSO, is struts.jar in your JavaBuild Path > Libraries list as a ‘mounted’ JAR? Is it inside of your project or is it an external JAR or User Library?
ALSO, is this a Web Project and not a plain Java Project?
duckman75MemberOk i found it….
I had to put this in the Perferences:
HTML Source -> Automatically make suggestions(‘checked’)
Prompt when these characters are inserted = ‘<, ‘I had
Prompt when these characters are inserted = ‘<‘It needs to have that <,{SPACE} there for it to work….
BUT, when it does work my CPU now is sitting spiked at 100%.
-
AuthorPosts