relationship between xforms:bind and xforms:output

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

relationship between xforms:bind and xforms:output

Doug Young

Hi,

  Should xforms:bind have any effect on xforms:output  ?

I want to output a date I used xforms:bind to set the type to date but the xforms:output still displayed it as a string, is that what its meant to do ?

 

I then used xforms:input with a bind setting readonly=”true()” which works OK but the cursor still changes to a hand when put over the date value.

 

regards

   Doug

 

Doug Young

Software Engineer

 

Teleflex IT

1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

+44 (0) 1506 407107

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: relationship between xforms:bind and xforms:output

Erik Bruchez
Administrator
Doug,

xforms:output bound to an xs:date type is meant to format the date
according to the default format in properties.xml or to an explicit
format using xforms:output/@xxforms:format. This appears to work
correctly with the current XForms Controls example.

-Erik

Doug Young wrote:

> Hi,
>
>   Should xforms:bind have any effect on xforms:output  ?
>
> I want to output a date I used xforms:bind to set the type to date but
> the xforms:output still displayed it as a string, is that what its meant
> to do ?
>
>  
>
> I then used xforms:input with a bind setting readonly=”true()” which
> works OK but the cursor still changes to a hand when put over the date
> value.
>
>  
>
> regards
>
>    Doug
>
>  
>
> Doug Young
>
> Software Engineer
>
>  
>
> Teleflex IT
>
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>
> +44 (0) 1506 407107
>
>  
>
>
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: relationship between xforms:bind and xforms:output

Alessandro  Vernet
Administrator
In reply to this post by Doug Young
Doug,

On 8/14/06, Doug Young <[hidden email]> wrote:
>   Should xforms:bind have any effect on xforms:output  ?
> I want to output a date I used xforms:bind to set the type to date but the
> xforms:output still displayed it as a string, is that what its meant to do ?

Also make sure that you point to the node that has the xs:date type
with an <xforms:output ref="..."/>, not <xforms:output value="..."/>.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet