special character in the id of a field upload

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

special character in the id of a field upload

ricetrac

 

Hello,
In my application I generate more upload fields via an <xforms:repeat>.
The problem is that the property name generated for each upload field contains a special character :
example: xf-10 · 1, xf-10 · 2 (the special character is between 10 and 1, and 10 and 2)
I am doing a benchmark of my application, and these special characters are not well understood by the benchmark application.
Y is there a way to change the name generated by the repeat?

 

Thank You.

 

Julien.

 

 


Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

--
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: special character in the id of a field upload

ricetrac

Hello,

 

I found in xforms.js the constant : XFORMS_SEPARATOR_1 = "\xB7";

I change the value of this constant, but it doesn’t change the character separator in the name of the upload fied.

Have you an idea ?

 

Thank You.

 

Julien.

 

De : Bittard, Julien [mailto:[hidden email]]
Envoyé : jeudi 3 novembre 2011 15:57
À : [hidden email]
Objet : [ops-users] special character in the id of a field upload

 

 

Hello,
In my application I generate more upload fields via an <xforms:repeat>.
The problem is that the property name generated for each upload field contains a special character :
example: xf-10 · 1, xf-10 · 2 (the special character is between 10 and 1, and 10 and 2)
I am doing a benchmark of my application, and these special characters are not well understood by the benchmark application.
Y is there a way to change the name generated by the repeat?

 

Thank You.

 

Julien.

 

 


Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

--
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: special character in the id of a field upload

ricetrac

I found the XformsConstants class with the constant REPEAT_HIERARCHY_SEPARATOR_1 = '·';

can you confirm that it is in this class need to change the separator?

 

Thank You.

 

Julien

 

De : Bittard, Julien [mailto:[hidden email]]
Envoyé : jeudi 3 novembre 2011 17:29
À : [hidden email]
Objet : [ops-users] RE: special character in the id of a field upload

 

Hello,

 

I found in xforms.js the constant : XFORMS_SEPARATOR_1 = "\xB7";

I change the value of this constant, but it doesn’t change the character separator in the name of the upload fied.

Have you an idea ?

 

Thank You.

 

Julien.

 

De : Bittard, Julien [[hidden email]]
Envoyé : jeudi 3 novembre 2011 15:57
À : [hidden email]
Objet : [ops-users] special character in the id of a field upload

 

 

Hello,
In my application I generate more upload fields via an <xforms:repeat>.
The problem is that the property name generated for each upload field contains a special character :
example: xf-10 · 1, xf-10 · 2 (the special character is between 10 and 1, and 10 and 2)
I am doing a benchmark of my application, and these special characters are not well understood by the benchmark application.
Y is there a way to change the name generated by the repeat?

 

Thank You.

 

Julien.

 

 


Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

--
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: special character in the id of a field upload

Erik Bruchez
Administrator
Julien,

That's right: I think there is one constant in JavaScript, and one in Java.

Feel free to change this, but be careful to use a character that
doesn't appear otherwise in identifiers. In particular, don't use the
dash '-' as that is required too.

BTW HTML 5 is relaxing id a lot, see for example:

http://mathiasbynens.be/notes/html5-id-class

-Erik

On Thu, Nov 3, 2011 at 10:52 AM, Bittard, Julien
<[hidden email]> wrote:

