Dipti, if you're using Struts 2.0.x, follow the example at :

http://struts.apache.org/2.0.9/docs/datetimepicker.html

It's likely you're just missing the essential
<%@ taglib prefix="s" uri="/struts-tags" %>
and/or
<s:head theme="ajax"/>
tags mentioned at the top of that page. Note there are several issues with this version of the datetimepicker that are discussed in other threads.

If you're using Struts 2.1.x you're probably missing the struts-dojo-plugin. Michaël's reference below applies to Struts 2.1.x only.

[EMAIL PROTECTED] wrote:
In the lasts versions (since 2.0.9 I guess), all AJAX are in dojo plugin. So you need to include <%@ taglib uri="/struts-dojo-tags" prefix="sx"%> and <sx:head/>

and call  :<sx:datetimepicker .../>

Michaël



dipti RealSoftInc <[EMAIL PROTECTED]> 16/10/2007 08:09
Veuillez répondre à
"Struts Users Mailing List" <user@struts.apache.org>


A
user@struts.apache.org
cc

Objet
Re: datetimepicker tag







I m using Struts2 and the tag which m using is:
<s:datetimepicker name="delivery.date" label="Delivery Date"
displayFormat="yyyy-MM-dd"  />
and regarding the taglib declaration it is not declared in it hence it is
giving the exception:
No tag "datetimepicker" defined in tag library imported with prefix "s"..
Struts2 does not support datetimepicker?? or some other reason.. please
reply back soon..


Laurie Harper wrote:
dipti RealSoftInc wrote:
hello,

I am using struts 2.0.1 and want to use datetimepicker tag... but it is
giving an exception that it is not defined in the tld file i.e
struts-tag.tld please help me out...
What version of Struts are you using? What does your taglib declaration look like? And what does you tag usage look like?

L.

ObWhine: please don't post unrelated questions to an existing thread. Be

sure to start a new thread (with an appropriate subject) by sending a fresh message to the list, rather than using Reply To.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.12/1072 - Release Date: 15/10/2007 5:55 PM


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to