'action-observer' is not triggered by the submission script

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

'action-observer' is not triggered by the submission script

raul.aguilar
the submission and append-attribute script both work independently, yet the 'action-observer' is not triggered by the submission script on the 'xforms-submit-done' event. can someone please advise?

  <xforms:submission
    id="load-submission"
    serialize="false"
    action="http://127.0.0.1:8080/exist/rest/db/gios/eml/{{xxforms:instance('parameters-instance')/eml-ver}}/{{xxforms:instance('parameters-instance')/document-id}}"
    validate="false"
    method="get"
    replace="instance"
    xxforms:instance="document-instance"
    f:url-type="resource">
 
  </xforms:submission>
 
  <xforms:action ev:observer="load-submission" ev:event="xforms-submit-done">
    <xup:modifications version="1.0">
      <xup:append select="//*">
        <xup:attribute name="show">y</xup:attribute>
      </xup:append>
    </xup:modifications>
  </xforms:action>
Reply | Threaded
Open this post in threaded view
|

Re: 'action-observer' is not triggered by the submission script

Erik Bruchez
Administrator
Are you using a recent build? If not, that probably won't work,  
because full support for ev:observer was added only very recently.

-Erik

On Mar 14, 2008, at 7:23 AM, raul.aguilar wrote:

>
> the submission and append-attribute script both work independently,  
> yet the
> 'action-observer' is not triggered by the submission script on the
> 'xforms-submit-done' event. can someone please advise?
>
>  <xforms:submission
>    id="load-submission"
>    serialize="false"
>
> action="http://127.0.0.1:8080/exist/rest/db/gios/eml/ 
> {{xxforms:instance('parameters-instance')/eml-ver}}/
> {{xxforms:instance('parameters-instance')/document-id}}"
>    validate="false"
>    method="get"
>    replace="instance"
>    xxforms:instance="document-instance"
>    f:url-type="resource">
>
>  </xforms:submission>
>
>  <xforms:action ev:observer="load-submission"
> ev:event="xforms-submit-done">
>    <xup:modifications version="1.0">
>      <xup:append select="//*">
>        <xup:attribute name="show">y</xup:attribute>
>      </xup:append>
>    </xup:modifications>
>  </xforms:action>
>
> --
> View this message in context: http://www.nabble.com/%27action-observer%27-is-not-triggered-by-the-submission-script-tp16048147p16048147.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