Weird behavior of groups based on date element

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

Weird behavior of groups based on date element

Jack Cox
Weird behavior of groups based on date element I’ve noticed a bit of weird behavior in version 3.6.0beta.200708161322 when dealing with date fields.

I have an element that is conditionally relevant and is of type xs:date.  If I make an xforms:group control and use the date element as the reference object for the group, every input control within the group becomes a date input, even if they refer to non-date elements.

Is this supposed to work this way, or is it a bug?

Thanks,

Jack

---------------------
Jack Cox
CapTech Ventures, Inc.
1118 W. Main St.
Richmond, VA 23220
804-545-8765


--
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: Weird behavior of groups based on date element

Erik Bruchez
Administrator
Jack,

Could you provide a code snippet or, better, an XHTML+XForms file that
shows this in the sandbox?

-Erik

Jack Cox wrote:

> I’ve noticed a bit of weird behavior in version 3.6.0beta.200708161322
> when dealing with date fields.
>
> I have an element that is conditionally relevant and is of type xs:date.
>  If I make an xforms:group control and use the date element as the
> reference object for the group, every input control within the group
> becomes a date input, even if they refer to non-date elements.
>
> Is this supposed to work this way, or is it a bug?
>
> Thanks,
>
> Jack
>
> ---------------------
> Jack Cox
> CapTech Ventures, Inc.
> 1118 W. Main St.
> Richmond, VA 23220
> 804-545-8765
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
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: Weird behavior of groups based on date element

Jack Cox
Erik,

Attached is an XHTML that shows the bad behavior when running in 3.6, but it
behaves correctly in the sandbox.

In 3.6 it misbehaves regardless of whether the type bound to the date field
is an xs:date or xforms:date.

jack



On 8/24/07 7:02 AM, "Erik Bruchez" <[hidden email]> wrote:

> Jack,
>
> Could you provide a code snippet or, better, an XHTML+XForms file that
> shows this in the sandbox?
>
> -Erik
>
> Jack Cox wrote:
>> I¹ve noticed a bit of weird behavior in version 3.6.0beta.200708161322
>> when dealing with date fields.
>>
>> I have an element that is conditionally relevant and is of type xs:date.
>>  If I make an xforms:group control and use the date element as the
>> reference object for the group, every input control within the group
>> becomes a date input, even if they refer to non-date elements.
>>
>> Is this supposed to work this way, or is it a bug?
>>
>> Thanks,
>>
>> Jack
>>
>> ---------------------
>> Jack Cox
>> CapTech Ventures, Inc.
>> 1118 W. Main St.
>> Richmond, VA 23220
>> 804-545-8765
>>
>
---------------------
Jack Cox
CapTech Ventures, Inc.
1118 W. Main St.
Richmond, VA 23220
804-545-8765



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

DateGroups.xhtml (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Weird behavior of groups based on date element

Alessandro Vernet
Administrator
Jack,

On 8/28/07, Jack Cox <[hidden email]> wrote:
> Attached is an XHTML that shows the bad behavior when running in 3.6, but it
> behaves correctly in the sandbox.
>
> In 3.6 it misbehaves regardless of whether the type bound to the date field
> is an xs:date or xforms:date.

This is a bug. Thank you for the test case. I will create a bug
shortly and post a follow-up here with the link. It looks like this is
a regression, so we'll do what we can to have this fixed asap.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
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: Weird behavior of groups based on date element

Alessandro Vernet
Administrator
On 9/11/07, Alessandro Vernet <[hidden email]> wrote:
> This is a bug. Thank you for the test case. I will create a bug
> shortly and post a follow-up here with the link. It looks like this is
> a regression, so we'll do what we can to have this fixed asap.

Here the corresponding bug:

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

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/



--
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: Weird behavior of groups based on date element

Erik Bruchez
Administrator
Alessandro Vernet wrote:
> On 9/11/07, Alessandro Vernet <[hidden email]> wrote:
>> This is a bug. Thank you for the test case. I will create a bug
>> shortly and post a follow-up here with the link. It looks like this is
>> a regression, so we'll do what we can to have this fixed asap.
>
> Here the corresponding bug:
>
> http://forge.objectweb.org/tracker/index.php?func=detail&aid=307556&group_id=168&atid=350207

This should now be fixed.

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



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