facelet-taglib method-signature not allowed
Hello,
I'm using IDEA 2016.3. I have a facelet-taglib and I want to define a listener there, so I need the tag "method-signature". But the IDE is telling me, that the element is not allowed there. If I remember right, it was working with 2016.2.
The xml-File looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<facelet-taglib
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
version="2.0">
<namespace>http://hzjade.de/jsf/facelets</namespace>
<tag>
<description>Row for the panelgrids for the editing</description>
<tag-name>issPgRow</tag-name>
<source>tags/de/itsc/issPgRow.xhtml</source>
<attribute>
<name>type</name>
<type>java.lang.String</type>
<required>true</required>
<description>Type of the component</description>
</attribute>
<attribute>
<name>label</name>
<type>java.lang.String</type>
<required>true</required>
<description>Label for the component</description>
</attribute>
<attribute>
<name>rendered</name>
<type>java.lang.Boolean</type>
<description>is the component to render</description>
<required>true</required>
</attribute>
<attribute>
<name>values</name>
<type>java.util.List</type>
<description>The values for the list</description>
</attribute>
<attribute>
<name>value</name>
<type>java.lang.Object</type>
<required>true</required>
<description>The value for the selected entry</description>
</attribute>
<attribute>
<name>converter</name>
<type>javax.faces.convert.Converter</type>
<description>The converter for the values</description>
</attribute>
<attribute>
<name>nullLabel</name>
<type>java.lang.String</type>
<description>Label for the null_value in the component</description>
</attribute>
<attribute>
<name>componentId</name>
<type>java.lang.String</type>
<required>true</required>
<description>Id for the component</description>
</attribute>
<attribute>
<name>validatorId</name>
<type>java.lang.String</type>
<description>Validator for the component</description>
</attribute>
<attribute>
<name>valueChangeListener</name>
<method-signature>void listener(javax.faces.event.ValueChangeEvent)</method-signature>
<description>listener for the ValueChangeEvent</description>
</attribute>
<attribute>
<name>valueChangeListenerUpdate</name>
<type>java.lang.String</type>
<description>the components to be updated</description>
</attribute>
</tag>
</facelet-taglib>
Maybe I'm doing something wrong.
Please sign in to leave a comment.
Please report a bug at https://youtrack.jetbrains.com/issues/IDEA with a small sample project to reproduce.