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 <fr...@meruvian.org> wrote:

> We use johan geppe plugins.
>
> F
> On Oct 17, 2013 8:31 PM, "Lukasz Lenart" <lukaszlen...@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 <joh...@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 <lukaszlen...@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 <jo...@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 <lukaszlen...@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-unsubscr...@struts.apache.org
> > >> >> For additional commands, e-mail: dev-h...@struts.apache.org
> > >> >>
> > >> >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> > >> For additional commands, e-mail: dev-h...@struts.apache.org
> > >>
> > >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> > For additional commands, e-mail: dev-h...@struts.apache.org
> >
> >
>



-- 
Cheers,
Paul

Reply via email to