Return-Path: Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: (qmail 98113 invoked from network); 16 May 2007 11:49:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2007 11:49:50 -0000 Received: (qmail 44627 invoked by uid 500); 16 May 2007 11:49:52 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 44356 invoked by uid 500); 16 May 2007 11:49:51 -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 44345 invoked by uid 99); 16 May 2007 11:49:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 04:49:51 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of madan.tobago@gmail.com designates 64.233.162.232 as permitted sender) Received: from [64.233.162.232] (HELO nz-out-0506.google.com) (64.233.162.232) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 04:49:43 -0700 Received: by nz-out-0506.google.com with SMTP id n29so291446nzf for ; Wed, 16 May 2007 04:49:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=lV3YpkNfXtwu7hQeAfo1VjBOl/GDOG95u4LFE7KEB0nN7BRg7p7esV0q9UUbqIVB9iFlh+6O5oQJXyQ9keSUGKx6OwnvovMsQhXwNgbi8kZnVC/z5PwjuBrm6OGkrgxAweFp1llf4iSZ7+nb4hPDOx2aNzxzQY7fNRqWT3U+AbU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=LcDtCgXjz4Gh22YNQiedt7I1tSfssPw/7m2u0ThVdJlevfB790j/hijZQKsWRXGxeYvPSR0+HfwZ629wywwj/qpy6IVHF8DYUjcYMZgE5F0WVG6flQlCHkKsHk04b039+9blPwrub685LWu634sG1+uz74iIbbGD6eE+cCzimh0= Received: by 10.65.38.5 with SMTP id q5mr3037620qbj.1179316158329; Wed, 16 May 2007 04:49:18 -0700 (PDT) Received: by 10.65.215.4 with HTTP; Wed, 16 May 2007 04:49:18 -0700 (PDT) Message-ID: Date: Wed, 16 May 2007 17:19:18 +0530 From: "Madan Narra" To: "MyFaces Discussion" Subject: [Tobago] Regarding renderedPartially in Sheet MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_11297_1616167.1179316158178" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_11297_1616167.1179316158178 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I have a sheet which has an inputText in one of its column and a simple in another columns. I need to add a for all the inputText available in the sheet. Based upon the value change in one of the rows in text filed, i need to update its corresponing Say the id of the sheet is " search" , now the inputText filed has got " page:search:0:text " and the panel around tc:out has "page:search:0:outPanel" for the first row Was able to send the ajax request and update the panel in the first (0th) row and show up the status. But as you can see, i specifid the row number statically..which should not be the case. Based upon the value change in the text filed i need to get that value in the controller and update that particular panel in the row. How can this be achieved.... Thnx in Advance, Regards, Madan N ------=_Part_11297_1616167.1179316158178 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi All,
 
I have a sheet which has an inputText in one of its column and a simple <tc:out> in another columns.
 
I need to add a <f:facet name="change"> for all the inputText available in the sheet.
 
Based upon the value change in one of the rows in text filed, i need to update its corresponing <tc:out>
 
Say the id of the sheet is " search" , now the inputText filed has got " page:search:0:text " and the panel around tc:out has "page:search:0:outPanel" for the first row

<tc:column label="Text" id="text">
    <tc:in value="#{search.text}" id="p_quantity" width="40" markup="number">
    <f:validateLength  maximum="4"/>
    <f:facet name="change">
       <tc:command action="#{search.status}">
           <tc:attribute name="renderedPartially" value=":page:search:0:outPanel "/>
       </tc:command>
    </f:facet>
   </tc:in>
</tc:column>                   
<tc:column label="Status" >
  <tc:panel id="outPanel">
    <tc:out value="#{search.statusText}"  markup="sheetTxt"/>
  </tc:panel></tc:column>

Was able to send the ajax request and update the panel in the first (0th) row and show up the status.

But as you can see, i specifid the row number statically..which should not be the case.

Based upon the value change in the text filed i need to get that value in the controller and update that particular panel in the row.

How can this be achieved....

Thnx in Advance,

Regards,

Madan N

------=_Part_11297_1616167.1179316158178--