This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Custom component expecting value-binding expression

 
Henrique Ordine
Ranch Hand
Posts: 129
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic