Return-Path: Delivered-To: apmail-ofbiz-dev-archive@www.apache.org Received: (qmail 1885 invoked from network); 1 Jul 2009 00:49:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jul 2009 00:49:38 -0000 Received: (qmail 97557 invoked by uid 500); 1 Jul 2009 00:49:48 -0000 Delivered-To: apmail-ofbiz-dev-archive@ofbiz.apache.org Received: (qmail 97542 invoked by uid 500); 1 Jul 2009 00:49:48 -0000 Mailing-List: contact dev-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list dev@ofbiz.apache.org Received: (qmail 97532 invoked by uid 99); 1 Jul 2009 00:49:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 00:49:48 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bjfree@free-man.net designates 69.94.133.32 as permitted sender) Received: from [69.94.133.32] (HELO smtp.free-man.net) (69.94.133.32) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jul 2009 00:49:36 +0000 Message-ID: <15684028.38941246409268876.JavaMail.root@free-man.net> MIME-Version: 1.0 SPF-test: passed Received: from 57.sub-70-192-102.myvzw.com ([70.192.102.57]) by the Bomb MailServer (JAMES SMTP Server 2.3.1) with SMTP ID 447 for ; Tue, 30 Jun 2009 17:47:48 -0700 (PDT) Date: Tue, 30 Jun 2009 17:47:47 -0700 From: BJ Freeman User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) To: dev@ofbiz.apache.org Subject: Re: Proposal for adding an alternate-target element to the form's widget submit element References: <24382232.38471246398912250.JavaMail.root@free-man.net> In-Reply-To: <24382232.38471246398912250.JavaMail.root@free-man.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org how about making A content that can be used to list the type of exports. this would open the exports based on dataresources. Just a thought. Jacopo Cappellato sent the following on 6/30/2009 2:54 PM: > I would like to make it easier to get different type of exports (pdf, > csv etc...) for the same search form widget. Right now we can add > 'export' links to the screen, but it is tricky to keep the search > parameters when you click on them. > > What about adding an "alternate-target" attribute to the "submit" > element? This will be used to specify an alternate target for the form > (behind the lines it will use Javascript to change the form's target) > For example: > >
> ... (search parameters) > button-type="button"/> > button-type="button" alt-target="SearchOrdersScreenPdf"/> > button-type="button" alt-target="SearchOrdersScreenCsv/> >
> > It will render three buttons, one for the standard html screen, one for > PDF version and one for csv exports. > > What do you think? > > Jacopo -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator.