multiple schemas in xForms Model

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

multiple schemas in xForms Model

ozenzin
It looks like no support for multiple schemas pointed in xForms Model
attribute "schema", isn't it? If so - are there plans to support such?

Otherwise, maybe you'll help to solve the pb: I have many xForms forms where Model refers to each own xsd. For every such form I need to implement definit set of operations. I'd like to use PFC actions. But need to add xForms Model instance. Elements from that instance cannot be found in each pre-existant form xsd. So my submission is rejected each time with xxforms:valid="false". Is there any way to switch off validity check for submitted instance (subject to model still has its refernce to xsd)?

Regards,
Oleg Zenzin
--



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: multiple schemas in xForms Model

Erik Bruchez
Administrator
Oleg,

 > It looks like no support for multiple schemas pointed in xForms Model
 > attribute "schema", isn't it? If so - are there plans to support such?

Yes, it would be good, but I can't promise when this will be done.

 > Otherwise, maybe you'll help to solve the pb: I have many xForms
 > forms where Model refers to each own xsd. For every such form I need
 > to implement definit set of operations. I'd like to use PFC
 > actions. But need to add xForms Model instance. Elements from that
 > instance cannot be found in each pre-existant form xsd. So my
 > submission is rejected each time with xxforms:valid="false". Is
 > there any way to switch off validity check for submitted instance
 > (subject to model still has its refernce to xsd)?

You mention xxforms:valid="false" which should only be relevant for
XForms Classic, so I assume you are using that?

With XForms NG, there is an XForms 1.1 attribute you can use on
xforms:submission: validate="false", which will disable validation
upon submission.

-Erik

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re[2]: multiple schemas in xForms Model

ozenzin
Erik,
thank you very much - it works. I did suspect that something like that
should be there, but parsing the mail archives and examples did not
pointed me to that. Unless I've missed that I think it worth to be
mentioned in tutorial examples.

Regards,
Oleg Zenzin

--
                           mailto:[hidden email]


Sunday, May 21, 2006, 8:45:27 PM, your letter:

> Oleg,

 >> It looks like no support for multiple schemas pointed in xForms Model
 >> attribute "schema", isn't it? If so - are there plans to support such?

> Yes, it would be good, but I can't promise when this will be done.

 >> Otherwise, maybe you'll help to solve the pb: I have many xForms
 >> forms where Model refers to each own xsd. For every such form I need
 >> to implement definit set of operations. I'd like to use PFC
 >> actions. But need to add xForms Model instance. Elements from that
 >> instance cannot be found in each pre-existant form xsd. So my
 >> submission is rejected each time with xxforms:valid="false". Is
 >> there any way to switch off validity check for submitted instance
 >> (subject to model still has its refernce to xsd)?

> You mention xxforms:valid="false" which should only be relevant for
> XForms Classic, so I assume you are using that?

> With XForms NG, there is an XForms 1.1 attribute you can use on
> xforms:submission: validate="false", which will disable validation
> upon submission.

> -Erik






--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: multiple schemas in xForms Model

Erik Bruchez
Administrator
For reference the supported XForms 1.1 features are documented here:

   http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms11-extensions

-Erik

Oleg Zenzin wrote:
> Erik,
> thank you very much - it works. I did suspect that something like that
> should be there, but parsing the mail archives and examples did not
> pointed me to that. Unless I've missed that I think it worth to be
> mentioned in tutorial examples.
>
> Regards,
> Oleg Zenzin

--
Orbeon - XForms Everywhere:
http://www.orbeon.com/blog/



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws