1. alert - no text rendered AND 2. linking external instance

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

1. alert - no text rendered AND 2. linking external instance

patrick.seiffert
Hello.

I've got 2 questions.

1.
Concerning an alert-element in XForms it seems, that OPS does not render the given text of the alert.

I tried it on my own forms and as well in DMVForm the bound text is not displayed by the alert (have a look when omitting the last-name element).

What's wrong in there?


2.
In my XForm I'm linking an external instance-file. When trying to run the application the following error message is prompted:
"Response cannot be null".

The base-URI is: "/pat/form".
the initial-URI is: "form/initial-instance.xml"

Because the view is located at "/pat/form/form.xhtml" which is the same directory like the instance "/pat/form/initial-instance.xml" this should work for the resolved-URI.

So why the error?

Thank You for advice.
Regards,
Patrick



--
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: 1. alert - no text rendered AND 2. linking external instance

Erik Bruchez
Administrator
[hidden email] wrote:

> Hello.
>
> I've got 2 questions.
>
> 1.
> Concerning an alert-element in XForms it seems, that OPS does not render the given text of the alert.
>
> I tried it on my own forms and as well in DMVForm the bound text is not displayed by the alert (have a look when omitting the last-name element).
>
> What's wrong in there?
Nothing: OPS displays the text as the alert as a mouseover on the alert
icon.

> 2.
> In my XForm I'm linking an external instance-file. When trying to run the application the following error message is prompted:
> "Response cannot be null".
>
> The base-URI is: "/pat/form".
> the initial-URI is: "form/initial-instance.xml"
>
> Because the view is located at "/pat/form/form.xhtml" which is the same directory like the instance "/pat/form/initial-instance.xml" this should work for the resolved-URI.
>
> So why the error?
Because the base URI is in fact the external (HTTP) URI used to query
the page. If you want to include an instance that sits on the server
without going through HTTP, use the "oxf:" protocol instead.

-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