[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5961) JSF EL Code complition doesn't recognize static methods.
Maxim Areshkau (JIRA)
jira-events at lists.jboss.org
Mon Mar 1 13:09:10 EST 2010
[ https://jira.jboss.org/jira/browse/JBIDE-5961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12517376#action_12517376 ]
Maxim Areshkau commented on JBIDE-5961:
---------------------------------------
(08:03:13 PM) clerum: but not Jboss KB or Seam
(08:04:34 PM) clerum: and due to https://jira.jboss.org/jira/browse/JBIDE-5961
(08:04:44 PM) clerum: I get lots of errors because it can't resolve static methods
(08:06:42 PM) mareshkau: yes, but issue with static not fixed yet. I don't know haw at all kb and seam validation is useful?
(08:07:03 PM) mareshkau: because if it shows a lot errors for static method, you will not see real errors
> 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.1.1
>
>
> 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
More information about the jbosstools-issues
mailing list