Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 54791 invoked from network); 14 Aug 2006 05:18:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Aug 2006 05:18:22 -0000 Received: (qmail 66821 invoked by uid 500); 14 Aug 2006 05:18:16 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 66699 invoked by uid 500); 14 Aug 2006 05:18:15 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 66688 invoked by uid 99); 14 Aug 2006 05:18:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 22:18:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [63.210.102.130] (HELO cprobd02.vailsys.com) (63.210.102.130) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Aug 2006 22:18:15 -0700 Received: from dfsfbd06.vail (dfsfbd06.vail [192.168.129.190]) by cprobd02.vailsys.com (Postfix) with ESMTP id 63B03CE4F2 for ; Mon, 14 Aug 2006 00:17:54 -0500 (CDT) Received: from [192.168.34.17] (unknown [192.168.34.17]) by dfsfbd06.vail (Postfix) with ESMTP id 0E4DF323EAA for ; Mon, 14 Aug 2006 00:17:54 -0500 (CDT) Message-ID: <44E00780.7000109@vailsys.com> Date: Mon, 14 Aug 2006 00:17:52 -0500 From: David Durham User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Struts Developers List Subject: html:link + HTTP POST Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I posted on the user list and didn't get a response, so not sure .. Anyway, I'm thinking it would be nice to have the html:link tag accept an optional "method" attribute that defaults to "get" and when set to "post" does one of a couple different things. 1 - adds a form, method="post" with hidden attributes and a javascript link to submit the form. 2 - adds a form, method="post", with a button to trigger the action This is needed because of the issue brought to light by google accelerator wrt URLs that do something other than retrieve data-- they need to be HTTP POSTs. So a common use case for html:link is to create "delete" links, which should be http POSTs. Now, I don't know if something already exists in Struts, so maybe nothing new is needed. I didn't get any feedback on the user@ lists, so I'm posting here. -Dave --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org