Please, help me in my trouble!
I try to use varible in submission name: <xforms:send submission="$dlg-reg-general-sub-page"/> but in log raise error: xforms:send - submission does not refer to an existing xforms:submission element, ignoring action {submission id: "$dlg-reg-general-sub-page"} How I can dynamically change name of submission for call? |
Could you share with us where/how this variable is defined? Not sure if enclosing it in braces {} will help. Thanks, Hank On Sep 24, 2008, at 5:28 AM, МОНАХ wrote: > > Please, help me in my trouble! > > I try to use varible in submission name: > <xforms:send submission="$dlg-reg-general-sub-page"/> > > but in log raise error: > xforms:send - submission does not refer to an existing > xforms:submission > element, ignoring action {submission id: "$dlg-reg-general-sub-page"} > > How I can dynamically change name of submission for call? > > -- > View this message in context: http://www.nabble.com/How-to-use- > variables-value-in-submission-name-tp19647696p19647696.html > Sent from the ObjectWeb 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
thank you for answer, Hank!
Variable is defined inwardly the dialog tag (<xxforms:dialog xmlns:xhtml="http://www.w3.org/1999/xhtml"): <xxforms:variable name="dlg-reg-general-sub-page" select="instance('ref-okved-ctrl')/submission-name-page"/> the 'ref-okved-ctrl' instance defined as: <xforms:instance id="ref-okved-ctrl"> <session-vars xmlns=""> <submission-name-page>ref-okved-get-page</submission-name-page> </session-vars> </xforms:instance> Braces {} not help :(((
|
On Sep 24, 2008, at 11:18 PM, МОНАХ wrote: > > thank you for answer, Hank! > You are welcome. Are you saying it works? There are scope rules for variables, so if it is empty, then perhaps you are trying to access it from a parent level, when it is defined within a child/grandchild element. --Hank > Variable is defined inwardly the dialog tag (<xxforms:dialog > xmlns:xhtml="http://www.w3.org/1999/xhtml"): > > <xxforms:variable name="dlg-reg-general-sub-page" > select="instance('ref-okved-ctrl')/submission-name-page"/> > > the 'ref-okved-ctrl' instance defined as: > > <xforms:instance id="ref-okved-ctrl"> > <session-vars xmlns=""> > <submission-name-page>ref-okved-get-page</submission-name-page> > </session-vars> > > </xforms:instance> > > > > Braces {} not help :((( > > > Hank Ratzesberger wrote: >> >> >> Could you share with us where/how this variable is defined? >> >> Not sure if enclosing it in braces {} will help. >> >> Thanks, >> Hank >> >> On Sep 24, 2008, at 5:28 AM, МОНАХ wrote: >> >>> >>> Please, help me in my trouble! >>> >>> I try to use varible in submission name: >>> <xforms:send submission="$dlg-reg-general-sub-page"/> >>> >>> but in log raise error: >>> xforms:send - submission does not refer to an existing >>> xforms:submission >>> element, ignoring action {submission id: "$dlg-reg-general-sub- >>> page"} >>> >>> How I can dynamically change name of submission for call? >>> >>> -- >>> View this message in context: http://www.nabble.com/How-to-use- >>> variables-value-in-submission-name-tp19647696p19647696.html >>> Sent from the ObjectWeb 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 >> >> Hank Ratzesberger >> NEES@UCSB >> Institute for Crustal Studies, >> University of California, Santa Barbara >> 805-893-8042 >> >> >> >> >> >> >> >> -- >> 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 >> >> > > -- > View this message in context: http://www.nabble.com/How-to-use- > variables-value-in-submission-name-tp19647696p19663690.html > Sent from the ObjectWeb 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
Administrator
|
In reply to this post by МОНАХ
On Wed, Sep 24, 2008 at 11:18 PM, МОНАХ <[hidden email]> wrote:
> Variable is defined inwardly the dialog tag (<xxforms:dialog > xmlns:xhtml="http://www.w3.org/1999/xhtml"): > > <xxforms:variable name="dlg-reg-general-sub-page" > select="instance('ref-okved-ctrl')/submission-name-page"/> If you'd like to be able to use that variable, the variable needs to be defined in a place where it is visible to the submission. I.e. in the model, before that submission. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ 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 |
In reply to this post by Hank Ratzesberger
Yes, its work, exclusive of calling submission id dinamic change :(
I define the variable (which contains the name of calling submission) in the "dialog" tag and use this variable only inwardly this tag. it look like the orbeon not think, what the name of calling submission may be the variable, and send it as name of submission.
|
In reply to this post by Alessandro Vernet
I define the variable (which contains the name of calling submission) in the "dialog" tag and use this variable only inwardly this tag.
Then i use this variable: <xforms:output value="$dlg-reg-general-sub-cnt"/> on dialog form printing correct value.
|
Administrator
|
On Fri, Sep 26, 2008 at 1:40 AM, МОНАХ <[hidden email]> wrote:
> I define the variable (which contains the name of calling submission) in the > "dialog" tag and use this variable only inwardly this tag. > Then i use this variable: > <xforms:output value="$dlg-reg-general-sub-cnt"/> > on dialog form printing correct value. So is this now working the way you intend it to? Is this fully resolved? Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ 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 |
|
In reply to this post by Alessandro Vernet
No, its look like the orbeon not think, what the name of calling submission may be the variable, and send it as name of submission.
|
In reply to this post by МОНАХ
Aaccording to documentation the Attribute Value Templates (AVTs) is not support "send" tag.
So I`ll try use the "dispatch" tag. |
Administrator
|
In reply to this post by МОНАХ
Maybe the easiest way to go forward is for you to produce a simple
example that runs in the XForms sandbox. Then we can 1) reproduce the issue and 2) propose a solution (or fix a bug, if there is one). -Erik On Sep 28, 2008, at 11:21 PM, МОНАХ wrote: > > No, its look like the orbeon not think, what the name of calling > submission > may be the variable, and send it as name of submission. > > > Alessandro Vernet wrote: >> >> On Fri, Sep 26, 2008 at 1:40 AM, МОНАХ <[hidden email]> >> wrote: >>> I define the variable (which contains the name of calling >>> submission) in >>> the >>> "dialog" tag and use this variable only inwardly this tag. >>> Then i use this variable: >>> <xforms:output value="$dlg-reg-general-sub-cnt"/> >>> on dialog form printing correct value. >> >> So is this now working the way you intend it to? Is this fully >> resolved? >> >> Alex >> -- >> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise >> Orbeon's Blog: http://www.orbeon.com/blog/ >> Personal Blog: http://avernet.blogspot.com/ >> 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 >> >> >> ----- >> Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise >> Orbeon's Blog: http://www.orbeon.com/blog/ >> Personal Blog: http://avernet.blogspot.com/ >> Twitter - http://twitter.com/avernet >> > > -- > View this message in context: http://www.nabble.com/How-to-use-variables-value-in-submission-name-tp19647696p19718832.html > Sent from the ObjectWeb 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 for the Enterprise Done the Right Way http://www.orbeon.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 |
thank you for help, but I have solved this problem by use "xforms:dispatch", which can use AVTs.
|
Administrator
|
On Thu, Oct 2, 2008 at 2:50 AM, МОНАХ <[hidden email]> wrote:
> thank you for help, but I have solved this problem by use "xforms:dispatch", > which can use AVTs. I am glad to read this. Thank you for the update! Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ 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 |
Free forum by Nabble | Edit this page |