HTML textarea don't appear if using groups

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

HTML textarea don't appear if using groups

Raitis
Hi,
i noticed bug when using html textarea in groups, that change relevenat state.
Also attached example.

In example I added input field which makes div appear and disappear, "true - shows, false - hide".
But when change the state, the div and text appears in dialog, but textarea still is disabled.

In orbeon previous versions workaround was adding:

.textarea-doc .yui-editor-container {
   visibility: visible !important;
   left: 0px !important;
   top: 0px !important;
   position: relative !important;
}

to css, but in latest versions the control appears but stay disabled.

Raitis


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

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

Re: HTML textarea don't appear if using groups

Raitis
Hmmm... can anybody confirm this bug and maybe have some solution?

R.

On Thu, Jan 6, 2011 at 3:00 PM, Raitis <[hidden email]> wrote:
Hi,
i noticed bug when using html textarea in groups, that change relevenat state.
Also attached example.

In example I added input field which makes div appear and disappear, "true - shows, false - hide".
But when change the state, the div and text appears in dialog, but textarea still is disabled.

In orbeon previous versions workaround was adding:

.textarea-doc .yui-editor-container {
   visibility: visible !important;
   left: 0px !important;
   top: 0px !important;
   position: relative !important;
}

to css, but in latest versions the control appears but stay disabled.

Raitis



--
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: HTML textarea don't appear if using groups

Binesh Gummadi
Looks like a bug to me. Initial state of RTE is non-relevant which is why you see xforms-disabled class on the element. When you make the control relevant by changing the text box value to true, instance is updated but DOM is not updated. When you bring up the dialog, since DOM thinks it is non-relevant it is placing the control outside the view area(top -1000px and left -1000px). Try changing that with your css.

Change your css to

            /* This doesn't work as of 2009-03-26 */
            #myDialog .xforms-mediatype-text-html { 
                width: 100%;
                left:0px;
                top:0px;
                position: relative;
            }

Please let us know if it works. Thanks.

Binesh Gummadi
Senior Software Engineer
rivetlogic
Voice +1.703.879.5740
Skype binesh.gummadi_rivetlogic
GTalk [hidden email]
Calendarbinesh gummadi's calendar



On Mon, Jan 17, 2011 at 11:40 AM, Raitis <[hidden email]> wrote:
Hmmm... can anybody confirm this bug and maybe have some solution?

R.


On Thu, Jan 6, 2011 at 3:00 PM, Raitis <[hidden email]> wrote:
Hi,
i noticed bug when using html textarea in groups, that change relevenat state.
Also attached example.

In example I added input field which makes div appear and disappear, "true - shows, false - hide".
But when change the state, the div and text appears in dialog, but textarea still is disabled.

In orbeon previous versions workaround was adding:

.textarea-doc .yui-editor-container {
   visibility: visible !important;
   left: 0px !important;
   top: 0px !important;
   position: relative !important;
}

to css, but in latest versions the control appears but stay disabled.

Raitis



--
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: HTML textarea don't appear if using groups

Alessandro  Vernet
Administrator
In reply to this post by Raitis
Raitis,

I don't see or don't understand the issue you described. I am running
your example:

1. Click on "Show dialog" => the text area doesn't show.
2. Click on "Hide dialog", type "true" in the input field, click on
"Show dialog" => the text area shows and is enabled in the dialog.

Do I need to follow other steps to reproduce this?

Alex

On Thu, Jan 6, 2011 at 5:00 AM, Raitis <[hidden email]> wrote:

> Hi,
> i noticed bug when using html textarea in groups, that change relevenat
> state.
> Also attached example.
>
> In example I added input field which makes div appear and disappear, "true -
> shows, false - hide".
> But when change the state, the div and text appears in dialog, but textarea
> still is disabled.
>
> In orbeon previous versions workaround was adding:
>
>> .textarea-doc .yui-editor-container {
>>    visibility: visible !important;
>>    left: 0px !important;
>>    top: 0px !important;
>>    position: relative !important;
>> }
>
> to css, but in latest versions the control appears but stay disabled.
>
> Raitis
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: HTML textarea don't appear if using groups

Binesh Gummadi
Alex,

I was able to reproduce it in 3.8. No additional steps are required other than what you did. Maybe it is fixed now.

Binesh Gummadi
Senior Software Engineer
rivetlogic
Voice +1.703.879.5740
Skype binesh.gummadi_rivetlogic
GTalk [hidden email]
Calendarbinesh gummadi's calendar



On Wed, Jan 19, 2011 at 8:51 PM, Alessandro Vernet <[hidden email]> wrote:
Raitis,

