struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: Html5 theme
Date Fri, 18 Oct 2013 14:46:17 GMT
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 <pbenedict@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 <lukaszlenart@apache.org>wrote:
>
>> 2013/10/17 Paul Benedict <pbenedict@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-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
> --
> Cheers,
> Paul
>



-- 
Cheers,
Paul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message