Mutliple Text Areas

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

Mutliple Text Areas

bsteuhl
I had designed a form which used one textarea control and I passed the text to xml elements depending on what the user selected they wanted to enter.  This worked, but was alot of code and every now and then an error would occur where the textarea placeholder was not passing the data to the correct element.

Anyway, I was redesigning and figured just to put as many textarea controls as I needed instead of going through the work of trying to think 'outside the box' and use only one textarea control with media type = text/html.

However, there is a big issue that I have encountered.  No matter where I put the textarea control, in an fr:accordion, in a div, etc and with or without an fr:spell-checker - when I entered data and move to another textarea, the data does not appear in the xml when I look at the instance inspector.

Text area with mediatype text/html has been a thorn in my side with this product for several years now.  We need the ability to have numerous textarea controls or the ability for one textarea control to be used for several xml elements needing formatted text to be passed to PDF.

I am loosing support for the Orbeon product and this is a major reason.  Without text/html I am stuck with no easy way out.

Has anybody else experienced this?  I can not believe I am the only one using orbeon that needs several text/html textarea controls on a single form.

Any assistance or conformation at least that this is a bug would be greatly appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: Mutliple Text Areas

Alessandro  Vernet
Administrator
Brian,

This issue is related due to the RTE not firing focus and blur events
as other form fields. We had a discussion with Dav back in 2008
(http://tech.groups.yahoo.com/group/ydn-javascript/message/40867), and
based on his feedback I implemented a workaround back then. But now I
seems that this workaround doesn't work anymore. As things stand now,
the change to the RTE is only taken into account when you focus on
another non-RTE field (e.g. an input field). Yes, this is a bug, and I
created:

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

Since our discussion with Dav, I see the RTE acquired two new events:
editorWindowBlur and editorWindowFocus. I think this is exactly what
we need, so I'll try to use those, an we'll see where this goes.

Alex

On Thu, Nov 18, 2010 at 3:50 PM, bsteuhl <[hidden email]> wrote:

>
> I had designed a form which used one textarea control and I passed the text
> to xml elements depending on what the user selected they wanted to enter.
> This worked, but was alot of code and every now and then an error would
> occur where the textarea placeholder was not passing the data to the correct
> element.
>
> Anyway, I was redesigning and figured just to put as many textarea controls
> as I needed instead of going through the work of trying to think 'outside
> the box' and use only one textarea control with media type = text/html.
>
> However, there is a big issue that I have encountered.  No matter where I
> put the textarea control, in an fr:accordion, in a div, etc and with or
> without an fr:spell-checker - when I entered data and move to another
> textarea, the data does not appear in the xml when I look at the instance
> inspector.
>
> Text area with mediatype text/html has been a thorn in my side with this
> product for several years now.  We need the ability to have numerous
> textarea controls or the ability for one textarea control to be used for
> several xml elements needing formatted text to be passed to PDF.
>
> I am loosing support for the Orbeon product and this is a major reason.
> Without text/html I am stuck with no easy way out.
>
> Has anybody else experienced this?  I can not believe I am the only one
> using orbeon that needs several text/html textarea controls on a single
> form.
>
> Any assistance or conformation at least that this is a bug would be greatly
> appreciated.
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Mutliple-Text-Areas-tp3049781p3049781.html
> Sent from the Orbeon Forms (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, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet