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 Thu, 17 Oct 2013 18:21:22 GMT
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)

Watcha think?

Paul


On Thu, Oct 17, 2013 at 8:36 AM, Frans Thamura <frans@meruvian.org> wrote:

> We use johan geppe plugins.
>
> F
> On Oct 17, 2013 8:31 PM, "Lukasz Lenart" <lukaszlenart@apache.org> wrote:
>
> > It's not exactly what I want, take a look on this example:
> >
> > <s:submit action="cancel"/>
> >
> > will be rendered as:
> >
> > <input type="submit" name="submit" formaction="cancel.action" />
> >
> >
> > Regards
> > --
> > Łukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> >
> > 2013/10/17 Johannes Geppert <johgep@gmail.com>:
> > > We are supporting dynamic attributes, so you can add every attribute
> you
> > > like.
> > >
> > > If we are going to extend the taglib with new attributes then we are
> > extend
> > > it for
> > > all themes instead to add  simply new freemarker templates.
> > >
> > >
> > > Johannes
> > >
> > > #################################################
> > > web: http://www.jgeppert.com
> > > twitter: http://twitter.com/jogep
> > >
> > >
> > > 2013/10/17 Lukasz Lenart <lukaszlenart@apache.org>
> > >
> > >> I mean, theme which supports new attributes, e.g.
> > >>
> > >> <input type="submit" formaction="..." .../>
> > >> http://www.w3schools.com/tags/tag_input.asp
> > >>
> > >>
> > >> Regards
> > >> --
> > >> Łukasz
> > >> + 48 606 323 122 http://www.lenart.org.pl/
> > >>
> > >> 2013/10/17 Johannes Geppert <jogep@apache.org>:
> > >> > What exactly do you mean with Html5 theme for forms?
> > >> >
> > >> > A form theme without tables and support for different input types?
> > >> > Then the struts2-bootstrap-plugin is a kind of html5 theme.
> > >> >
> > >> > Johannes
> > >> >
> > >> > #################################################
> > >> > web: http://www.jgeppert.com
> > >> > twitter: http://twitter.com/jogep
> > >> >
> > >> >
> > >> >
> > >> > 2013/10/17 Lukasz Lenart <lukaszlenart@apache.org>
> > >> >
> > >> >> Hi,
> > >> >>
> > >> >> Does anyone is working on that?
> > >> >>
> > >> >>
> > >> >> 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
> > >> >>
> > >> >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > >> For additional commands, e-mail: dev-help@struts.apache.org
> > >>
> > >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> > For additional commands, e-mail: dev-help@struts.apache.org
> >
> >
>



-- 
Cheers,
Paul

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