Re: Dynamic form and source field
Posted by
Alessandro Vernet on
Jan 30, 2010; 3:42am
URL: https://discuss.orbeon.com/Dynamic-form-and-source-field-tp1415234p1457237.html
Alexandru,
I understand you are dispatching an event from the JavaScript to the
server with ORBEON.xforms.Document.dispatchEvent("main-model",
"F4-keypress"). I imagine you dispatch it when users press F4. Is the
case that you would like to know what was the current field the user
was in when this happened?
Regarding your second point, I am not sure to understand what you want
to do. Could you describe this in more details, and maybe give us an
example?
Alex
On Fri, Jan 29, 2010 at 1:23 AM, Alexandru Ionita
<
[hidden email]> wrote:
>
>
> Hello guys,
> here I am again with two questions:
> 1. How can I identify the XPATH that is backing a input text which was
> detected through JS as a source element of a keyPress event. The event is
> dispatched as follows:
> ORBEON.xforms.Document.dispatchEvent("main-model", "F4-keypress")
> 2nd, I need to build a dynamic form in a pop-up window based on a known XML
> model. Is this possible?
>
> thank you,
> Alexandru
>
> --
> 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
Orbeon's Blog:
http://www.orbeon.com/blog/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