Dear all,

Recently I am trying to use dojo compnent sx:datetimepicker in struts
2.1.8.1 with dojo plugin.

I found even the render of field box cannot be obtained but the label
appears.

Actually I have done the following in my JSP file.

1. Include tag lib:

<%...@taglib prefix="sx" uri="/struts-dojo-tags"%>

2. Add sx:head:

<head>
<sx:head />
</head>

3. Component:

<sx:datetimepicker name="emp.birthday" key="birthday" />

4. Get library from maven:

        <dependency>
            <groupId>org.apache.struts</groupId>
            <artifactId>struts2-core</artifactId>
            <version>2.1.8.1</version>
        </dependency>
        <dependency>
                <groupId>org.apache.struts</groupId>
                <artifactId>struts2-dojo-plugin</artifactId>
                <version>2.1.8.1</version>
        </dependency>

So I wonder why this happens.

Could anyone give me a hand?

Thanks!

-- 
View this message in context: 
http://old.nabble.com/sx%3Adatetimepicker-tp29927463p29927463.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to