relevant on the submission

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

relevant on the submission

Victor Argueta
Hello everyone

I need to send all the instance of a form when a user press the submit button. The problem is that i have some nodes set to relevant false but only for UI purpose.

I read that there is a implementation on the xforms 1.1 that set an attribute on the submission tag "relevant=false()" but its not working.

Do I need to add another namespace??

here is a sample code


<html xmlns=" http://www.w3.org/1999/xhtml"  ... xmlns:xforms="http://www.w3.org/2002/xforms" ... xmlns:xxforms="http://orbeon.org/oxf/xml/xforms ">

.
.
.

<xforms:submission id="save-submission" relevant="false()"  ref="instance('main')"  action="/SomeServlet"  method="post" replace="instance">
.
.
.

<xforms:send submission="save-submission"/>
.
.
.

</html>


--
A journey of a thousand miles, begins with a single step.
                                                            Lao-tzu.

--
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: relevant on the submission

Erik Bruchez
Administrator
Victor,

Try using relevant="false" instead.

-Erik

Victor Argueta wrote:

> Hello everyone
>
> I need to send all the instance of a form when a user press the submit
> button. The problem is that i have some nodes set to relevant false but
> only for UI purpose.
>
> I read that there is a implementation on the xforms 1.1 that set an
> attribute on the submission tag "relevant=false()" but its not working.
>
> Do I need to add another namespace??
>
> here is a sample code
>
>
> <html xmlns=" http://www.w3.org/1999/xhtml"  ...
> xmlns:xforms="http://www.w3.org/2002/xforms" ...
> xmlns:xxforms="http://orbeon.org/oxf/xml/xforms 
> <http://orbeon.org/oxf/xml/xforms>">
>
> .
> .
> .
>
> <xforms:submission id="save-submission" relevant="false()"  
> ref="instance('main')"  action="/SomeServlet"  method="post"
> replace="instance">
> .
> .
> .
>
> <xforms:send submission="save-submission"/>
> .
> .
> .
>
> </html>
>
>
> --
> A journey of a thousand miles, begins with a single step.
>                                                             Lao-tzu.
>

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