<xforms:help> broken in nightly?

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

<xforms:help> broken in nightly?

Mike Leary

Just wondering if it's a known issue or just me.

Instead of the nice (?) graphic with popup help, I have the word "Help".

cheers

--



--
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: <xforms:help> broken in nightly?

Mike Leary
Ah ...

The src for the image (and other things?) is an absolute path
"/ops/images/xforms/help.gif", which won't work if you've changed your
context root to be ROOT (and maybe also if your app is configured as the
default context?) AND you also have /ops installed.

[In /ops the path would resolve to
server:port/ops/ops/images/xforms/help.gif, but running in a default
context (ROOT) the path resolves to
server:port/ops/images/xforms/help.gif, which is in the ops app, not the
default context]

I undeployed /ops and it worked fine.  Renamed 'ops.war' to 'xf.war',
redeployed, and all is working again.

:p

--



--
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: <xforms:help> broken in nightly?

Erik Bruchez
Administrator
Mike,

I downloaded the nightly WAR, deployed it as /newops/, and I do see the
help icons in the XForms Controls example.

Furthermore, yes, the path in the source files is:

   /ops/images/xforms/help.gif

but this path will be rewritten in the epilogue to:

   /[context]/ops/images/xforms/help.gif

So if you install Orbeon Forms under the context /ops, the final path
will be:

   /ops/ops/images/xforms/help.gif

And this is the correct place where to look for that resource!

Where do you see the help icons missing? Did you remove URL rewriting in
the epilogue by any chance?

-Erik

Mike Leary wrote:

> Ah ...
>
> The src for the image (and other things?) is an absolute path
> "/ops/images/xforms/help.gif", which won't work if you've changed your
> context root to be ROOT (and maybe also if your app is configured as the
> default context?) AND you also have /ops installed.
>
> [In /ops the path would resolve to
> server:port/ops/ops/images/xforms/help.gif, but running in a default
> context (ROOT) the path resolves to
> server:port/ops/images/xforms/help.gif, which is in the ops app, not the
> default context]
>
> I undeployed /ops and it worked fine.  Renamed 'ops.war' to 'xf.war',
> redeployed, and all is working again.
>
> :p
--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws