[JBoss JIRA] Created: (JBIDE-5961) JSF EL Code complition doesn't recognize static methods.
by Alexey Kazakov (JIRA)
JSF EL Code complition doesn't recognize static methods.
--------------------------------------------------------
Key: JBIDE-5961
URL: https://jira.jboss.org/jira/browse/JBIDE-5961
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.1.0.CR2
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 3.2.next
1. @Name("searchTools")
public class SearchTools
{
public static String getClassName(Object object)
{
if(object.getClass().getSimpleName().contains("$$"))
{
return object.getClass().getSuperclass().getSimpleName();
}
else
{
return object.getClass().getSimpleName();
}
}
}
2. There should be #{searchTools.getClassName()} proposal in CA.
For example: <h:outputText value="Organization" rendered="#{searchTools.getClassName(result) == 'Organization'}" />
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBIDE-5028) Add JSF Capabilities breaks VPE model
by Yura Zhishko (JIRA)
Add JSF Capabilities breaks VPE model
-------------------------------------
Key: JBIDE-5028
URL: https://jira.jboss.org/jira/browse/JBIDE-5028
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Environment: Eclipse 3.5.1 with all required plug-ins installed.
JBoos Tools installed from http://download.jboss.org/jbosstools/updates/nightly/trunk/
Reporter: Yura Zhishko
Assignee: Yahor Radtsevich
Fix For: 3.1.0.M4
1) Install Eclipse 3.5.1 with all required plug-ins.
2) Help -> Install New Software.
3) Install JBT using link from environment description.
4) Import attached project into workspace.
5) Wait until Updating Maven Dependencies doesn't finish.
6) Open src -> login.xhtml
ASSERT: Page is shown in VPE like on screenshot-1
7) RMB on project
8) JBoss Tools -> Add JSF Capabilities -> Next -> (select any runtime) -> Finish
9) After Building workspace Refresh opened page
ASSERT: The result should be the same as shown on screenshot-1.
ASSERT FAILED: h:head and h:body looks like unknown tags (screenshot-2).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month