Yes, that would be the best solution. 2014-03-07 22:02 GMT+01:00 Paul Benedict <pbened...@apache.org>: > We need a JIRA ticket to solve this permanently. > > > On Fri, Mar 7, 2014 at 2:37 PM, Lukasz Lenart <lukaszlen...@apache.org>wrote: > >> YooHoo! That's suppose to work template inheritance! >> >> 2014-03-07 21:03 GMT+01:00 Fredrik Andersson <fredan...@hotmail.com>: >> > 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: >> > >> > <tr style="display:none;"> >> > <td> >> > <#include "/${parameters.templateDir}/simple/hidden.ftl" >> /> >> > </td> >> > </tr> >> > >> > Now it validates fine! >> > >> > Best regards >> > Fredrik >> > >> > >> > >> > ---------------------------------------- >> >> From: thechrispr...@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: >> >> >> >> <tr style="display:none;"> >> >> <td> >> >> // both hidden fields >> >> </td> >> >> </tr> >> >> >> >> (*Chris*) >> >> >> >> >> >> On Thu, Mar 6, 2014 at 12:26 PM, Dave Newton <davelnew...@gmail.com> >> wrote: >> >> >> >>> On Thu, Mar 6, 2014 at 3:01 PM, Fredrik Andersson < >> fredan...@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-unsubscr...@struts.apache.org >> > For additional commands, e-mail: user-h...@struts.apache.org >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org >> For additional commands, e-mail: user-h...@struts.apache.org >> >> > > > -- > Cheers, > Paul
--------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org