You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Asish Kr. Samanta" <as...@anshinsoft.com> on 2006/11/01 05:33:03 UTC
in Struts 2
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
RE: in Struts 2
Posted by "Asish Kr. Samanta" <as...@anshinsoft.com>.
Hi Robin,
I am using Sturts2 taglib. There is datepicker also.
Regards,
Asish
-----Original Message-----
From: robin bajaj [mailto:robinbajaj@gmail.com]
Sent: Wednesday, November 01, 2006 8:07 PM
To: Struts Users Mailing List
Subject: Re: <s:datepicker> in Struts 2
Hi Ashish,
Just curious, Is it Struts 2 taglib that you are using in this case?
I am still at Struts 1.2.x, was wondering if there are any
datePicker/Calendar taglibs in the latest Struts 2.x
Would appreciate your feedback,
robin
Asish Kr. Samanta 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
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: in Struts 2
Posted by robin bajaj <ro...@gmail.com>.
Hi Ashish,
Just curious, Is it Struts 2 taglib that you are using in this case?
I am still at Struts 1.2.x, was wondering if there are any
datePicker/Calendar taglibs in the latest Struts 2.x
Would appreciate your feedback,
robin
Asish Kr. Samanta 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
Re: in Struts 2
Posted by Don Brown <do...@gmail.com>.
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 <as...@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