File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom component expecting value-binding expression

 
Henrique Ordine
Ranch Hand
Posts: 128
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic