you need to add <d:head /> to your page.

musachy

On 10/31/07, Brian Relph <[EMAIL PROTECTED]> wrote:
> Hi, I was hoping to get some help with the date time picker in struts 2.1.
>
> I have added the dojo plugin to my project:
>
> <dependency>
>             <groupId>org.apache.struts</groupId>
>             <artifactId>struts2-dojo-plugin</artifactId>
>             <version>2.1.0-SNAPSHOT</version>
> </dependency>
>
> My struts.properties declares the 'simple' theme:
>
> struts.ui.theme=simple
>
> I added the dojo taglib to my jsp:
>
> <%@ taglib prefix="d" uri="/struts-dojo-tags" %>
>
> Finally, i put a datetimepicker on the page ( i have tried both with and
> without declaring the theme):
>
> <d:datetimepicker theme="ajax" />
>
> Looking at the tld, it appears there are no required attributes for the
> component, but I get "java.lang.NullPointerException at
> org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(
> Validator.java:1198)"
>
> Any tips?
>
> Thanks, Brian
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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

Reply via email to