Hi there,
I've got some data that'd be loaded -- say a bunch of shopping cart items that belong to a business (rather than individual).
What I'm need to do is filter the list displayed having done a web service call per item to determine the permissions for the current user.
How would I go about that? Essentially, how do I apply the below to a list of items individually?
<xforms:instance id="props">
<parameters>
<HasWriteAccess />
</parameters>
</xforms:instance>
<xforms:action ev:event="xforms-model-construct-done">
<xforms:send submission="check-permissions" />
</xforms:action>
<xforms:submission id="check-permissions" method="get" serialization="none"
resource="..."
replace="none" f:url-type="resource">
<xforms:action ev:event="xforms-submit-error">
<xforms:setvalue ref="instance('props')/HasWriteAccess" value="'false'" />
</xforms:action>
<xforms:action ev:event="xforms-submit-done">
<xforms:setvalue ref="instance('props')/HasWriteAccess" value="'true'" />
</xforms:action>
</xforms:submission>
cheers,
Lachlan
--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].