> I found the XformsConstants class with the constant
> REPEAT_HIERARCHY_SEPARATOR_1 = '·';
>
> can you confirm that it is in this class need to change the separator?
>
>
>
> Thank You.
>
>
>
> Julien
>
>
>
> De : Bittard, Julien [mailto:[hidden email]]
> Envoyé : jeudi 3 novembre 2011 17:29
> À : [hidden email]
> Objet : [ops-users] RE: special character in the id of a field upload
>
>
>
> Hello,
>
>
>
> I found in xforms.js the constant : XFORMS_SEPARATOR_1 = "\xB7";
>
> I change the value of this constant, but it doesn’t change the character
> separator in the name of the upload fied.
>
> Have you an idea ?
>
>
>
> Thank You.
>
>
>
> Julien.
>
>
>
> De : Bittard, Julien [mailto:[hidden email]]
> Envoyé : jeudi 3 novembre 2011 15:57
> À : [hidden email]
> Objet : [ops-users] special character in the id of a field upload
>
>
>
>
>
> Hello,
> In my application I generate more upload fields via an <xforms:repeat>.
> The problem is that the property name generated for each upload field
> contains a special character :
> example: xf-10 · 1, xf-10 · 2 (the special character is between 10 and 1,
> and 10 and 2)
> I am doing a benchmark of my application, and these special characters are
> not well understood by the benchmark application.
> Y is there a way to change the name generated by the repeat?
>
>
>
> Thank You.
>
>
>
> Julien.
>
>
>
>
>
> Think green - keep it on the screen. This e-mail and any attachment is for
> authorised use by the intended recipient(s) only. It may contain proprietary
> material, confidential information and/or be subject to legal privilege. It
> should not be copied, disclosed to, retained or used by, any other party. If
> you are not an intended recipient then please promptly delete this e-mail
> and any attachment and all copies and inform the sender. Thank you.
>
> Think green - keep it on the screen. This e-mail and any attachment is for
> authorised use by the intended recipient(s) only. It may contain proprietary
> material, confidential information and/or be subject to legal privilege. It
> should not be copied, disclosed to, retained or used by, any other party. If
> you are not an intended recipient then please promptly delete this e-mail
> and any attachment and all copies and inform the sender. Thank you.
>
> Think green - keep it on the screen. This e-mail and any attachment is for
> authorised use by the intended recipient(s) only. It may contain proprietary
> material, confidential information and/or be subject to legal privilege. It
> should not be copied, disclosed to, retained or used by, any other party. If
> you are not an intended recipient then please promptly delete this e-mail
> and any attachment and all copies and inform the sender. Thank you.
>
> --
> 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
>
>


--
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: RE: special character in the id of a field upload

ricetrac
Hello,

Thank you for your response.
Finally, I did not have to compile Orbeon :)
 The benchmark software corrected the management of special characters.

Thank You.

Julien

-----Message d'origine-----
De : [hidden email] [mailto:[hidden email]] De la part de Erik Bruchez
Envoyé : mardi 8 novembre 2011 06:36
À : [hidden email]
Objet : [ops-users] Re: RE: special character in the id of a field upload

Julien,

That's right: I think there is one constant in JavaScript, and one in Java.

Feel free to change this, but be careful to use a character that doesn't appear otherwise in identifiers. In particular, don't use the dash '-' as that is required too.

BTW HTML 5 is relaxing id a lot, see for example:

http://mathiasbynens.be/notes/html5-id-class

-Erik

On Thu, Nov 3, 2011 at 10:52 AM, Bittard, Julien <[hidden email]> wrote:

> I found the XformsConstants class with the constant
> REPEAT_HIERARCHY_SEPARATOR_1 = '·';
>
> can you confirm that it is in this class need to change the separator?
>
>
>
> Thank You.
>
>
>
> Julien
>
>
>
> De : Bittard, Julien [mailto:[hidden email]]
> Envoyé : jeudi 3 novembre 2011 17:29
> À : [hidden email]
> Objet : [ops-users] RE: special character in the id of a field upload
>
>
>
> Hello,
>
>
>
> I found in xforms.js the constant : XFORMS_SEPARATOR_1 = "\xB7";
>
> I change the value of this constant, but it doesn't change the
> character separator in the name of the upload fied.
>
> Have you an idea ?
>
>
>
> Thank You.
>
>
>
> Julien.
>
>
>
> De : Bittard, Julien [mailto:[hidden email]]
> Envoyé : jeudi 3 novembre 2011 15:57
> À : [hidden email]
> Objet : [ops-users] special character in the id of a field upload
>
>
>
>
>
> Hello,
> In my application I generate more upload fields via an <xforms:repeat>.
> The problem is that the property name generated for each upload field
> contains a special character :
> example: xf-10 · 1, xf-10 · 2 (the special character is between 10 and
> 1, and 10 and 2) I am doing a benchmark of my application, and these
> special characters are not well understood by the benchmark
> application.
> Y is there a way to change the name generated by the repeat?
>
>
>
> Thank You.
>
>
>
> Julien.
>
>
>
>
>
> Think green - keep it on the screen. This e-mail and any attachment is
> for authorised use by the intended recipient(s) only. It may contain
> proprietary material, confidential information and/or be subject to
> legal privilege. It should not be copied, disclosed to, retained or
> used by, any other party. If you are not an intended recipient then
> please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
> Think green - keep it on the screen. This e-mail and any attachment is
> for authorised use by the intended recipient(s) only. It may contain
> proprietary material, confidential information and/or be subject to
> legal privilege. It should not be copied, disclosed to, retained or
> used by, any other party. If you are not an intended recipient then
> please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
> Think green - keep it on the screen. This e-mail and any attachment is
> for authorised use by the intended recipient(s) only. It may contain
> proprietary material, confidential information and/or be subject to
> legal privilege. It should not be copied, disclosed to, retained or
> used by, any other party. If you are not an intended recipient then
> please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
> --
> 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
>
>
Think green - keep it on the screen.

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.




