[JBoss Tools] New message: "Re: Code assist does not work in dvdstore example"
by Arbi Sookazian
User development,
A new message was posted in the thread "Code assist does not work in dvdstore example":
http://community.jboss.org/message/523541#523541
Author : Arbi Sookazian
Profile : http://community.jboss.org/people/asookazian
Message:
--------------------------------------------------------------
Well, I just tried typing a new JSF component in an existing xhtml file and the code assist does work!
<h:inputText value="#{cart.cart.}"/>
In fact, it's showing selections for tags as well as API assist and javadocs.
It works when modifying the existing EL expressions as well.
I did re-start Eclipse so not sure if that solved the problem or what.
But it still doesn't work in this particular case in browse.xhtml:
<f:param name="id" value="#{item.productId}"/>
When I type #{item.} I don't see productId in the assist window popup.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523541#523541
16 years, 2 months
[JBoss Tools] New message: "Code assist does not work in dvdstore example"
by Arbi Sookazian
User development,
A new message was posted in the thread "Code assist does not work in dvdstore example":
http://community.jboss.org/message/523540#523540
Author : Arbi Sookazian
Profile : http://community.jboss.org/people/asookazian
Message:
--------------------------------------------------------------
using Eclipse Galileo SR1, JBT 3.1.0.CR1
I installed the Seam dvdstore application (4 projects in total generated in my workspace) via the Eclipse Help --> Project Examples.
I corrected the server runtimes as they were pointed by default to EAP (which I don't have). All errors in the problems view are now gone.
The code completion in the xhtml files does not work (pop-up works but the values I'm expecting to be there for selection are not there).
Exception stack trace when I try to modify the xhtml file:
java.lang.ArrayStoreException
at java.lang.System.arraycopy(Native Method)
at java.util.ArrayList.toArray(ArrayList.java:306)
at org.jboss.tools.jst.web.kb.internal.JspContextImpl.getVars(JspContextImpl.java:87)
at org.jboss.tools.jst.web.kb.el.AbstractELCompletionEngine.resolve(AbstractELCompletionEngine.java:98)
at org.jboss.tools.jsf.web.validation.ELValidator.validateElOperand(ELValidator.java:410)
at org.jboss.tools.jsf.web.validation.ELValidator.validateELExpression(ELValidator.java:376)
at org.jboss.tools.jsf.web.validation.ELValidator.validateEL(ELValidator.java:283)
at org.jboss.tools.jsf.web.validation.ELValidator.validateDom(ELValidator.java:325)
at org.jboss.tools.jsf.web.validation.ELValidator.validateFile(ELValidator.java:276)
at org.jboss.tools.jsf.web.validation.ELValidator.validate(ELValidator.java:159)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validate(ValidatorManager.java:92)
at org.jboss.tools.jst.web.kb.internal.validation.ValidatorManager.validateInJob(ValidatorManager.java:75)
at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
session data:
eclipse.buildId=M20090917-0800
from Eclipse error log view.
Here is the .projects file contents:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>dvdstore</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.common.verification.verifybuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.seam.core.seambuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.hibernate.eclipse.console.hibernateBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.jst.web.kb.kbbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.jboss.tools.jsf.jsfnature</nature>
<nature>org.jboss.tools.seam.core.seamnature</nature>
<nature>org.hibernate.eclipse.console.hibernateNature</nature>
<nature>org.jboss.tools.jst.web.kb.kbnature</nature>
</natures>
</projectDescription>
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523540#523540
16 years, 2 months
[JBoss Tools] New message: "Re: Enabling code assist in xhtml files"
by Arbi Sookazian
User development,
A new message was posted in the thread "Enabling code assist in xhtml files":
http://community.jboss.org/message/523536#523536
Author : Arbi Sookazian
Profile : http://community.jboss.org/people/asookazian
Message:
--------------------------------------------------------------
I just installed the 3.1.0.CR1 JBT plugins into my Eclipse Galileo at home.
I created a java project for the Seam 2.2.0.GA booking example. I right-clicked the project, selected configure, selected add JSF capabilities and the code assist does not work in the main.xhtml or book.xhtml facelets (the popup does happen when I type a Seam component name and then "." but no methods to choose from).
Here is the .project file contents:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>booking</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.common.verification.verifybuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.jboss.tools.jst.web.kb.kbbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.jboss.tools.jsf.jsfnature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.jboss.tools.jst.web.kb.kbnature</nature>
</natures>
<linkedResources>
<link>
<name>WEB-ROOT</name>
<type>2</type>
<location>C:/java/jboss-seam-2.2.0.GA/examples/booking/resources</location>
</link>
</linkedResources>
</projectDescription>
What am I doing wrong?!
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523536#523536
16 years, 2 months