Loading image disappeared

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

Loading image disappeared

Ryan Puddephatt

Hi all,

            I’ve noticed that the loading image normally at the top left of the page doesn’t show since a recent nightly build. At first I thought my application had created an exception, but then data appeared. Is it possible to re-implement this as Tamino queries can occasionally take a long time to return data, but in the meantime the page looks as it its doing nothing!

 

Thanks

 

Ryan Puddephatt

Web Developer

TFX Group

1 Michaelson Square

Livingston

West Lothian

Scotand

EH54 7DP

 

* [hidden email]

( 01506 407 110

7  01506 407 108

 

 



--
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: Loading image disappeared

Erik Bruchez
Administrator
Ryan Puddephatt wrote:
> Hi all,
>
>             I?ve noticed that the loading image normally at the top left
> of the page doesn?t show since a recent nightly build. At first I
> thought my application had created an exception, but then data appeared.
> Is it possible to re-implement this as Tamino queries can occasionally
> take a long time to return data, but in the meantime the page looks as
> it its doing nothing!

You can do this by changing, in xforms-to-ajax-xhtml.xsl:

<xsl:variable name="display-loading" as="xs:boolean" select="false()"/>

to:

<xsl:variable name="display-loading" as="xs:boolean" select="true()"/>

This file will disappear soon (next week probably) though, but the
configuration will be then possible from properties.xml with the
following property:

<property as="xs:boolean" name="oxf.xforms.ajax.show-loading-icon"
          value="true"/>

-Erik



--
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