Hi! The best solution is to assign logic which links should show veil and which should not:
Here is a pseudo example taken from http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html: if ((clickedElement.tagName.toUpperCase() == 'A' && ((clickedElement.target == null) || (clickedElement.target.length <= 0)) && (clickedElement.href.lastIndexOf('#') != (clickedElement.href.length-1)) && (!('nobusy' in clickedElement)) && (clickedElement.href.indexOf('skype') < 0) && (clickedElement.href.indexOf('mailto') < 0) && (clickedElement.href.indexOf('WicketAjaxDebug') < 0) && (clickedElement.href.lastIndexOf('.doc') != (clickedElement.href.length-4)) && (clickedElement.href.lastIndexOf('.csv') != (clickedElement.href.length-4)) && (clickedElement.href.lastIndexOf('.xls') != (clickedElement.href.length-4)) && ((clickedElement.onclick == null) || (clickedElement.onclick.toString().indexOf('window.open') <= 0)) ) ** Martin 2010/1/29 Douglas Ferguson <[email protected]>: > Implemented the veil and was disappointed to see that it shows up every time > I click a link. > > Is it possible to have the veil be invisible unless the process it taking > more the X seconds to respond? > > D/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
