Suffered the same issue - according to the docs, its allowed to have static values, so its a bug. thx for your post - i searched for 20 minutes now and thought i am crazy because i found nothing which is wrong, using dynamic el works.
Searched jira for it and found: https://issues.apache.org/jira/browse/TOMAHAWK-82 kind regards Torsten Am Mittwoch, den 28.06.2006, 12:04 +0200 schrieb Martin Grotzke: > Hello, > > i just wanted to start with the Tomahawk panelNavigation2 component. > > For this i added the elements > > <t:panelNavigation2 id="nav1" layout="list"> > <t:commandNavigation2 value="Foo" action="foo"/> > </t:panelNavigation2> > > to my (facelets) template. > Unfortunately, i didn't see anything but a single dot, but > not the text "Foo". > > Finally i found out, that one must use a value binding for the > value of commandNavigation2, so changing the elements to > > <t:panelNavigation2 id="nav1" layout="list"> > <t:commandNavigation2 value="#{msg.foo}" action="foo"/> > </t:panelNavigation2> > > does the trick. > > Is this behaviour intended? Why should it not be possible to > "hardcode" the value of the value attribute? > > Cheers, > Martin > >