--
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: Re: RE: special character in the id of a field upload

Erik Bruchez
Administrator
Julien,

Good to hear! That's probably a better solution.

-Erik

On Mon, Nov 14, 2011 at 2:14 PM, Bittard, Julien
<[hidden email]> wrote:

> Hello,
>
> Thank you for your response.
> Finally, I did not have to compile Orbeon :)
>  The benchmark software corrected the management of special characters.
>
> Thank You.
>
> Julien
>
> -----Message d'origine-----
> De : [hidden email] [mailto:[hidden email]] De la part de Erik Bruchez
> Envoyé : mardi 8 novembre 2011 06:36
> À : [hidden email]
> Objet : [ops-users] Re: RE: special character in the id of a field upload
>
> Julien,
>
> That's right: I think there is one constant in JavaScript, and one in Java.
>
> Feel free to change this, but be careful to use a character that doesn't appear otherwise in identifiers. In particular, don't use the dash '-' as that is required too.
>
> BTW HTML 5 is relaxing id a lot, see for example:
>
> http://mathiasbynens.be/notes/html5-id-class
>
> -Erik
>
> On Thu, Nov 3, 2011 at 10:52 AM, Bittard, Julien <[hidden email]> wrote:
>> I found the XformsConstants class with the constant
>> REPEAT_HIERARCHY_SEPARATOR_1 = '·';
>>
>> can you confirm that it is in this class need to change the separator?
>>
>>
>>
>> Thank You.
>>
>>
>>
>> Julien
>>
>>
>>
>> De : Bittard, Julien [mailto:[hidden email]]
>> Envoyé : jeudi 3 novembre 2011 17:29
>> À : [hidden email]
>> Objet : [ops-users] RE: special character in the id of a field upload
>>
>>
>>
>> Hello,
>>
>>
>>
>> I found in xforms.js the constant : XFORMS_SEPARATOR_1 = "\xB7";
>>
>> I change the value of this constant, but it doesn't change the
>> character separator in the name of the upload fied.
>>
>> Have you an idea ?
>>
>>
>>
>> Thank You.
>>
>>
>>
>> Julien.
>>
>>
>>
>> De : Bittard, Julien [mailto:[hidden email]]
>> Envoyé : jeudi 3 novembre 2011 15:57
>> À : [hidden email]
>> Objet : [ops-users] special character in the id of a field upload
>>
>>
>>
>>
>>
>> Hello,
>> In my application I generate more upload fields via an <xforms:repeat>.
>> The problem is that the property name generated for each upload field
>> contains a special character :
>> example: xf-10 · 1, xf-10 · 2 (the special character is between 10 and
>> 1, and 10 and 2) I am doing a benchmark of my application, and these
>> special characters are not well understood by the benchmark
>> application.
>> Y is there a way to change the name generated by the repeat?
>>
>>
>>
>> Thank You.
>>
>>
>>
>> Julien.
>>
>>
>>
>>
>>
>> Think green - keep it on the screen. This e-mail and any attachment is
>> for authorised use by the intended recipient(s) only. It may contain
>> proprietary material, confidential information and/or be subject to
>> legal privilege. It should not be copied, disclosed to, retained or
>> used by, any other party. If you are not an intended recipient then
>> please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>>
>> Think green - keep it on the screen. This e-mail and any attachment is
>> for authorised use by the intended recipient(s) only. It may contain
>> proprietary material, confidential information and/or be subject to
>> legal privilege. It should not be copied, disclosed to, retained or
>> used by, any other party. If you are not an intended recipient then
>> please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>>
>> Think green - keep it on the screen. This e-mail and any attachment is
>> for authorised use by the intended recipient(s) only. It may contain
>> proprietary material, confidential information and/or be subject to
>> legal privilege. It should not be copied, disclosed to, retained or
>> used by, any other party. If you are not an intended recipient then
>> please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>>
>> --
>> 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
>>
>>
>
> Think green - keep it on the screen.
>
> This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
>
>
>
> --
> 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
>
>


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