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 2DD4210890 for ; Fri, 7 Mar 2014 20:37:59 +0000 (UTC) Received: (qmail 85326 invoked by uid 500); 7 Mar 2014 20:37:57 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 85263 invoked by uid 500); 7 Mar 2014 20:37:57 -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 85253 invoked by uid 99); 7 Mar 2014 20:37:56 -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 20:37:56 +0000 Received: from localhost (HELO mail-yh0-f48.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 20:37:56 +0000 Received: by mail-yh0-f48.google.com with SMTP id z6so4841816yhz.35 for ; Fri, 07 Mar 2014 12:37:55 -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=+zH+0w7+kA3cG1Eml7pMcX+VoFkuvwSC30TsGo4xkJk=; b=ZimiUHF1l6nYbSQUFg6fLm5ipGkhB1pQo4Uyadu5LuJ10BW+zBINLBj0dQ/gvA4ayq rvf2JI4aQvtXnXgqezki5CuKAsZoerbNFFKgDY2yj9S66eIyj8zSmrEkQ7w6Jq3tvMxi EomPQ5VaNadcA4tCt71Be0l1KTYaUPxHJl+lvV8tV3+uDe9WicAVVp4mS1bF7Q/3gq4F dcXFwIMJU8d3LQ51e/7meBYngmlK5EzLiqMv9PtMrHKBG+nsBoA2XsUYdY/3bZY4Ei2D 4dLXVezKu4sVqOPeq9zO/y7gHsfg0tvahviLx8LFecg4i8N6e0Jj//LDx2pufQMBPrBr ppuQ== X-Received: by 10.236.125.168 with SMTP id z28mr24998539yhh.59.1394224675781; Fri, 07 Mar 2014 12:37:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.170.75.131 with HTTP; Fri, 7 Mar 2014 12:37:35 -0800 (PST) In-Reply-To: References: From: Lukasz Lenart Date: Fri, 7 Mar 2014 21:37:35 +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 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 >>>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