Services & Actions gui broken?

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

Services & Actions gui broken?

Arlo White
I'm unable to use the Form Builder to create services & actions that
work. When I look at the code, there's a few strange things:

Two default instances are created:

<xforms:instance id="fr-service-request-instance"
xxforms:exclude-result-prefixes="#all">
<request/>
</xforms:instance>

<xforms:instance id="fr-service-response-instance"
xxforms:exclude-result-prefixes="#all">
<response/>
</xforms:instance>

As well as the instance I defined in the service request body:
<xforms:instance id="TestService-instance" class="fr-service"
                              xxforms:exclude-result-prefixes="#all">
<body>&lt;value/&gt;</body>
</xforms:instance>

Yet the submission references fr-service-request-instance instead of
TestService-instance:
<xforms:submission id="TestService-submission" class="fr-service"
                               
ref="instance('fr-service-request-instance')"

This doesn't seem right to me.

Also, there's a "SET ME" attribute value in a few places. Should this
have been replaced?
<xforms:action ev:event="DOMActivate" ev:observer="go-control">

<xforms:send submission="SET ME"/>
</xforms:action>

I also cannot delete services or actions via the gui.

This is pretty frustrating. I'm using Orbeon 3.8.0.201005141841 PE


-Arlo


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Services & Actions gui broken?

Erik Bruchez
Administrator
Arlo,

To be honest we don't like the way services and actions are stored in
the form right now.

This said, I don't think that what you point out is the problem. There
is an action in your form that inserts, from TestService-instance,
into fr-service-request-instance.

Do you have a simple example you could provide with explanations, that
we could use to reproduce the issue?

Also, it's always a good idea to try a nightly build too as we have
fixed bugs since 3.8.0.

-Erik

On Thu, Nov 4, 2010 at 10:57 AM, Arlo White <[hidden email]> wrote:

> I'm unable to use the Form Builder to create services & actions that work.
> When I look at the code, there's a few strange things:
>
> Two default instances are created:
>
> <xforms:instance id="fr-service-request-instance"
> xxforms:exclude-result-prefixes="#all">
> <request/>
> </xforms:instance>
>
> <xforms:instance id="fr-service-response-instance"
> xxforms:exclude-result-prefixes="#all">
> <response/>
> </xforms:instance>
>
> As well as the instance I defined in the service request body:
> <xforms:instance id="TestService-instance" class="fr-service"
>                             xxforms:exclude-result-prefixes="#all">
> <body>&lt;value/&gt;</body>
> </xforms:instance>
>
> Yet the submission references fr-service-request-instance instead of
> TestService-instance:
> <xforms:submission id="TestService-submission" class="fr-service"
>                               ref="instance('fr-service-request-instance')"
>
> This doesn't seem right to me.
>
> Also, there's a "SET ME" attribute value in a few places. Should this have
> been replaced?
> <xforms:action ev:event="DOMActivate" ev:observer="go-control">
>
> <xforms:send submission="SET ME"/>
> </xforms:action>
>
> I also cannot delete services or actions via the gui.
>
> This is pretty frustrating. I'm using Orbeon 3.8.0.201005141841 PE
>
>
> -Arlo
>
>
> --
> 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