I am trying to use s:datetimepicker.
I have the <s:head theme="ajax" /> in my <head> section.
I have <s:datetimepicker> like this:
   <s:datetimepicker name="campaign.startDate" /> to <s:datetimepicker
name="campaign.endDate" />

The html renders like this:
<link rel="stylesheet" href="/struts/xhtml/styles.css" type="text/css"/>
<script type="text/javascript">
    // Dojo configuration
    djConfig = {
        baseRelativePath: "/struts/dojo",
        isDebug: false,
        bindEncoding: "UTF-8",
        debugAtAllCosts: true // not needed, but allows the Venkman debugger
to work with the includes
    };
</script>
<script type="text/javascript"
        src="/struts/dojo/dojo.js"></script>
<script type="text/javascript"
        src="/struts/simple/dojoRequire.js"></script>
<script type="text/javascript"
        src="/struts/ajax/dojoRequire.js"></script>
<script type="text/javascript"
        src="/struts/CommonFunctions.js"></script>

.....

 script type="text/javascript">
    dojo.require("dojo.widget.DatePicker");
</script>
<div
        dojoType="dropdowndatepicker"   
id="saveCampaign_campaign_startDate"    name="dojo.campaign.startDate"   
inputName="campaign.startDate"  saveFormat="rfc"></div>

Note that the above div tag is empty. Seems like there should be something
in it.
The datetimepicker doesn't show up on the page.

Am I using the tag wrong? Or might my environment be missing something?
Many thanks for any help!

-- 
View this message in context: 
http://www.nabble.com/datetimepicker-doesn%27t-show-up-tp16737339p16737339.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to