Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 65004 invoked from network); 11 Oct 2007 14:17:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Oct 2007 14:17:02 -0000 Received: (qmail 37579 invoked by uid 500); 11 Oct 2007 14:16:42 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 37294 invoked by uid 500); 11 Oct 2007 14:16:41 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 37283 invoked by uid 99); 11 Oct 2007 14:16:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 07:16:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2007 14:16:45 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ifypt-0006wj-0a for user@struts.apache.org; Thu, 11 Oct 2007 07:16:25 -0700 Message-ID: <13156706.post@talk.nabble.com> Date: Thu, 11 Oct 2007 07:16:25 -0700 (PDT) From: whichit To: user@struts.apache.org Subject: styleId attribute in html:form MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: neil.hornsey@which.co.uk X-Virus-Checked: Checked by ClamAV on apache.org Hello all. We have a struts form, and we need to have a styleId element (which translates into a standard HTML id element). When we include it, the page breaks, with no errors logged, just a blank page. If we leave it out completely, when the page loads an id element has been included, with the value set to the name of the form as defined in the struts-config file. That's not id we need! So, with the following form declaration the page is fine: But with this, our page breaks. In the first case, the HTML gets translated as:
(why did the id get put there automatically?) Why can't I include my custom styleId? If I make the form a normal HTML form, everything works fine. What implications are there for the rest of the struts elements if the form is declared in this way? Many thanks! -- View this message in context: http://www.nabble.com/styleId-attribute-in-html%3Aform-tf4607534.html#a13156706 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org