Re: [Xsltforms-support] Select1 box: What is the reason for the delay?
Brought to you by:
alain-couthures
From: Alain C. <ala...@ag...> - 2013-03-13 21:08:20
|
Hello Peter, There is no specific reason for a select1 control to be slow. Probably, there is a refresh just after selecting one item and the size/structure of the corresponding instance might be the cause of this. The involved XPath expressions might also require a lot of time, for example if the // operator is used. You can use the XSLTForms Profiler (pressing F1 to be in the Debug Mode) and the native IE Script Profiler to locate functions/methods with heavy execution times. There are many ways for optimizing and I would need a testcase or a remote access to diagnose. Thank you for your feedbacks! -Alain Le 13/03/2013 16:43, peter winstanley a écrit : > > Dear List > > I have a simple XForm using XMLSTForms rev 565 within eXist-db > version2.0. The form has a simple select1 control in it. The control > setting is selection="closed". > > I am viewing the form on an IE9/Windows 7 machine. The IE9 is in IE9 > mode, not one of the other mode options. > > When the control value is changed the dropdown with the various > options stays open for some seconds and during this time there is > significant processor activity as seen in the Task Manager. I would > have expected the new selection of an option in the select1 box to > have been instantaneous. > > Any ideas on what is happening, and how I can improve this to provide > an instantaneous change to the selection of a new value? > > Many thanks > > Peter > |