[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-670) xhtml code completion does not update it's list of completions
Max Andersen (JIRA)
jira-events at lists.jboss.org
Tue Aug 7 03:25:49 EDT 2007
[ http://jira.jboss.com/jira/browse/JBIDE-670?page=comments#action_12371267 ]
Max Andersen commented on JBIDE-670:
------------------------------------
in general, the xhtml code completion for components is less functional than the one in java code.
e.g. with the following class:
package org.domain.sss.session;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.core.FacesMessages;
import org.jboss.seam.log.Log;
@Name("test")
public class TestBean {
@Logger private Log log;
@In
FacesMessages facesMessages;
private String value;
//seam-gen method
public String test()
{
//implement your business logic here
log.info("test.test() action called with: #{test.value}");
//facesMessages.add("test #{test.value}");
return "success";
}
//add additional action methods
public String getValue()
{
return value;
}
public void setValue(String value)
{
this.value = value;
}
}
I can in java code complete the following:
#{Te<gives me Test>
#{Test.<gives me test.test, test.test() and test.value>
in xhtml I only get the first one (if i restart eclipse after adding the TestBean).
The seond one just beeps.
> xhtml code completion does not update it's list of completions
> --------------------------------------------------------------
>
> Key: JBIDE-670
> URL: http://jira.jboss.com/jira/browse/JBIDE-670
> Project: JBoss Tools
> Issue Type: Bug
> Components: Seam
> Affects Versions: 2.0.0.Beta3
> Reporter: Max Andersen
> Assigned To: Victor Rubezhny
> Priority: Critical
> Fix For: 2.0.0.Beta3
>
>
> when I add a new seam component EL code completion of seam components in java works fine (it includes the new component).
> but for xhtml it seems a completely different piece of code is executed (or completions are cached) since the code completion list does not include the newly added component.
> It only works if I restart eclipse and then do the code completion.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list