Re: Variation of submission of data v3.5.1 to v3.8.0

Posted by Binesh Gummadi on
URL: https://discuss.orbeon.com/Variation-of-submission-of-data-v3-5-1-to-v3-8-0-tp3249064p3249111.html

Simon,

Never worked with 3.5 but with 3.8 you have to list external submissions on your model. Do you have something like this on your model?

<xforms:model id="main" xxforms:external-events="cancel_model_Document">


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 31, 2011 at 11:11 AM, Simon <[hidden email]> wrote:

Hi

I am fairly new to this and have an issue transferring our current documents
that are on 3.5.1 Orbeon to 3.8.0.

In 3.5.1 The forms appear correctly, and submit to the correct url.

In 3.8.0 The forms appear correctly but on pressing the submit buttons all
that happens is that the page refreshes and doesnt post to the correct URL.

Can anyone give me a clue as to any changes between the versions that might
cause this
The code snippets are as follows

In the model
  <xforms:submission id="cancel_model_Document"
    ref="instance('instance_model_Document')"

action="{xxforms:instance('url')/serverpath}/POST-page.php?action=cancel"
    method="post"
    validate="false"/>

In the body
    <xforms:trigger>
     <xforms:label ref="instance('url')/cancel/canceltext"/>
     <xforms:action ev:event="DOMActivate">
      <xforms:send submission="cancel_model_Document"/>
     </xforms:action>
    </xforms:trigger>

Many thanks in anticipation

Simon
--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Variation-of-submission-of-data-v3-5-1-to-v3-8-0-tp3249064p3249064.html
Sent from the Orbeon Forms (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




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