Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 18FF3F9CD for ; Fri, 31 May 2013 12:34:23 +0000 (UTC) Received: (qmail 89294 invoked by uid 500); 31 May 2013 12:34:21 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 89163 invoked by uid 500); 31 May 2013 12:34:21 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 88875 invoked by uid 99); 31 May 2013 12:34:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 12:34:20 +0000 Date: Fri, 31 May 2013 12:34:20 +0000 (UTC) From: "Greg Huber (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4088) Supressing empty parameters on tag MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Greg Huber updated WW-4088: --------------------------- Attachment: (was: patch.txt) > Supressing empty parameters on tag > ----------------------------------------- > > Key: WW-4088 > URL: https://issues.apache.org/jira/browse/WW-4088 > Project: Struts 2 > Issue Type: Improvement > Components: Plugin - Java Templates, Plugin - Tags > Affects Versions: 2.3.14.2 > Environment: Tomcat/Centos > Reporter: Greg Huber > Priority: Minor > Fix For: 2.3.16 > > > Hello, > When using the s:a anchor tag you can get parameters with empty values ie ?foo= for null values. > It would be good if there was a way to filter these out, similar to the struts.xml true. The tags in the body are ignored. I either have to do it in programatically or use jstl :( > ie possibly do something similar : > from: > {code:xml} > > > > > > > > > > > {code} > To: > {code:xml} > > > > > > > > {code} > (Ref WW-3920) > Cheers Greg -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira