input for xs:boolean returns funny results

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

input for xs:boolean returns funny results

Rick
I have run into an issue with the recent builds when selecting a boolean check box ('true'). The instance value results in 'RF3uMliN1+I=' rather than 'true'. However, unchecked properly returns a value of 'false'. I get this behavior when running the "boolean-input.xhtml" in the sandbox of the recent builds. In the stable releases it works fine.  

Is this a known bug or do I possibly have an environmental problem?

Are there more recent stable releases since December?

Thanks,
Rick
Reply | Threaded
Open this post in threaded view
|

Re: input for xs:boolean returns funny results

Erik Bruchez
Administrator
It is a feature that the value you see in the HTML is encrypted, but  
if it ends up in the instance then it is a bug.

Is this with xforms:select/xforms:select1, or with xforms:input bound  
to a boolean type? Do you have a simple example showing the issue?

-Erik

On Jul 8, 2008, at 6:34 PM, rschwart wrote:

>
> I have run into an issue with the recent builds when selecting a  
> boolean
> check box ('true'). The instance value results in 'RF3uMliN1+I='  
> rather than
> 'true'. However, unchecked properly returns a value of 'false'. I  
> get this
> behavior when running the "boolean-input.xhtml" in the sandbox of  
> the recent
> builds. In the stable releases it works fine.
>
> Is this a known bug or do I possibly have an environmental problem?
>
> Are there more recent stable releases since December?
>
> Thanks,
> Rick
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: input for xs:boolean returns funny results

Rick
The value is ending up in the instance. This occurs with a  xforms:input bound  
to a boolean. The simple example is the boolean-input.xhtml which is a form that is supplied as an example for the XForms sandbox. As I mentioned I used several of the most recent builds. I can attach that file but I believe you can obtain and run it from a recent nightly build.

Thanks

Erik Bruchez wrote
It is a feature that the value you see in the HTML is encrypted, but  
if it ends up in the instance then it is a bug.

Is this with xforms:select/xforms:select1, or with xforms:input bound  
to a boolean type? Do you have a simple example showing the issue?

-Erik

On Jul 8, 2008, at 6:34 PM, rschwart wrote:

>
> I have run into an issue with the recent builds when selecting a  
> boolean
> check box ('true'). The instance value results in 'RF3uMliN1+I='  
> rather than
> 'true'. However, unchecked properly returns a value of 'false'. I  
> get this
> behavior when running the "boolean-input.xhtml" in the sandbox of  
> the recent
> builds. In the stable releases it works fine.
>
> Is this a known bug or do I possibly have an environmental problem?
>
> Are there more recent stable releases since December?
>
> Thanks,
> Rick

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



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: input for xs:boolean returns funny results

Erik Bruchez
Administrator
This is a regression. I entered a bug:

   http://tinyurl.com/6mn3df

In the meanwhile, set this property in properties.xml:

   <property as="xs:boolean" name="oxf.xforms.encrypt-item-values"  
value="false"/>

-Erik

On Jul 9, 2008, at 9:32 AM, rschwart wrote:

>
> The value is ending up in the instance. This occurs with a  
> xforms:input
> bound
> to a boolean. The simple example is the boolean-input.xhtml which is  
> a form
> that is supplied as an example for the XForms sandbox. As I  
> mentioned I used
> several of the most recent builds. I can attach that file but I  
> believe you
> can obtain and run it from a recent nightly build.
>
> Thanks
>
>
> Erik Bruchez wrote:
>>
>> It is a feature that the value you see in the HTML is encrypted, but
>> if it ends up in the instance then it is a bug.
>>
>> Is this with xforms:select/xforms:select1, or with xforms:input bound
>> to a boolean type? Do you have a simple example showing the issue?
>>
>> -Erik
>>
>> On Jul 8, 2008, at 6:34 PM, rschwart wrote:
>>
>>>
>>> I have run into an issue with the recent builds when selecting a
>>> boolean
>>> check box ('true'). The instance value results in 'RF3uMliN1+I='
>>> rather than
>>> 'true'. However, unchecked properly returns a value of 'false'. I
>>> get this
>>> behavior when running the "boolean-input.xhtml" in the sandbox of
>>> the recent
>>> builds. In the stable releases it works fine.
>>>
>>> Is this a known bug or do I possibly have an environmental problem?
>>>
>>> Are there more recent stable releases since December?
>>>
>>> Thanks,
>>> Rick
>>
>> --
>> 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
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/input-for-xs%3Aboolean-returns-funny-results-tp18352720p18365528.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: input for xs:boolean returns funny results

Rick
Works like a charm. Many thanks!

