Examples of ItsNatHTMLInputTextBased


Examples of org.itsnat.comp.text.ItsNatHTMLInputTextBased

    {
        // Evento "change"
        ItsNatDOMStdEvent itsNatEvent = (ItsNatDOMStdEvent)evt;
        ItsNatHTMLDocument itsNatDoc = (ItsNatHTMLDocument)itsNatEvent.getItsNatDocument();
        ItsNatComponentManager componentMgr = itsNatDoc.getItsNatComponentManager();
        ItsNatHTMLInputTextBased input = (ItsNatHTMLInputTextBased)componentMgr.findItsNatComponent((Node)evt.getCurrentTarget());

        if (updateAgainToTest)
            input.setText(input.getText() + "-ok-"); // Para testear que hemos recibido el valor del cliente y que podemos cambiarlo desde el servidor. Al llegar al navegador no provoca a su vez un nuevo evento change pues el evento est� asociado a la p�rdida de foco (lo cual no ocurre en la actualizaci�n via JavaScript)

        outText("OK " + evt.getType() + " "); // Para que se vea
       
        String type = evt.getType();
        if (type.equals("keyup") || type.equals("keydown"))
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.