problem with datePicker control

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

problem with datePicker control

ilango_g
I tested the following control in the Orbeon sandbox: This code is as follows:

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns:ev="http://www.w3.org/2001/xml-events"
    xmlns:d="http://www.mydata.com/xmlns/data">
    <head>
        <title/>
        <style type="text/css"><![CDATA[ @namespace xf url('http://www.w3.org/2002/xforms'); #hiddenInput .xf-value {display:none;} ]]></style>    </head>
    <body>
        <xf:model>
            <xf:instance>
                <d:data date="2006-06-01"/>
            </xf:instance>
            <xf:bind nodeset="@date" type="xs:date"/>
        </xf:model>
        <xf:input ref="@date" incremental="true">
            <xf:label>Date (Standard Format): </xf:label>
        </xf:input>
        <br/>
        <xf:input ref="@date" incremental="true" id="hiddenInput">
            <xf:label>Date (Specialized Format): </xf:label>
        </xf:input>
        <xf:output
            value="concat(substring(@date,6,2),'/',substring(@date,9,2),'/',substring(@date,1,4))"
        />
    </body>
</html>
-------------------

The calendar will not display at all, but it apparently in Firefox. Any suggestions on what I can do with Orbeon as far as this code is concerned?