Property Not implemented yet: response-reason-phrase

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

Property Not implemented yet: response-reason-phrase

jpereza
Using the event() function in a xforms-submit-error event with the property name "response-reason-phrase", I got this error:

Property Not implemented yet: response-reason-phrase

When will be this property implemented?

jpereza
Reply | Threaded
Open this post in threaded view
|

Re: Property Not implemented yet: response-reason-phrase

Alessandro  Vernet
Administrator
This is right: it is not yet implemented, and unfortunately we don't  
have an ETA for this. Note that the "response reason phrase" is just a  
human readable version of the status code, and so it is often not very  
useful. In most cases you will want to either:

* Test on the response code and do something different based on the  
response code (e.g. for 4xx vs. 5xx).
* Get a detailed error message returned by the service you are  
calling, and which you can access through the event('response-body'),  
of course assuming that the service gives you more information on why  
it failed in the body of its response.

Alex

On Jan 12, 2010, at 2:10 AM, jpereza <[hidden email]>  
wrote:

>
> Using the event() function in a xforms-submit-error event with the  
> property
> name "response-reason-phrase", I got this error:
>
> Property Not implemented yet: response-reason-phrase
>
> When will be this property implemented?
>
> jpereza
>
> --
> View this message in context: http://n4.nabble.com/Property-Not-implemented-yet-response-reason-phrase-tp1011988p1011988.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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet