Customize ajax error message

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

Customize ajax error message

ricetrac
Hello,
 
We use orbeon 3.5 and we would like to customize ajax error message like : "Xforms error : Unable to retrieve XForms engine state from session cache"
We customize the error.xpl in order to display a nice error page, but the ajax error are not display with error.xpl.
How to customize this error ?
 
Thank you.
 

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

--
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: Customize ajax error message

ricetrac
Nobody want to customize this error ? ;)


De : Bittard, Julien [mailto:[hidden email]]
Envoyé : mardi 29 avril 2008 10:14
À : [hidden email]
Objet : [ops-users] Customize ajax error message

Hello,
 
We use orbeon 3.5 and we would like to customize ajax error message like : "Xforms error : Unable to retrieve XForms engine state from session cache"
We customize the error.xpl in order to display a nice error page, but the ajax error are not display with error.xpl.
How to customize this error ?
 
Thank you.
 

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

--
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: RE: Customize ajax error message

Erik Bruchez
Administrator
We have some doc on how to do this, but I don't think all of it  
applies to 3.5:

   http://www.orbeon.com/ops/doc/reference-error-pipeline

-Erik

On Apr 30, 2008, at 5:45 AM, Bittard, Julien wrote:

> Nobody want to customize this error ? ;)
>
> De : Bittard, Julien [mailto:[hidden email]]
> Envoyé : mardi 29 avril 2008 10:14
> À : [hidden email]
> Objet : [ops-users] Customize ajax error message
>
> Hello,
>
> We use orbeon 3.5 and we would like to customize ajax error message  
> like : "Xforms error : Unable to retrieve XForms engine state from  
> session cache"
> We customize the error.xpl in order to display a nice error page,  
> but the ajax error are not display with error.xpl.
> How to customize this error ?
>
> Thank you.
--
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
Reply | Threaded
Open this post in threaded view
|

Re: RE: Customize ajax error message

ricetrac
Hello erik,

Thank you for your response. Can I just replace the file xforms-server-error.xpl and error.xsl to my 3.5 ?
Or it need other java class ?


-----Message d'origine-----
De : Erik Bruchez [mailto:[hidden email]]
Envoyé : mercredi 30 avril 2008 17:37
À : [hidden email]
Objet : [ops-users] Re: RE: Customize ajax error message

We have some doc on how to do this, but I don't think all of it applies to 3.5:

   http://www.orbeon.com/ops/doc/reference-error-pipeline

-Erik

On Apr 30, 2008, at 5:45 AM, Bittard, Julien wrote:

> Nobody want to customize this error ? ;)
>
> De : Bittard, Julien [mailto:[hidden email]]
> Envoyé : mardi 29 avril 2008 10:14
> À : [hidden email]
> Objet : [ops-users] Customize ajax error message
>
> Hello,
>
> We use orbeon 3.5 and we would like to customize ajax error message
> like : "Xforms error : Unable to retrieve XForms engine state from
> session cache"
> We customize the error.xpl in order to display a nice error page, but
> the ajax error are not display with error.xpl.
> How to customize this error ?
>
> Thank you.
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.




--
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: RE: Customize ajax error message

ricetrac
In reply to this post by Erik Bruchez
Hello

I try to use the error pipeline of the 3.6, but in fact the problem is not the formatting, this is where is display the ajax error : in 3.5 it is on the main page, but in 3.6 it is in a dialog box.
I would like to reproduce this , but I don't know how.
Is there one class I can put on my 3.5 ? Or it is in the main class, and we can't insert them in the 3.5 ?

Thank you for your help.


-----Message d'origine-----
De : Erik Bruchez [mailto:[hidden email]]
Envoyé : mercredi 30 avril 2008 17:37
À : [hidden email]
Objet : [ops-users] Re: RE: Customize ajax error message

We have some doc on how to do this, but I don't think all of it applies to 3.5:

   http://www.orbeon.com/ops/doc/reference-error-pipeline

-Erik

On Apr 30, 2008, at 5:45 AM, Bittard, Julien wrote:

> Nobody want to customize this error ? ;)
>
> De : Bittard, Julien [mailto:[hidden email]]
> Envoyé : mardi 29 avril 2008 10:14
> À : [hidden email]
> Objet : [ops-users] Customize ajax error message
>
> Hello,
>
> We use orbeon 3.5 and we would like to customize ajax error message
> like : "Xforms error : Unable to retrieve XForms engine state from
> session cache"
> We customize the error.xpl in order to display a nice error page, but
> the ajax error are not display with error.xpl.
> How to customize this error ?
>
> Thank you.
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/


This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.




--
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: Re: RE: Customize ajax error message

Erik Bruchez
Administrator
Julien,

In 3.6, the error dialog is in a file called error-dialog.xml, which  
is included automatically by the XForms engine. I don't think you will  
easily be able to replace just one class.

-Erik

On May 2, 2008, at 8:50 AM, Bittard, Julien wrote:

> Hello
>
> I try to use the error pipeline of the 3.6, but in fact the problem  
> is not the formatting, this is where is display the ajax error : in  
> 3.5 it is on the main page, but in 3.6 it is in a dialog box.
> I would like to reproduce this , but I don't know how.
> Is there one class I can put on my 3.5 ? Or it is in the main class,  
> and we can't insert them in the 3.5 ?
>
> Thank you for your help.
>
>
> -----Message d'origine-----
> De : Erik Bruchez [mailto:[hidden email]]
> Envoyé : mercredi 30 avril 2008 17:37
> À : [hidden email]
> Objet : [ops-users] Re: RE: Customize ajax error message
>
> We have some doc on how to do this, but I don't think all of it  
> applies to 3.5:
>
>   http://www.orbeon.com/ops/doc/reference-error-pipeline
>
> -Erik
>
> On Apr 30, 2008, at 5:45 AM, Bittard, Julien wrote:
>
>> Nobody want to customize this error ? ;)
>>
>> De : Bittard, Julien [mailto:[hidden email]]
>> Envoyé : mardi 29 avril 2008 10:14
>> À : [hidden email]
>> Objet : [ops-users] Customize ajax error message
>>
>> Hello,
>>
>> We use orbeon 3.5 and we would like to customize ajax error message
>> like : "Xforms error : Unable to retrieve XForms engine state from
>> session cache"
>> We customize the error.xpl in order to display a nice error page, but
>> the ajax error are not display with error.xpl.
>> How to customize this error ?
>>
>> Thank you.
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/
>
>
> This e-mail and any attachment is for authorised use by the intended  
> recipient(s) only. It may contain proprietary material, confidential  
> information and/or be subject to legal privilege. It should not be  
> copied, disclosed to, retained or used by, any other party. If you  
> are not an intended recipient then please promptly delete this e-
> mail and any attachment and all copies and inform the sender. Thank  
> you.
>
>
>
> --
> 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