Re: [Rife-users] Re: RIFE form:textarea character encoding

2007-05-19 Thread Eddy Young


On 19 May 2007, at 21:26, Eskil Lauritsen wrote:


Hi, Geert! It worked perfectly! Outstanding support on a saturday
night. Thank you. :)


Welcome to the RIFE community :-)

Eddy
___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


Re: [Rife-users] Re: RIFE form:textarea character encoding

2007-05-19 Thread Eskil Lauritsen

Hi, Geert! It worked perfectly! Outstanding support on a saturday
night. Thank you. :)

Sincerely,
Eskil Lauritsen

On 5/19/07, Geert Bevin <[EMAIL PROTECTED]> wrote:

If you're using beans and constraints, this should do the trick
(setting it to false):
http://rifers.org/docs/api/com/uwyn/rife/site/
ConstrainedProperty.html#displayedRaw(boolean)

On 19 May 2007, at 21:49, Eskil Lauritsen wrote:

> Hi, Eddy
>
> Yes, I just found this out as I tried changing rich text editor.
>
> This is not good for our use and parsing would be a hassle. Is there
> any way of easily turning off the character encoding especially for <
> and > for just this one textarea?
>
> Sincerely,
> Eskil Lauritsen
>
> On 5/19/07, Eddy Young <[EMAIL PROTECTED]> wrote:
>> On 19 May 2007, at 20:29, Eskil Lauritsen wrote:
>>
>> > Just a little addendum: < and > are being translated to < >
>> > characters which totally breaks html code sent via the form.
>>
>> RIFE character-encodes input, which is what 99% of use-cases expect,
>> IMO.
>>
>> Try converting the characters back before they are sent to TinyMCE.

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


Re: [Rife-users] Re: RIFE form:textarea character encoding

2007-05-19 Thread Geert Bevin
If you're using beans and constraints, this should do the trick  
(setting it to false):
http://rifers.org/docs/api/com/uwyn/rife/site/ 
ConstrainedProperty.html#displayedRaw(boolean)


On 19 May 2007, at 21:49, Eskil Lauritsen wrote:


Hi, Eddy

Yes, I just found this out as I tried changing rich text editor.

This is not good for our use and parsing would be a hassle. Is there
any way of easily turning off the character encoding especially for <
and > for just this one textarea?

Sincerely,
Eskil Lauritsen

On 5/19/07, Eddy Young <[EMAIL PROTECTED]> wrote:

On 19 May 2007, at 20:29, Eskil Lauritsen wrote:

> Just a little addendum: < and > are being translated to < >
> characters which totally breaks html code sent via the form.

RIFE character-encodes input, which is what 99% of use-cases expect,
IMO.

Try converting the characters back before they are sent to TinyMCE.


--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


Re: [Rife-users] Re: RIFE form:textarea character encoding

2007-05-19 Thread Eskil Lauritsen

Hi, Eddy

Yes, I just found this out as I tried changing rich text editor.

This is not good for our use and parsing would be a hassle. Is there
any way of easily turning off the character encoding especially for <
and > for just this one textarea?

Sincerely,
Eskil Lauritsen

On 5/19/07, Eddy Young <[EMAIL PROTECTED]> wrote:

On 19 May 2007, at 20:29, Eskil Lauritsen wrote:

> Just a little addendum: < and > are being translated to < >
> characters which totally breaks html code sent via the form.

RIFE character-encodes input, which is what 99% of use-cases expect,
IMO.

Try converting the characters back before they are sent to TinyMCE.

Eddy

___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


Re: [Rife-users] Re: RIFE form:textarea character encoding

2007-05-19 Thread Eddy Young

On 19 May 2007, at 20:29, Eskil Lauritsen wrote:


Just a little addendum: < and > are being translated to < >
characters which totally breaks html code sent via the form.


RIFE character-encodes input, which is what 99% of use-cases expect,  
IMO.


Try converting the characters back before they are sent to TinyMCE.

Eddy

___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users


[Rife-users] Re: RIFE form:textarea character encoding

2007-05-19 Thread Eskil Lauritsen

Just a little addendum: < and > are being translated to < >
characters which totally breaks html code sent via the form.

I still suspect TinyMCE of doing this, but a confirmation that 
Hi, we have a rich text editor javascript (TinyMCE -
http://tinymce.moxiecode.com/) in our application which we attach to
every textarea (we  will only have 1), and we're having big problems
with the encoding of the characters.

Does RIFE do anything special with the input it gets? We are using
autogenerated forms based on beans and the RIFE form tags in our
templates.

We suspect it is a configuration problem of TinyMCE, but we want to be
sure RIFE does not interfere in any unwelcome way. :)

btw, we are also using advanced web continuations


___
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users