struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Gainty <mgai...@hotmail.com>
Subject RE: Date widget use with simple theme
Date Sat, 05 Apr 2014 12:11:52 GMT
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 <patrick.kelly@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 <mailto:patrick.kelly@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
> 
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message