sending invalid instance data

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

sending invalid instance data

Łukasz Gendek
I would like to save partly filled form. For that I need to submit invalid
instance data (not valid against xsd schema or some xpath constraints). Is
it possible?

Regards

Lukasz Gendek


----- Original Message -----
From: "Lukasz Gendek" <[hidden email]>
To: <[hidden email]>
Sent: Wednesday, June 25, 2008 7:54 AM
Subject: Re: [ops-users] Configuring OPSPortlet to access directly a new
forms application


> Is it a way to send model data, which are not valid against xsd schema or
> some xpath constraint.
>
> Regards
>
> Lukasz Gendek
>
> ----- Original Message -----
> From: "alouah" <[hidden email]>
> To: <[hidden email]>
> Sent: Wednesday, June 25, 2008 12:21 AM
> Subject: [ops-users] Configuring OPSPortlet to access directly a new forms
> application
>
>
>>
>> Dears,
>>
>> I am using the latest version of liferay budled with tomcat :
>> liferay-portal-tomcat-6.0-5.0.1,
>> I managed to deploy suceesfuly Orbeon 3.6.0 ont this version and I can
>> use
>> without any problem the pre-configured OrbeonFormsPortlet.
>>
>> Now, I need to define a new Orbeon forms portlet that directly access
>> myBookcast application
>> that I have developped using the tutorial.
>>
>> I did the following paraterization but when I add my new portlet in the
>> portal, it access directly
>> the welcome portlet ???????
>>
>> Can you please tell me what s wrong in my configuration ?
>>
>>
>>
>> Portlet.xml
>> ========
>> <portlet>
>> <portlet-name>myBookcast</portlet-name>
>> <portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>> <supports>
>> <mime-type>text/html</mime-type>
>> <portlet-mode>edit</portlet-mode>
>> </supports>
>> <init-param>
>> <name>oxf.main-processor.name</name>
>> <value>{http://www.orbeon.com/oxf/processors}pipeline</value>
>> </init-param>
>> <init-param>
>> <name>oxf.main-processor.input.config</name>
>> <value>oxf:/config/prologue-portlet.xpl</value>
>> </init-param>
>> <init-param>
>> <name>oxf.error-processor.name</name>
>> <value>{http://www.orbeon.com/oxf/processors}pipeline</value>
>> </init-param>
>> <init-param>
>> <name>oxf.error-processor.input.config</name>
>> <value>oxf:/config/error.xpl</value>
>> </init-param>
>> <init-param>
>> <name>oxf.main-processor.input.controller</name>
>> <value>oxf:/apps/myBookcast/page-flow.xml</value>
>> </init-param>
>> <supports>
>> <mime-type>text/html</mime-type>
>> <mime-type>application/xml</mime-type>
>> </supports>
>> <portlet-info>
>> <title>myBookcast Orbeon Forms Portlet</title>
>> </portlet-info>
>> <portlet-preferences>
>> <preference>
>> <name>web-site</name>
>> <value>http://www.orbeon.com/</value>
>> </preference>
>> <preference>
>> <name>favorite-animals</name>
>> <value>cat, dog</value>
>> </preference>
>> </portlet-preferences>
>> </portlet>
>>
>> web.xml :
>> =======
>> <servlet>
>> <servlet-name>myBookcast</servlet-name>
>>
>> <servlet-class>com.liferay.portal.kernel.servlet.PortletServlet</servlet-class>
>> <init-param>
>> <param-name>portlet-class</param-name>
>> <param-value>org.orbeon.oxf.portlet.OPSPortlet</param-value>
>> </init-param>
>> <init-param>
>> <param-name>oxf.main-processor.input.controller</param-name>
>> <param-value>oxf:/apps/myBookcast/page-flow.xml</param-value>
>> </init-param>
>> <load-on-startup>0</load-on-startup>
>> </servlet>
>> <servlet-mapping>
>> <servlet-name>myBookcast</servlet-name>
>> <url-pattern>/myBookcast/*</url-pattern>
>> </servlet-mapping>
>> --
>> View this message in context:
>> http://www.nabble.com/Configuring-OPSPortlet-to-access-directly-a-new-forms-application-tp18101119p18101119.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
>


--
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: sending invalid instance data

Erik Bruchez
Administrator
Just add relevant="false" and validate="false" on xforms:submission.

-Erik

On Jun 26, 2008, at 12:54 AM, Lukasz Gendek wrote:

> I would like to save partly filled form. For that I need to submit  
> invalid instance data (not valid against xsd schema or some xpath  
> constraints). Is it possible?
>
> Regards
>
> Lukasz Gendek
>
>
> ----- Original Message ----- From: "Lukasz Gendek" <[hidden email]
> >
> To: <[hidden email]>
> Sent: Wednesday, June 25, 2008 7:54 AM
> Subject: Re: [ops-users] Configuring OPSPortlet to access directly a  
> new forms application
>
>
>> Is it a way to send model data, which are not valid against xsd  
>> schema or some xpath constraint.
>>
>> Regards
>>
>> Lukasz Gendek
>>
>> ----- Original Message ----- From: "alouah" <[hidden email]>
>> To: <[hidden email]>
>> Sent: Wednesday, June 25, 2008 12:21 AM
>> Subject: [ops-users] Configuring OPSPortlet to access directly a  
>> new forms application
>>
>>
>>>
>>> Dears,
>>>
>>> I am using the latest version of liferay budled with tomcat :
>>> liferay-portal-tomcat-6.0-5.0.1,
>>> I managed to deploy suceesfuly Orbeon 3.6.0 ont this version and I  
>>> can use
>>> without any problem the pre-configured OrbeonFormsPortlet.
>>>
>>> Now, I need to define a new Orbeon forms portlet that directly  
>>> access
>>> myBookcast application
>>> that I have developped using the tutorial.
>>>
>>> I did the following paraterization but when I add my new portlet  
>>> in the
>>> portal, it access directly
>>> the welcome portlet ???????
>>>
>>> Can you please tell me what s wrong in my configuration ?
>>>
>>>
>>>
>>> Portlet.xml
>>> ========
>>> <portlet>
>>> <portlet-name>myBookcast</portlet-name>
>>> <portlet-class>org.orbeon.oxf.portlet.OPSPortlet</portlet-class>
>>> <supports>
>>> <mime-type>text/html</mime-type>
>>> <portlet-mode>edit</portlet-mode>
>>> </supports>
>>> <init-param>
>>> <name>oxf.main-processor.name</name>
>>> <value>{http://www.orbeon.com/oxf/processors}pipeline</value>
>>> </init-param>
>>> <init-param>
>>> <name>oxf.main-processor.input.config</name>
>>> <value>oxf:/config/prologue-portlet.xpl</value>
>>> </init-param>
>>> <init-param>
>>> <name>oxf.error-processor.name</name>
>>> <value>{http://www.orbeon.com/oxf/processors}pipeline</value>
>>> </init-param>
>>> <init-param>
>>> <name>oxf.error-processor.input.config</name>
>>> <value>oxf:/config/error.xpl</value>
>>> </init-param>
>>> <init-param>
>>> <name>oxf.main-processor.input.controller</name>
>>> <value>oxf:/apps/myBookcast/page-flow.xml</value>
>>> </init-param>
>>> <supports>
>>> <mime-type>text/html</mime-type>
>>> <mime-type>application/xml</mime-type>
>>> </supports>
>>> <portlet-info>
>>> <title>myBookcast Orbeon Forms Portlet</title>
>>> </portlet-info>
>>> <portlet-preferences>
>>> <preference>
>>> <name>web-site</name>
>>> <value>http://www.orbeon.com/</value>
>>> </preference>
>>> <preference>
>>> <name>favorite-animals</name>
>>> <value>cat, dog</value>
>>> </preference>
>>> </portlet-preferences>
>>> </portlet>
>>>
>>> web.xml :
>>> =======
>>> <servlet>
>>> <servlet-name>myBookcast</servlet-name>
>>>
>>> <servlet-class>com.liferay.portal.kernel.servlet.PortletServlet</
>>> servlet-class>
>>> <init-param>
>>> <param-name>portlet-class</param-name>
>>> <param-value>org.orbeon.oxf.portlet.OPSPortlet</param-value>
>>> </init-param>
>>> <init-param>
>>> <param-name>oxf.main-processor.input.controller</param-name>
>>> <param-value>oxf:/apps/myBookcast/page-flow.xml</param-value>
>>> </init-param>
>>> <load-on-startup>0</load-on-startup>
>>> </servlet>
>>> <servlet-mapping>
>>> <servlet-name>myBookcast</servlet-name>
>>> <url-pattern>/myBookcast/*</url-pattern>
>>> </servlet-mapping>
>>> --
>>> View this message in context: http://www.nabble.com/Configuring-OPSPortlet-to-access-directly-a-new-forms-application-tp18101119p18101119.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
>
>
> --
> 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