I don't see or don't understand the issue you described. I am running
your example:

1. Click on "Show dialog" => the text area doesn't show.
2. Click on "Hide dialog", type "true" in the input field, click on
"Show dialog" => the text area shows and is enabled in the dialog.

Do I need to follow other steps to reproduce this?

Alex

On Thu, Jan 6, 2011 at 5:00 AM, Raitis <[hidden email]> wrote:
> Hi,
> i noticed bug when using html textarea in groups, that change relevenat
> state.
> Also attached example.
>
> In example I added input field which makes div appear and disappear, "true -
> shows, false - hide".
> But when change the state, the div and text appears in dialog, but textarea
> still is disabled.
>
> In orbeon previous versions workaround was adding:
>
>> .textarea-doc .yui-editor-container {
>>    visibility: visible !important;
>>    left: 0px !important;
>>    top: 0px !important;
>>    position: relative !important;
>> }
>
> to css, but in latest versions the control appears but stay disabled.
>
> Raitis
>
>
> --
> 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




--
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: HTML textarea don't appear if using groups

Raitis
Hi, Allesandro,

here I recorded screen cast - http://screencast.com/t/MMcg7EgAgDM
It is recorded on 3.8 stable... If I would use nightly, then textarea after class delete would be disabled.

R.

On Thu, Jan 20, 2011 at 3:56 PM, Binesh Gummadi <[hidden email]> wrote:
Alex,

I was able to reproduce it in 3.8. No additional steps are required other than what you did. Maybe it is fixed now.


Binesh Gummadi
Senior Software Engineer
rivetlogic
Voice +1.703.879.5740
Skype binesh.gummadi_rivetlogic
GTalk [hidden email]
Calendarbinesh gummadi's calendar



On Wed, Jan 19, 2011 at 8:51 PM, Alessandro Vernet <[hidden email]> wrote:
Raitis,

I don't see or don't understand the issue you described. I am running
your example:

1. Click on "Show dialog" => the text area doesn't show.
2. Click on "Hide dialog", type "true" in the input field, click on
"Show dialog" => the text area shows and is enabled in the dialog.

Do I need to follow other steps to reproduce this?

Alex

On Thu, Jan 6, 2011 at 5:00 AM, Raitis <[hidden email]> wrote:
> Hi,
> i noticed bug when using html textarea in groups, that change relevenat
> state.
> Also attached example.
>
> In example I added input field which makes div appear and disappear, "true -
> shows, false - hide".
> But when change the state, the div and text appears in dialog, but textarea
> still is disabled.
>
> In orbeon previous versions workaround was adding:
>
>> .textarea-doc .yui-editor-container {
>>    visibility: visible !important;
>>    left: 0px !important;
>>    top: 0px !important;
>>    position: relative !important;
>> }
>
> to css, but in latest versions the control appears but stay disabled.
>
> Raitis
>
>
> --
> 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




--
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: HTML textarea don't appear if using groups

Raitis
In reply to this post by Alessandro Vernet
I tested it also on latest build - 3.9.0.pre.201101200307 CE, actualy the same here - http://screencast.com/t/W5O4tkUJ6pXx

But I found new bug, when I try to run file, I can upload it but can't launch it - http://screencast.com/t/af368k3vU

R.



On Thu, Jan 20, 2011 at 3:51 AM, Alessandro Vernet <[hidden email]> wrote:
Raitis,

I don't see or don't understand the issue you described. I am running
your example:

1. Click on "Show dialog" => the text area doesn't show.
2. Click on "Hide dialog", type "true" in the input field, click on
"Show dialog" => the text area shows and is enabled in the dialog.

Do I need to follow other steps to reproduce this?

Alex

On Thu, Jan 6, 2011 at 5:00 AM, Raitis <[hidden email]> wrote:
> Hi,
> i noticed bug when using html textarea in groups, that change relevenat
> state.
> Also attached example.
>
> In example I added input field which makes div appear and disappear, "true -
> shows, false - hide".
> But when change the state, the div and text appears in dialog, but textarea
> still is disabled.
>
> In orbeon previous versions workaround was adding:
>
>> .textarea-doc .yui-editor-container {
>>    visibility: visible !important;
>>    left: 0px !important;
>>    top: 0px !important;
>>    position: relative !important;
>> }
>
> to css, but in latest versions the control appears but stay disabled.
>
> Raitis
>
>
> --
> 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




--
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: HTML textarea don't appear if using groups

Alessandro  Vernet
Administrator
Raitis,

Yes, I finally managed to reproduce the issue with the RTE, and
created this bug:

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

Thank you for the explanatory screencast; that really helps.

