Haven't tried #{true} yet, but I did have it resolving to a boolean in my backing bean at first, and tried displayValueOnly="true" as a test.

Quintin Kerby
CACI, Inc.
(904) 596-7040



Dave Brondsema <[EMAIL PROTECTED]>

04/06/2006 11:16

Please respond to
"MyFaces Discussion" <[email protected]>

To
MyFaces Discussion <[email protected]>
cc
Subject
Re: displayValueOnly not working





Quintin Kerby wrote:
>
> At first I thought it was my facelets tag library not rendering the
> value, but even not using facelets I can't get the following to just
> show the value:
>
> <t:selectBooleanCheckbox value="#{requirementBean.available}"
> id="available" displayValueOnly="true"/>
>
> It doesn't work with <t:selectOneMenu../> either.   Any guidance?
>
> Quintin Kerby


Does "#{true}", or a method binding work for you?


It works fine for me (with facelets, too) using t:inputTextarea, and
displayValueOnly binding to a getter that returns true or false.

--
Dave Brondsema
Software Developer
Cornerstone University



Attachment: signature.asc
Description: Binary data

Reply via email to