Return-Path: Delivered-To: apmail-jakarta-struts-dev-archive@apache.org Received: (qmail 10343 invoked from network); 10 Apr 2003 10:53:30 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Apr 2003 10:53:30 -0000 Received: (qmail 24790 invoked by uid 97); 10 Apr 2003 10:55:20 -0000 Delivered-To: qmlist-jakarta-archive-struts-dev@nagoya.betaversion.org Received: (qmail 24783 invoked from network); 10 Apr 2003 10:55:20 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 10 Apr 2003 10:55:20 -0000 Received: (qmail 9733 invoked by uid 500); 10 Apr 2003 10:53:24 -0000 Mailing-List: contact struts-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list struts-dev@jakarta.apache.org Received: (qmail 9714 invoked from network); 10 Apr 2003 10:53:23 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Apr 2003 10:53:23 -0000 Received: (qmail 24778 invoked by uid 50); 10 Apr 2003 10:55:14 -0000 Date: 10 Apr 2003 10:55:14 -0000 Message-ID: <20030410105514.24777.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: struts-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 18888] - DynaActionForm.get("param") returns an empty string; used to return null X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18888 DynaActionForm.get("param") returns an empty string; used to return null ------- Additional Comments From jpl@remotejava.com 2003-04-10 10:55 ------- I agree: the initial="" parameter could be used if someone wants the new behavior (or removed if someone had it, but really meant the other thing). As it is now, I would have to change my code in all the places where a check of DynaActionForm.get("...") against null appears. The situation where null and "" would need to be distinguished is not common, but not unthinkable either. I can understand the benefit of fields initialization in real forms, but I also use DynaActionForms for specifying an Action's supported GET parameters. Maybe this approach is not a good idea, though? --------------------------------------------------------------------- To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-dev-help@jakarta.apache.org