Sounds like a badly written getter on the component.
As a temporary workaround, you could try "#{'Foo'}"
Seems like a pretty easy bug to fix -- just take any known working
value attribute (like h:outputText) and patch up the broken one using
the same methodology
On 6/28/06, Martin Grotzke <[EMAIL PROTECTED]> wrote:
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQBEolQ27FvOl7Te+pYRAiJCAJ4q35A+M7cXMVeiOCn6JCqraf/OtQCgg/aN
L8vk2Ix4ylw06JPBtOVQ7c4=
=28GD
-----END PGP SIGNATURE-----