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 AE25A10A16 for ; Fri, 7 Mar 2014 21:04:38 +0000 (UTC) Received: (qmail 49805 invoked by uid 500); 7 Mar 2014 21:04:36 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 49757 invoked by uid 500); 7 Mar 2014 21:04:36 -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 49749 invoked by uid 99); 7 Mar 2014 21:04:36 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 21:04:36 +0000 Received: from localhost (HELO mail-yh0-f51.google.com) (127.0.0.1) (smtp-auth username lukaszlenart, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 21:04:36 +0000 Received: by mail-yh0-f51.google.com with SMTP id f10so4855599yha.24 for ; Fri, 07 Mar 2014 13:04:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=wukRn9j/pJfpOQP6O4iQjwb1FC5mCJml/hCTtD7gbxs=; b=R/TbtB9+2BRrFu+uad/9VeJFchDWl5xlrXkhKGXjy369iCB2sVb3DLc7Yt6Uyl9B55 y3ZhkPAWj6Y7tzPoiVW6XvUousBOaBjdo/qty2x508Ei66dV8vjIEpZUNae3YgOS0KXm O//J5AJbgLEBlJyU3LPPRlqRH5xy7ugnGyUIJlMpmOoDCgyGY/J8xMm75ymmaimMtqkb Mwfo0+LNrDAIVsQOn2CctqMhr1d9U7irEh2vp/Uq8g+0Jr6K4Qw6pybfWlqOiA57/xvx wZKkzFIxl/mkkAo6bBMWVgsEoM4OCtqZRKQ1Z9ikW+FSkgimoryzt/NM0ATvnQra26cy zx2A== X-Received: by 10.236.134.48 with SMTP id r36mr3593917yhi.133.1394226275077; Fri, 07 Mar 2014 13:04:35 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.75.131 with HTTP; Fri, 7 Mar 2014 13:04:13 -0800 (PST) In-Reply-To: References: From: Lukasz Lenart Date: Fri, 7 Mar 2014 22:04:13 +0100 Message-ID: Subject: Re: Why do I get this XHTML validation errors? (second attempt) To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Yes, that would be the best solution. 2014-03-07 22:02 GMT+01:00 Paul Benedict : > We need a JIRA ticket to solve this permanently. > > > On Fri, Mar 7, 2014 at 2:37 PM, Lukasz Lenart wrote: > >> YooHoo! That's suppose to work template inheritance! >> >> 2014-03-07 21:03 GMT+01:00 Fredrik Andersson : >> > Hello guys! >> > >> > I think you solved it! >> > >> > I put a new file "hidden.ftl" in my resources-folder (I use maven with >> eclipse): >> > resources/template/xhtml/hidden.ftl >> > >> > The content in hidden.ftl is: >> > >> > >> > >> > <#include "/${parameters.templateDir}/simple/hidden.ftl" >> /> >> > >> > >> > >> > Now it validates fine! >> > >> > Best regards >> > Fredrik >> > >> > >> > >> > ---------------------------------------- >> >> From: thechrispratt@gmail.com >> >> Date: Thu, 6 Mar 2014 12:45:00 -0800 >> >> Subject: Re: Re: Why do I get this XHTML validation errors? (second >> attempt) >> >> To: user@struts.apache.org >> >> >> >> To elaborate on Dave's point, try: >> >> >> >> >> >> >> >> // both hidden fields >> >> >> >> >> >> >> >> (*Chris*) >> >> >> >> >> >> On Thu, Mar 6, 2014 at 12:26 PM, Dave Newton >> wrote: >> >> >> >>> On Thu, Mar 6, 2014 at 3:01 PM, Fredrik Andersson < >> fredand44@hotmail.com >> >>>>wrote: >> >>> >> >>>> I have tride to put the hidden attributet att: >> >>>> 1 first code line after the form-start-tag >> >>>> 2 before the submit-tag >> >>>> 3 after the submit-tag, before form-end-tag. >> >>>> None of the attempt validates. >> >>>> So If you guys got any idea how to solve this mystery plast let me >> know. >> >>>> >> >>> >> >>> You could try what I suggested until the hidden tags have xhtml >> templates >> >>> that emit correct HTML. >> >>> >> >>> Dave >> >>> >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> > For additional commands, e-mail: user-help@struts.apache.org >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> >> > > > -- > Cheers, > Paul --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org