Good question and sorry I don't have as good an answer. Firstly, I suggest you raise a JIRA issue to track this problem. Something we can reference when you work out a solution and provide a fix. :)
From memory, the InsertFeature button is a one state button. Press it, and it returns to the same state. What you need is to use something similar to a two-state button. Usually you press a two state button and it turns on. Press it again and it turns off. However, in your case, you want to press the button, turn it on, press again and it does nothing. The button turns off by registering for an event from the Response model. When the event is received the button is turned off. (I apologize for not using the correct terminology here, I'm on a bus and don't have access to the source code). [EMAIL PROTECTED] wrote: > > I've the problem of clicking on a button twice before the first click's > response is received. For example: If I click on the insert button, it > might take a few seconds for the screen to update and the item to be > inserted. During this time the button on the screen does not represent > the state on the server, and clicking again might cause an duplicated > insertion. > > How can i correct this problem? > > Thanks > La informacin contenida en este mensaje de correo electrnico es > confidencial. La misma es enviada con la intencin de que nicamente sea > leda por la persona(s) a la(s) que va dirigida. El acceso a este mensaje por > otras personas no esta autorizado. Si Vd. no es la persona a la que va > dirigido, cualquier divulgacin, copia, distribucin de la informacin queda > prohibida y puede ser ilegal. Asimismo, cualquier accin tomada o dejada de > tomar basada en la informacin contenida en este mensaje queda prohibido y > puede ser ilegal. Si el mensaje va dirigido a clientes, las opiniones o > recomendaciones contenidas en el mensaje se entienden sujetas a los trminos > y condiciones expresadas en la carta de encargo del trabajo del cliente del > GRUPO EP que corresponda. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > mapbuilder-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ mapbuilder-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
