aspose file tools*
The moose likes JSF and the fly likes Custom component expecting value-binding expression Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Custom component expecting value-binding expression" Watch "Custom component expecting value-binding expression" New topic
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Custom component expecting value-binding expression