History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16382
Type: Bug Bug
Status: Open Open
Assignee: Dmitry Avdeev
Reporter: Mike Hanafey
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

method-signature in a JSF tag library TLD should be interpreted as liberally as the JVM would treat it at run time.

Created: 16 Nov 07 00:16   Updated: 01 Dec 07 14:17
Component/s: Editor. Error Highlighting, J2EE.JSF

Build: 7,361
Severity: Medium


 Description  « Hide
In a tag.tld file I have a tag definition with an attribute described as:
<attribute>
    <description>The NameAjax bean that drives the component</description>
    <name>nameAjax</name>
     <required>true</required>
     <deferred-method>
          <method-signature>genomix.tractor.backing.NameAjax method()</method-signature>
     </deferred-method>
 </attribute>

genomix.tractor.backing.NameAjax is an interface that a number of managed beans have methods that return an implementation of.

The problem is when I try to use this tag, for the 'nameAjax' attribute, IDEA does not think that an argumentless method that returns an implementation of 'genomix.tractor.backing.NameAjax' is a candidate method, so it does not give me name completion on something like "#{myBean.species^}", where 'myBean' does in fact have a method that returns an implementation of the required interface. If the method name is typed in, it then gets flagged as an error.

The correct behaviour is to suggest and allow all methods that are useable based on the usual rules of compatibility.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.