myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Kienenberger <>
Subject Re: Setting dataTable Properties Through Binding
Date Fri, 16 Dec 2005 19:39:01 GMT
It sounds like you're binding the rendered attribute to an expression
which might evaluate to null instead of true or false.   Try making
your rendered expression more complex by detecting null backing beans
or Boolean values or whatever.   Posting your rendered attribute
settings for inputText/outputText would make it easier to comment.

On 12/16/05, Elam Daly <> wrote:
> Hi,
> I'm having this problem where I take a JDBC ResultSet object, turn it into a
> JSTL Result object and then iterate through it with a <t:dataTable> tag.
> The problem looks like this:
> So for each row, I create two tags, one is an <h:outputText> which displays
> a value, and the other is an <h:inputText>( or date) which allows the user
> to change the values.  Each tag has a different 'editable' value, each one
> set to the opposite of the other.
> Now if the user clicks the edit checkbox, javascript submits the form and
> then everything looks as it should:
> So is there someway to set the values of editable through the binding
> attribute of the <t:dataTable>?
> Thanks,
> -Elam

View raw message