loadingMessage in HTMLFlow

Hi there,

I am unable to get a loadingMessage to display in an HTMLFlow for some reason. My HTMLFlow component looks like this:

         isc.HTMLFlow.create({ 
    	ID:"symbolLookupPane",
    	contentsType:"page",
        width:650,
        height:350,
        contentsURL:"",
        loadingMessage:"Loading..."
		});

       //followed later by
      symbolLookupPane.setContentsURL(constructSymbolLookupURL(name));

We never see the loading message get dispalyed on initial load or during subsequent calls to setContentsURL though? Any ideas?

Hi Senordhuff,
The ‘loadingMessage’ will only display if the the contentsType property for the HTMLFlow is unset, or set to “fragment”. When loading complete pages (contentsType:“page”, as in your example) the loadingMessage will not be displayed.

This is actually mentioned in the documentation here, but we’ll ensure it’s also called out in the docs for the loadingMessage attribute in the next release for clarity

Thanks
Isomorphic Software

Thank you for the clarification. Is there any way to do anything even closely approximating a loadingMessage when using contentsType:“page” ? Most importantly, I’d like to clear the current contents and then not display anything again until the page has reloaded when the user refreshes the contents of the HTMLFlow.

Probably the simplest thing to do is destroy the old HTMLFlow and make a new one in it’s place.