Philip,
The event dispatch bug is now fixed and will be in the next automatic
build. Please let us know if that works for you!
http://github.com/orbeon/orbeon-forms/commit/96cf532036c04a489b1a88556de172aa46163259-Erik
On Wed, Jul 22, 2009 at 3:41 PM, Philip.Cantin<pjcantin@gmail.com> wrote:
>
> Alex,
>
> Sorry for not being more clear; my use case was referring to the sandbox
> example that I attached as a ZIP at the beginning of this thread
> (xforms-xbl-test.zip).
>
> The obstacle I'm trying to overcome can be reproduced with the following
> steps:
>
> 1) Open the ZIP file (I'll re-attach it below this message), copy the folder
> and run it in Orbeon.
> 2) Type "hello" within the text area.
> 3) Click the icon next to the text area - this will pop up a rich text
> editor. The word "hello" should be the value of the instance('yui-info')/tmp
> node.
> 4) Type "goodbye" and then click the 'Update' button within the editor.
>
> The value "goodbye" is saved to the <tmp> node of the 'yui-info' instance,
> but the value "hello" remains in the text area. I imagine there must be
> something wrong with my <xf:setvalue> statement. In addition, I would also
> like the value of the text area to appear in the rich text editor whenever
> it is loaded.
>
> I know, at least, that test_xforms.xhtml (my main XHTML form) is getting the
> value of the <title> node within the nested XBL components. I just want to
> be able to have that value of the text area loaded into the RTE, update that
> value, and have it display properly in the text area.
>
> If there's anything else you need to know, please let me know! And thank you
> in advance, Alex!
>
>
> ---Philip
>
>
>
http://www.nabble.com/file/p24616191/xforms-xbl-test.zip xforms-xbl-test.zip
>
>
>
> Alessandro Vernet wrote:
>>
>> Philip,
>>
>>
>> Philip.Cantin wrote:
>>>
>>> While this bug is being investigated, I was wondering if it was possible
>>> to somehow "capture" the context being passed to the main form's
>>> <xxforms:dialog> control from the nested XBL component, and use it in an
>>> <xforms:setvalue> statement within the main form. I was able to do this
>>> once using the 'xxforms-dialog-open' event inside <xforms:setvalue>, but
>>> I can't seem to reference that context a second time outside of the
>>> 'xxforms-dialog-open' event.
>>>
>>
>> You're talking about "capturing the context being passed to the main
>> form's <xxforms:dialog> control from the nested XBL component". Is the
>> dialog opened from within the XBL? I am afraid I don't quite get it. Would
>> you have a very minimal example showing what you are trying to do and
>> where the problem lies?
>>
>> Alex
>>
>
> --
> View this message in context:
http://www.nabble.com/Event-Handling-within-nested-XBL-components-tp24434096p24616191.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>
>
--
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