Rick

Erik Bruchez wrote
This is a regression. I entered a bug:

   http://tinyurl.com/6mn3df

In the meanwhile, set this property in properties.xml:

   <property as="xs:boolean" name="oxf.xforms.encrypt-item-values"  
value="false"/>

-Erik

On Jul 9, 2008, at 9:32 AM, rschwart wrote:

>
> The value is ending up in the instance. This occurs with a  
> xforms:input
> bound
> to a boolean. The simple example is the boolean-input.xhtml which is  
> a form
> that is supplied as an example for the XForms sandbox. As I  
> mentioned I used
> several of the most recent builds. I can attach that file but I  
> believe you
> can obtain and run it from a recent nightly build.
>
> Thanks
>
>
> Erik Bruchez wrote:
>>
>> It is a feature that the value you see in the HTML is encrypted, but
>> if it ends up in the instance then it is a bug.
>>
>> Is this with xforms:select/xforms:select1, or with xforms:input bound
>> to a boolean type? Do you have a simple example showing the issue?
>>
>> -Erik
>>
>> On Jul 8, 2008, at 6:34 PM, rschwart wrote:
>>
>>>
>>> I have run into an issue with the recent builds when selecting a
>>> boolean
>>> check box ('true'). The instance value results in 'RF3uMliN1+I='
>>> rather than
>>> 'true'. However, unchecked properly returns a value of 'false'. I
>>> get this
>>> behavior when running the "boolean-input.xhtml" in the sandbox of
>>> the recent
>>> builds. In the stable releases it works fine.
>>>
>>> Is this a known bug or do I possibly have an environmental problem?
>>>
>>> Are there more recent stable releases since December?
>>>
>>> Thanks,
>>> Rick
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the ops-users@ow2.org  
>> mailing
>> list.
>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>> For general help: mailto:sympa@ow2.org?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/input-for-xs%3Aboolean-returns-funny-results-tp18352720p18365528.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

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



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: input for xs:boolean returns funny results

Erik Bruchez
Administrator
And this should be fixed now anyway.

-Erik

On Jul 10, 2008, at 11:35 AM, rschwart wrote:

>
> Works like a charm. Many thanks!
>
> Rick
>
>
> Erik Bruchez wrote:
>>
>> This is a regression. I entered a bug:
>>
>>   http://tinyurl.com/6mn3df
>>
>> In the meanwhile, set this property in properties.xml:
>>
>>   <property as="xs:boolean" name="oxf.xforms.encrypt-item-values"
>> value="false"/>
>>
>> -Erik
>>
>> On Jul 9, 2008, at 9:32 AM, rschwart wrote:
>>
>>>
>>> The value is ending up in the instance. This occurs with a
>>> xforms:input
>>> bound
>>> to a boolean. The simple example is the boolean-input.xhtml which is
>>> a form
>>> that is supplied as an example for the XForms sandbox. As I
>>> mentioned I used
>>> several of the most recent builds. I can attach that file but I
>>> believe you
>>> can obtain and run it from a recent nightly build.
>>>
>>> Thanks
>>>
>>>
>>> Erik Bruchez wrote:
>>>>
>>>> It is a feature that the value you see in the HTML is encrypted,  
>>>> but
>>>> if it ends up in the instance then it is a bug.
>>>>
>>>> Is this with xforms:select/xforms:select1, or with xforms:input  
>>>> bound
>>>> to a boolean type? Do you have a simple example showing the issue?
>>>>
>>>> -Erik
>>>>
>>>> On Jul 8, 2008, at 6:34 PM, rschwart wrote:
>>>>
>>>>>
>>>>> I have run into an issue with the recent builds when selecting a
>>>>> boolean
>>>>> check box ('true'). The instance value results in 'RF3uMliN1+I='
>>>>> rather than
>>>>> 'true'. However, unchecked properly returns a value of 'false'. I
>>>>> get this
>>>>> behavior when running the "boolean-input.xhtml" in the sandbox of
>>>>> the recent
>>>>> builds. In the stable releases it works fine.
>>>>>
>>>>> Is this a known bug or do I possibly have an environmental  
>>>>> problem?
>>>>>
>>>>> Are there more recent stable releases since December?
>>>>>
>>>>> Thanks,
>>>>> Rick
>>>>
>>>> --
>>>> 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
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/input-for-xs%3Aboolean-returns-funny-results-tp18352720p18365528.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>> Nabble.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
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> 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
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/input-for-xs%3Aboolean-returns-funny-results-tp18352720p18389135.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
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
OW2 mailing lists service home page: http://www.ow2.org/wws