Hi Iam new to orbeon iam writing the submission as
follows but if we give any submission for the button while performing the action
page refreshes or loads is there any way where we can perform submission without
loading or refreshing of the page iam giving my code,plz help me in this as it
is very urgent to me.
<xforms:submission id="deletecollateralgi"
ref="instance('edit-request-instance')"
action="/usertasklist/forms/deletecollateralgi" method="post" />
<xforms:group>
<xforms:action ev:event="DOMActivate"> <xforms:send submission="deletecollateralgi"/> </xforms:action> <xforms:trigger appearance="xxforms:image"> <xforms:label>Delete Collateral</xforms:label> <xxforms:img src="/images/delete.gif"/> </xforms:trigger> </xforms:group> Thanks in advance,
K Gopikrishna Reddy
This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. |
Gopikrishna, The replace= attribute of your submission controls how things are handled. "all" - causes the page to refresh "none" - no instance is replaced (not sure what events are fired) "instance" - the instance specified by replace= attribute is replaced. Doesn't have to be the same instance that you submitted of course. This will fire off the events that cause the ui to update any controls that reference the instance and the page is not refreshed. Cheers, Hank On Apr 14, 2008, at 10:32 PM, Reddy, Gopikrishna wrote: > Hi Iam new to orbeon iam writing the submission as follows but if > we give any submission for the button while performing the action > page refreshes or loads is there any way where we can perform > submission without loading or refreshing of the page iam giving my > code,plz help me in this as it is very urgent to me. > > > <xforms:submission id="deletecollateralgi" ref="instance('edit- > request-instance')" action="/usertasklist/forms/ > deletecollateralgi" method="post" /> > > > <xforms:group> > <xforms:action ev:event="DOMActivate"> > <xforms:send submission="deletecollateralgi"/> > </xforms:action> > <xforms:trigger appearance="xxforms:image"> > <xforms:label>Delete Collateral</xforms:label> > <xxforms:img src="/images/delete.gif"/> > </xforms:trigger> > </xforms:group> > > > > Thanks in advance, > K Gopikrishna Reddy > This e-mail (and any attachments), is confidential and may be > privileged. It may be read, copied and used only by intended > recipients. Unauthorized access to this e-mail (or attachments) and > disclosure or copying of its contents or any action taken in > reliance on it is unlawful. Unintended recipients must notify the > sender immediately by e-mail/phone & delete it from their system > without making any copies or disclosing it to a third person. > > -- > 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 |
Hi,
Iam using the submission as follows but it doesnot
work can anybody help me plz as this is very urgent to me
<xforms:submission id="deletecollateralgi" serialize="false"
action="/usertasklist/forms/deletecollateralgi" validate="false"
method="get" replace="instance" /> FormsSubmitErrorEvent: XForms - submission - xforms-submit-error
throwable: org.
FException: Error code received when submitting instance: 500 n.oxf.xforms.XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java I need as submission without loading of page
Thanks and Regards,
K Gopikrishna Reddy
From: Hank Ratzesberger [mailto:[hidden email]] Sent: Tue 4/15/2008 8:55 PM To: [hidden email] Subject: [ops-users] Re: RE:SUBMISSION WITHOUT LOADING OF PAGE Gopikrishna, This e-mail (and any attachments), is confidential and may be privileged. It may be read, copied and used only by intended recipients. Unauthorized access to this e-mail (or attachments) and disclosure or copying of its contents or any action taken in reliance on it is unlawful. Unintended recipients must notify the sender immediately by e-mail/phone & delete it from their system without making any copies or disclosing it to a third person. |
Administrator
|
This seems to tell you that the submission failed because the URL you
reached responded with an error. Try enabling XForms logging. This will provide you with details of what's happening during the submission: http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-logging -Erik On Apr 16, 2008, at 12:06 AM, Reddy, Gopikrishna wrote: > Hi, > Iam using the submission as follows but it doesnot work can anybody > help me plz as this is very urgent to me > > <xforms:submission id="deletecollateralgi" serialize="false" > action="/usertasklist/forms/deletecollateralgi" validate="false" > method="get" replace="instance" /> > > FormsSubmitErrorEvent: XForms - submission - xforms-submit-error > throwable: org. > FException: Error code received when submitting instance: 500 > n > .oxf > .xforms > .XFormsModelSubmission.performDefaultAction(XFormsModelSubmission.java > > I need as submission without loading of page > > Thanks and Regards, > K Gopikrishna Reddy > > > > From: Hank Ratzesberger [mailto:[hidden email]] > Sent: Tue 4/15/2008 8:55 PM > To: [hidden email] > Subject: [ops-users] Re: RE:SUBMISSION WITHOUT LOADING OF PAGE > > > Gopikrishna, > > The replace= attribute of your submission controls how things > are handled. > > "all" - causes the page to refresh > "none" - no instance is replaced (not sure what events are fired) > "instance" - the instance specified by replace= attribute is > replaced. Doesn't have to be the same instance that you > submitted of course. This will fire off the events that cause > the ui to update any controls that reference the instance > and the page is not refreshed. > > Cheers, > Hank > > On Apr 14, 2008, at 10:32 PM, Reddy, Gopikrishna wrote: > > Hi Iam new to orbeon iam writing the submission as follows but if > > we give any submission for the button while performing the action > > page refreshes or loads is there any way where we can perform > > submission without loading or refreshing of the page iam giving my > > code,plz help me in this as it is very urgent to me. > > > > > > <xforms:submission id="deletecollateralgi" ref="instance('edit- > > request-instance')" action="/usertasklist/forms/ > > deletecollateralgi" method="post" /> > > > > > > <xforms:group> > > <xforms:action ev:event="DOMActivate"> > > <xforms:send submission="deletecollateralgi"/> > > </xforms:action> > > <xforms:trigger appearance="xxforms:image"> > > <xforms:label>Delete Collateral</xforms:label> > > <xxforms:img src="/images/delete.gif"/> > > </xforms:trigger> > > </xforms:group> > > > > > > > > Thanks in advance, > > K Gopikrishna Reddy > > This e-mail (and any attachments), is confidential and may be > > privileged. It may be read, copied and used only by intended > > recipients. Unauthorized access to this e-mail (or attachments) and > > disclosure or copying of its contents or any action taken in > > reliance on it is unlawful. Unintended recipients must notify the > > sender immediately by e-mail/phone & delete it from their system > > without making any copies or disclosing it to a third person. > > > > -- > > 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 > > > > > > > This e-mail (and any attachments), is confidential and may be > privileged. It may be read, copied and used only > by intended recipients. Unauthorized access to this e-mail (or > attachments) and disclosure or copying of its > contents or any action taken in reliance on it is unlawful. > Unintended recipients must notify the sender immediately > by e-mail/phone & delete it from their system without making any > copies or disclosing it to a third person. > > <message-footer.txt> > -- > 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 |
Free forum by Nabble | Edit this page |