File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Custom component expecting value-binding expression Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply 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
 
 
subject: Custom component expecting value-binding expression
 
Threads others viewed
taglib c:out tag problem
Problems making Struts/JSTL 1.2 site work with JSTL 2.0
custom tag and getAttribute
Problem while Tag lib Up gradation
problem with tld file
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture