steev-dev wrote:
>
> I'm new in struts 2 in my form i use the Datetimepicker and autocompleter
> components in Struts2 dojo-plugin-2.2.1.1. my problem is when I execute my
> project in tomcat these components dosnt appear in the display. then i
> used firebug Under firefox to discover the error so i have error:
> djConfig.searchIds is undefined and
> Uncaught TypeError: Can not call method 'push' of undefined
> please help me?
>
>
yes i have included <sx:head/>
here is my code :
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sx:head />
</head>
<body>
<s:form action="addEffectif" method="post">
<sx:datetimepicker name="BirthDay" label="birthDay"
displayFormat="dd/MM/yyyy" />
<sx:datetimepicker name="delivery.date" label="Delivery Date"
displayFormat="yyyy-MM-dd" value="%{'2010-01-01'}"/>
<s:submit value="Add effectif" align="center"/>
</s:form>
</body>
</html>
--
View this message in context:
http://old.nabble.com/struts2-dojo-tp31123840p31124233.html
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
For additional commands, e-mail: dev-h...@struts.apache.org