BTW, this was regarding the tag attributes: "We should at least put in the TLD the HTML version the spec belongs to so IDE completion can inform the user."
On Fri, Oct 18, 2013 at 9:19 AM, Paul Benedict <pbened...@apache.org> wrote: > The notion of theme is about a kind of stylistic output -- not specific to > any HTML spec. Yes, one set of tags. > > I don't really know if we need to render anything differently, actually. > We should at least put in the TLD the HTML version the spec belongs to so > IDE completion can inform the user. I believe the HTML 4 spec simply > ignores unknown elements and attributes. So, there may not be anything > "special" for us to do programming wise. > > Paul > > > > On Fri, Oct 18, 2013 at 1:55 AM, Lukasz Lenart <lukaszlen...@apache.org>wrote: > >> 2013/10/17 Paul Benedict <pbened...@apache.org>: >> > HTML is now a living spec. Their plan is to have 5.0 finished in 2014 >> and >> > spin off a new version every two years: >> > http://dev.w3.org/html5/decision-policy/html5-2014-plan.html >> > >> > So I don't think it's good we come up with a new theme since 5.1, 5.2, >> etc. >> > will be out in sort-of rapid pace. I believe the better solution is to >> > >> > 1) Make the themes/tags support all the latest attributes >> > 2) Add a struts constant that specifies the HTML spec you are targeting >> > 3) Have a graceful desegregation of the new attributes -- do not output >> > them at the wrong level (and log about it) >> >> So you'd like to have just one set of tags (say simple theme only) >> which can render different set of attributes depending on spec you >> want to target? >> >> >> Regards >> -- >> Ćukasz >> + 48 606 323 122 http://www.lenart.org.pl/ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org >> For additional commands, e-mail: dev-h...@struts.apache.org >> >> > > > -- > Cheers, > Paul > -- Cheers, Paul