Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 83379 invoked from network); 16 Dec 2005 19:39:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Dec 2005 19:39:27 -0000 Received: (qmail 20575 invoked by uid 500); 16 Dec 2005 19:39:24 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 20529 invoked by uid 500); 16 Dec 2005 19:39:23 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 20518 invoked by uid 99); 16 Dec 2005 19:39:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2005 11:39:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mkienenb@gmail.com designates 64.233.182.200 as permitted sender) Received: from [64.233.182.200] (HELO nproxy.gmail.com) (64.233.182.200) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Dec 2005 11:39:23 -0800 Received: by nproxy.gmail.com with SMTP id p46so225542nfa for ; Fri, 16 Dec 2005 11:39:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sZgmZ5s46ckdHOWLCKxh2E1XVrJUIsovF5ecxlghf6DyXcjvV6KBEyJc9OZVn2cCNeh4Ixx1CgEdO48JNKdR6ZYpHtlLqS2AUHCrLEHpZ0FCfbadePZwP5mLFBudwr5TSvgR9Dd3d2qXPlZsvNHQfMzFXvvNntUAZjMGVCr2pwU= Received: by 10.48.49.15 with SMTP id w15mr46551nfw; Fri, 16 Dec 2005 11:39:01 -0800 (PST) Received: by 10.48.211.15 with HTTP; Fri, 16 Dec 2005 11:39:01 -0800 (PST) Message-ID: <8f985b960512161139t780aba1akc0359ea14b9412b3@mail.gmail.com> Date: Fri, 16 Dec 2005 14:39:01 -0500 From: Mike Kienenberger To: MyFaces Discussion Subject: Re: Setting dataTable Properties Through Binding In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 int= o a > JSTL Result object and then iterate through it with a tag. > > The problem looks like this: > > http://home.comcast.net/~elamd/myface_1.gif > > So for each row, I create two tags, one is an which displa= ys > a value, and the other is an ( or date) which allows the use= r > to change the values. Each tag has a different 'editable' value, each on= e > 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: > > http://home.comcast.net/~elamd/myface_2.gif > > So is there someway to set the values of editable through the binding > attribute of the ? > > Thanks, > -Elam >