facelet-taglib 2.0 я объявил атрибут как MethodExpression с тегом <method-signature>, но он ищет ValueExpression

У меня есть этот тег в taglib.xhtml

<tag>
    <tag-name>autoCompleteCustom</tag-name>
    <source>tags/autoCompleteCustom.xhtml</source>

    <attribute>
        <name>completeMethod</name>
        <method-signature >java.util.List completeMethod(java.lang.String)</method-signature>
    </attribute>
</tag>

и компонент, названный так

<sn:autoCompleteCustom
                            headerLabel="Test"
                            id="Test"
                            value="#{beanTest.test}" 
                            var="result"
                            itemLabel="#{result.name}"
                            itemValue="#{result}"
                            queryDelay="250"
                            scrollable="true"
                            scrollHeight="200"
                            dropdown="true"
                            forceSelection="true"
                            completeMethod="#{beanTest.testCompleteMethod}"
                            >

но он говорит, что свойство testCompleteMethod не найдено на bean... он не ищет метод... почему?

0 ответов

Другие вопросы по тегам