Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2982610748 for ; Fri, 7 Mar 2014 20:03:31 +0000 (UTC) Received: (qmail 24259 invoked by uid 500); 7 Mar 2014 20:03:29 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 24193 invoked by uid 500); 7 Mar 2014 20:03:28 -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 24185 invoked by uid 99); 7 Mar 2014 20:03:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 20:03:28 +0000 X-ASF-Spam-Status: No, hits=1.2 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLY,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fredand44@hotmail.com designates 157.55.1.170 as permitted sender) Received: from [157.55.1.170] (HELO dub0-omc2-s31.dub0.hotmail.com) (157.55.1.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 20:03:21 +0000 Received: from DUB129-W31 ([157.55.1.136]) by dub0-omc2-s31.dub0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 7 Mar 2014 12:03:00 -0800 X-TMN: [2Ka3Gj5BjQsiyH50ZxEv1mLKgF5+Q8dQ] X-Originating-Email: [fredand44@hotmail.com] Message-ID: From: Fredrik Andersson To: Struts Users Mailing List Subject: RE: Why do I get this XHTML validation errors? (second attempt) Date: Fri, 7 Mar 2014 20:03:00 +0000 Importance: Normal In-Reply-To: References: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 07 Mar 2014 20:03:00.0551 (UTC) FILETIME=[3DC28570:01CF3A40] X-Virus-Checked: Checked by ClamAV on apache.org Hello guys!=0A= =0A= I think you solved it!=0A= =0A= I put a new file "hidden.ftl" in my resources-folder (I use maven with ecli= pse):=0A= resources/template/xhtml/hidden.ftl=0A= =0A= The content in hidden.ftl is:=0A= =0A= =0A= =0A= <#include "/${parameters.templateDir}/simple/hidden.ftl" />=0A= =0A= =0A= =0A= Now it validates fine!=0A= =0A= Best regards=0A= Fredrik=0A= =0A= =0A= =0A= ----------------------------------------=0A= > From: thechrispratt@gmail.com=0A= > Date: Thu=2C 6 Mar 2014 12:45:00 -0800=0A= > Subject: Re: Re: Why do I get this XHTML validation errors? (second attem= pt)=0A= > To: user@struts.apache.org=0A= >=0A= > To elaborate on Dave's point=2C try:=0A= >=0A= > =0A= > =0A= > // both hidden fields=0A= > =0A= > =0A= >=0A= > (*Chris*)=0A= >=0A= >=0A= > On Thu=2C Mar 6=2C 2014 at 12:26 PM=2C Dave Newton wrote:=0A= >=0A= >> On Thu=2C Mar 6=2C 2014 at 3:01 PM=2C Fredrik Andersson >>wrote:=0A= >>=0A= >>> I have tride to put the hidden attributet att:=0A= >>> 1 first code line after the form-start-tag=0A= >>> 2 before the submit-tag=0A= >>> 3 after the submit-tag=2C before form-end-tag.=0A= >>> None of the attempt validates.=0A= >>> So If you guys got any idea how to solve this mystery plast let me know= .=0A= >>>=0A= >>=0A= >> You could try what I suggested until the hidden tags have xhtml template= s=0A= >> that emit correct HTML.=0A= >>=0A= >> Dave=0A= >> = --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org