Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 82228 invoked from network); 23 Aug 2006 17:36:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 17:36:24 -0000 Received: (qmail 66266 invoked by uid 500); 23 Aug 2006 17:36:07 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 66219 invoked by uid 500); 23 Aug 2006 17:36:06 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 66199 invoked by uid 99); 23 Aug 2006 17:36:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 10:36:06 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of cagatay.civici@gmail.com designates 64.233.166.181 as permitted sender) Received: from [64.233.166.181] (HELO py-out-1112.google.com) (64.233.166.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 10:36:05 -0700 Received: by py-out-1112.google.com with SMTP id i75so256926pye for ; Wed, 23 Aug 2006 10:35:44 -0700 (PDT) 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:references; b=Rvm0vKRxhI8mIZ/2Z8E8tpt9c982XFA/T+cHMoNwbO3gxoaGQ0ZE2B35avKEyqI1N04A15HDaoCt7a6n+dDlAfKEm/sy0ssOf/peifB8vQ5b0TOfK76zk8Aw/dyBQvK+wPqv4fwrrP48IbydgPZ5VmIYn87974Oyx9kgyvfo8pU= Received: by 10.35.20.14 with SMTP id x14mr1027403pyi; Wed, 23 Aug 2006 10:35:44 -0700 (PDT) Received: by 10.35.118.9 with HTTP; Wed, 23 Aug 2006 10:35:43 -0700 (PDT) Message-ID: <8c9d4eaa0608231035r9657880i8885b87168eebc81@mail.gmail.com> Date: Wed, 23 Aug 2006 20:35:43 +0300 From: "Cagatay Civici" To: "MyFaces Development" Subject: Re: Excel Export for Extended Datatable In-Reply-To: <5a99335f0608231005k66c7a4b9m7e5dadcb43923c03@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_130468_15734308.1156354543947" References: <8c9d4eaa0608230121n10ac33cbjcb012bf6a88f8226@mail.gmail.com> <5a99335f0608231005k66c7a4b9m7e5dadcb43923c03@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_130468_15734308.1156354543947 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Martin, Yes that seems like a better idea, so something like this one right? ... ... ... This would render a button and onclick exports the datatable data to excel format. Cagatay On 8/23/06, Martin Marinschek wrote: > > Hmm... My problem with our extended data-table is that it is much > toooo overweight already. Couldn't we work with an extra component > here, which has a for-attribute referencing a dataTable-component, and > displays the button and on click the excel data for the dataTable? > > regards, > > Martin > > On 8/23/06, Cagatay Civici wrote: > > Hi, > > > > I've created a new feature for the datatable that allows exporting > presented > > data to the excel format. > > > > Simply an excel button is placed on the datatable header and clicking on > it > > makes an ajax request, a popup is displayed and excel file is presented. > > > > Following are the two screenshots; > > > > http://img206.imageshack.us/my.php?image=table17gs.jpg > > http://img80.imageshack.us/img80/3568/table7xm.jpg > > > > This was a requirement needed in my last project, I think it would also > be > > useful if I integrate this for our extended datatable with an attribute. > > > > What do you think? > > > > Cagatay > > > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > ------=_Part_130468_15734308.1156354543947 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Martin,

Yes that seems like a better idea, so something like this one right?

<t:datatable id="tableId">
...
...
...
</t:datatable>

<s:excelExporter for="tableId" />

This would render a button and onclick exports the datatable data to excel format.

Cagatay

On 8/23/06, Martin Marinschek < martin.marinschek@gmail.com> wrote:
Hmm... My problem with our extended data-table is that it is much
toooo overweight already. Couldn't we work with an extra component
here, which has a for-attribute referencing a dataTable-component, and
displays the button and on click the excel data for the dataTable?

regards,

Martin

On 8/23/06, Cagatay Civici <cagatay.civici@gmail.com> wrote:
> Hi,
>
> I've created a new feature for the datatable that allows exporting presented
> data to the excel format.
>
> Simply an excel button is placed on the datatable header and clicking on it
> makes an ajax request, a popup is displayed and excel file is presented.
>
> Following are the two screenshots;
>
> http://img206.imageshack.us/my.php?image=table17gs.jpg
>  http://img80.imageshack.us/img80/3568/table7xm.jpg
>
> This was a requirement needed in my last project, I think it would also be
> useful if I integrate this for our extended datatable with an attribute.
>
> What do you think?
>
> Cagatay
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

------=_Part_130468_15734308.1156354543947--