| Author |
Custom component expecting value-binding expression
|
Henrique Ordine
Ranch Hand
Joined: Sep 03, 2004
Posts: 127
|
|
Hi, I�m developing a custom JSF component, which is supposed to accept value-binding expressions for one of its attributes, namely tree. I�ve written my component class and my tag handler class, and configured my faces-config file as well as my TLD. When I access a JSP which uses this component, I get the following error: According to TLD or attribute directive in tag file, attribute tree does not accept any expressions Here is the part of the TLD that describes this tag: <tag> <name>treeSelect</name> <tag-class>br.com.dminder.jsfcommon.tag.TreeSelectTag</tag-class> <attribute> <name>tree</name> <required>true</required> <rtexprvalue>true</rtexprvalue> </attribute> <attribute> <name>labelField</name> <required>true</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>keyField</name> <required>true</required> <rtexprvalue>false</rtexprvalue> </attribute> <attribute> <name>branchesField</name> <required>true</required> <rtexprvalue>false</rtexprvalue> </attribute> </tag> Could anyone please help?
|
J2EE Architect/Developer
|
 |
 |
|
|
subject: Custom component expecting value-binding expression
|
|
|