[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-2007) var validation and codecompletion only seem to understand the root variable and not the properties
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Fri Apr 11 09:58:54 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-2007?page=comments#action_12408295 ]
Alexey Kazakov commented on JBIDE-2007:
---------------------------------------
CastomerList extends EntityQuery that have:
List<E> getResultList()
So the problem is that we don't know what <E> is.
I guess it depends on what the query returns?
You can try CA for this method (getResultList()) in CastomerList.java and JDT desn't recognize <E>. So we don't either.
Is there any way to figure it out? Or analyzing query is the only way?
> var validation and codecompletion only seem to understand the root variable and not the properties
> --------------------------------------------------------------------------------------------------
>
> Key: JBIDE-2007
> URL: http://jira.jboss.com/jira/browse/JBIDE-2007
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Seam
> Affects Versions: 2.1.0.beta1
> Reporter: Max Andersen
> Assigned To: Alexey Kazakov
> Fix For: 2.1
>
>
> EXECUTE: Enable Seam EL unknown expression validation
> EXECUTE: New Seam Entity Wizard, create entity named "Customer"
> EXECUTE: Open CustomerList.xhtml, go inside <h:dataTable> and change #{customer.id} to #{customer.blahblah}
> ASSERT: validator should complain about blahblah
> EXECUTE: Try and code complete after #{customer.
> ASSERT: properties of customer is available.
> Both of the above assertaions fail at the moment. It does though work for just "customer"
--
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