struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Don Brown" <donald.br...@gmail.com>
Subject Re: <s:datepicker> in Struts 2
Date Thu, 02 Nov 2006 22:30:44 GMT
Check the HTML generated by the tags.  Is dojo being loaded in the
header?  Take a look at the example Showcase application and see if
they are doing anything different.

Don

On 10/31/06, Asish Kr. Samanta <asishs@anshinsoft.com> wrote:
> Hi,
>
>
>
> I am Asish, I am using datepicker, but it will not come to the page. Dojo is
> undefined. What is the problem? Can you give the solution.
>
>
>
> My cod snippet is given below.
>
>
>
> <%@ page contentType="text/html; charset=UTF-8" %>
>
> <%@ taglib prefix="s" uri="/struts-tags" %>
>
> <html>
>
> <head>
>
>     <s:head theme="ajax" calendarcss="calendar-green"/>
>
>     <title>Sign On</title>
>
> </head>
>
>
>
> <body>
>
> <s:form action="Login">
>
>     <s:textfield label="%{getText('username')}" name="username"/>
>
>     <s:password label="%{getText('password')}" name="password" />
>
>     <s:datepicker name="date"/>
>
>     <s:submit/>
>
> </s:form>
>
> </body>
>
> </html>
>
>
>
> I am using jBoss, IE6.0
>
>
>
> Asish
>
>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message