Alex


On Thu, Jan 20, 2011 at 6:42 AM, Raitis <[hidden email]> wrote:

> I tested it also on latest build - 3.9.0.pre.201101200307 CE, actualy the
> same here - http://screencast.com/t/W5O4tkUJ6pXx
>
> But I found new bug, when I try to run file, I can upload it but can't
> launch it - http://screencast.com/t/af368k3vU
>
> R.
>
>
>
> On Thu, Jan 20, 2011 at 3:51 AM, Alessandro Vernet <[hidden email]>
> wrote:
>>
>> Raitis,
>>
>> I don't see or don't understand the issue you described. I am running
>> your example:
>>
>> 1. Click on "Show dialog" => the text area doesn't show.
>> 2. Click on "Hide dialog", type "true" in the input field, click on
>> "Show dialog" => the text area shows and is enabled in the dialog.
>>
>> Do I need to follow other steps to reproduce this?
>>
>> Alex
>>
>> On Thu, Jan 6, 2011 at 5:00 AM, Raitis <[hidden email]> wrote:
>> > Hi,
>> > i noticed bug when using html textarea in groups, that change relevenat
>> > state.
>> > Also attached example.
>> >
>> > In example I added input field which makes div appear and disappear,
>> > "true -
>> > shows, false - hide".
>> > But when change the state, the div and text appears in dialog, but
>> > textarea
>> > still is disabled.
>> >
>> > In orbeon previous versions workaround was adding:
>> >
>> >> .textarea-doc .yui-editor-container {
>> >>    visibility: visible !important;
>> >>    left: 0px !important;
>> >>    top: 0px !important;
>> >>    position: relative !important;
>> >> }
>> >
>> > to css, but in latest versions the control appears but stay disabled.
>> >
>> > Raitis
>> >
>> >
>> > --
>> > 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
>>
>
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: HTML textarea don't appear if using groups

Alessandro  Vernet
Administrator
Raitis,

I just pushed a fix for this, which will be included in the next
nightly build. You'll let us know how it works for you when you get a
chance to test it.

https://github.com/orbeon/orbeon-forms/commit/d5443eba31ec13190d824f42e9bab1645e61c926

Alex

On Thu, Feb 10, 2011 at 3:38 PM, Alessandro Vernet <[hidden email]> wrote:

> Raitis,
>
> Yes, I finally managed to reproduce the issue with the RTE, and
> created this bug:
>
> http://forge.ow2.org/tracker/index.php?func=detail&aid=315837&group_id=168&atid=350207
>
> Thank you for the explanatory screencast; that really helps.
>
> Alex
>
>
> On Thu, Jan 20, 2011 at 6:42 AM, Raitis <[hidden email]> wrote:
>> I tested it also on latest build - 3.9.0.pre.201101200307 CE, actualy the
>> same here - http://screencast.com/t/W5O4tkUJ6pXx
>>
>> But I found new bug, when I try to run file, I can upload it but can't
>> launch it - http://screencast.com/t/af368k3vU
>>
>> R.
>>
>>
>>
>> On Thu, Jan 20, 2011 at 3:51 AM, Alessandro Vernet <[hidden email]>
>> wrote:
>>>
>>> Raitis,
>>>
>>> I don't see or don't understand the issue you described. I am running
>>> your example:
>>>
>>> 1. Click on "Show dialog" => the text area doesn't show.
>>> 2. Click on "Hide dialog", type "true" in the input field, click on
>>> "Show dialog" => the text area shows and is enabled in the dialog.
>>>
>>> Do I need to follow other steps to reproduce this?
>>>
>>> Alex
>>>
>>> On Thu, Jan 6, 2011 at 5:00 AM, Raitis <[hidden email]> wrote:
>>> > Hi,
>>> > i noticed bug when using html textarea in groups, that change relevenat
>>> > state.
>>> > Also attached example.
>>> >
>>> > In example I added input field which makes div appear and disappear,
>>> > "true -
>>> > shows, false - hide".
>>> > But when change the state, the div and text appears in dialog, but
>>> > textarea
>>> > still is disabled.
>>> >
>>> > In orbeon previous versions workaround was adding:
>>> >
>>> >> .textarea-doc .yui-editor-container {
>>> >>    visibility: visible !important;
>>> >>    left: 0px !important;
>>> >>    top: 0px !important;
>>> >>    position: relative !important;
>>> >> }
>>> >
>>> > to css, but in latest versions the control appears but stay disabled.
>>> >
>>> > Raitis
>>> >
>>> >
>>> > --
>>> > 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
>>>
>>
>>
>>
>> --
>> 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
>


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