You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Patrick Kelly <pa...@riverdynamics.com> on 2014/04/05 07:44:56 UTC
Date widget use with simple theme
Hi - I am migrating a Webwork application to Struts 2 and am trying to
figure out how to use the Struts 2 date pickers with theme = simple.
Regards - Patrick
--
Patrick Kelly
PatrickKelly
PrincipalConsultant
*River**Dynamics*
E: patrick.kelly@riverdynamics.com <ma...@riverdynamics.com>
W: www.riverdynamics.com <http://www.riverdynamics.com/>
RE: Date widget use with simple theme
Posted by Martin Gainty <mg...@hotmail.com>.
Morning Patrick-
there is an example of datetimepicker in showcase 2.0.11 in webapp/empmanager/editEmployee.jsp
<%@ taglib prefix="s" uri="/struts-tags" %>
<s:datetimepicker label="Birthdate" name="currentEmployee.birthDate"/>
and remember to include :head tag Lukasz mentioned
*Martin*
> From: lukaszlenart@apache.org
> Date: Sat, 5 Apr 2014 12:30:33 +0200
> Subject: Re: Date widget use with simple theme
> To: user@struts.apache.org
>
> <s:datetimepicker/> is a part of Dojo plugin [1], so you must include
> it and use <sx:head/> as well, then you can use the tag as
> <s:datetimepicker theme="dojo" ...>
>
> [1] http://struts.apache.org/release/2.3.x/docs/datetimepicker.html
>
> 2014-04-05 7:44 GMT+02:00 Patrick Kelly <pa...@riverdynamics.com>:
> > Hi - I am migrating a Webwork application to Struts 2 and am trying to
> > figure out how to use the Struts 2 date pickers with theme = simple.
> >
> > Regards - Patrick
> >
> > --
> > Patrick Kelly
> >
> > PatrickKelly
> > PrincipalConsultant
> > *River**Dynamics*
> >
> > E: patrick.kelly@riverdynamics.com <ma...@riverdynamics.com>
> > W: www.riverdynamics.com <http://www.riverdynamics.com/>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
Re: Date widget use with simple theme
Posted by Lukasz Lenart <lu...@apache.org>.
<s:datetimepicker/> is a part of Dojo plugin [1], so you must include
it and use <sx:head/> as well, then you can use the tag as
<s:datetimepicker theme="dojo" ...>
[1] http://struts.apache.org/release/2.3.x/docs/datetimepicker.html
2014-04-05 7:44 GMT+02:00 Patrick Kelly <pa...@riverdynamics.com>:
> Hi - I am migrating a Webwork application to Struts 2 and am trying to
> figure out how to use the Struts 2 date pickers with theme = simple.
>
> Regards - Patrick
>
> --
> Patrick Kelly
>
> PatrickKelly
> PrincipalConsultant
> *River**Dynamics*
>
> E: patrick.kelly@riverdynamics.com <ma...@riverdynamics.com>
> W: www.riverdynamics.com <http://www.riverdynamics.com/>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org