How do you delete an optional date?

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

How do you delete an optional date?

Eric van der Vlist
Just wondering...

How do you delete an optional date with the calendar widget once you've
entered one?

Thanks,

Eric
--
GPG-PGP: 2A528005
Don't you think all these XML schema languages should work together?
                                                         http://dsdl.org
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


--
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

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: How do you delete an optional date?

Ryan Puddephatt
Eric,
        I haven't found a way to do this, so I use grouping

<xforms:group ref="date[not(. = '')]">
  <xforms:trigger>
    <xforms:label>Clear</xforms:label>
    <xforms:setvalue ref="."/>
  </xforms:trigger>
</xforms:group>

Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Eric van der Vlist [mailto:[hidden email]]
>Sent: 10 November 2006 10:46
>To: [hidden email]
>Subject: [ops-users] How do you delete an optional date?
>
>Just wondering...
>
>How do you delete an optional date with the calendar widget
>once you've entered one?
>
>Thanks,
>
>Eric
>--
>GPG-PGP: 2A528005
>Don't you think all these XML schema languages should work together?
>                                                        
>http://dsdl.org
>---------------------------------------------------------------
>---------
>Eric van der Vlist       http://xmlfr.org           
>http://dyomedea.com
>(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
>(W3C) XML Schema ISBN:0-596-00252-1
>http://oreilly.com/catalog/xmlschema
>---------------------------------------------------------------
>---------
>



--
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: How do you delete an optional date?

Eric van der Vlist
Le vendredi 10 novembre 2006 à 10:50 +0000, Ryan Puddephatt a écrit :
> Eric,
> I haven't found a way to do this, so I use grouping
>
> <xforms:group ref="date[not(. = '')]">
>   <xforms:trigger>
>     <xforms:label>Clear</xforms:label>
>     <xforms:setvalue ref="."/>
>   </xforms:trigger>
> </xforms:group>

Hmmm...

Shouldn't XForms implementations provide a way to do so when they find a
date declared with required="false()" without you having to bother for
that?

Looks like a bug to me!

Eric

--
GPG-PGP: 2A528005
Freelance consulting and training.
                                            http://dyomedea.com/english/
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(ISO) RELAX NG   ISBN:0-596-00421-4 http://oreilly.com/catalog/relax
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


--
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

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How do you delete an optional date?

Erik Bruchez
Administrator
Eric van der Vlist wrote:

> Le vendredi 10 novembre 2006 à 10:50 +0000, Ryan Puddephatt a écrit :
>> Eric,
>> I haven't found a way to do this, so I use grouping
>>
>> <xforms:group ref="date[not(. = '')]">
>>   <xforms:trigger>
>>     <xforms:label>Clear</xforms:label>
>>     <xforms:setvalue ref="."/>
>>   </xforms:trigger>
>> </xforms:group>
>
> Hmmm...
>
> Shouldn't XForms implementations provide a way to do so when they find a
> date declared with required="false()" without you having to bother for
> that?
>
> Looks like a bug to me!
I agree, that should be integrated in the date control.

-Erik

--
Orbeon Forms - 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: How do you delete an optional date?

Alessandro  Vernet
Administrator
On 11/10/06, Erik Bruchez <[hidden email]> wrote:
> > Looks like a bug to me!
> I agree, that should be integrated in the date control.

I don't think we were already tracking this. Here is a new bug for it:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=306385&group_id=168&atid=350207

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