From 85734e4b1e18f3b96b8341e79b47b8503b97cde7 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 11 Feb 2013 22:16:57 +1300 Subject: Fix broken build --- src/org/traccar/web/client/Traccar.java | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) (limited to 'src/org') diff --git a/src/org/traccar/web/client/Traccar.java b/src/org/traccar/web/client/Traccar.java index c596972d..3b4bfda7 100644 --- a/src/org/traccar/web/client/Traccar.java +++ b/src/org/traccar/web/client/Traccar.java @@ -29,37 +29,7 @@ public class Traccar implements EntryPoint, LoginController.LoginHandler { @Override public void onModuleLoad() { - //new LoginController().login(this); - - try { - String messageXml = "12"; - //parse the XML document into a DOM - String x = XmlParser.getElement(messageXml, "b"); - XmlParser.enumerateElements(messageXml); - - - - - - // find the sender's display name in an attribute of the tag - /*Node fromNode = messageDom.getElementsByTagName("from").item(0); - String from = ((Element)fromNode).getAttribute("displayName"); - fromLabel.setText(from); - - // get the subject using Node's getNodeValue() function - String subject = messageDom.getElementsByTagName("subject").item(0).getFirstChild().getNodeValue(); - subjectLabel.setText(subject); - - // get the message body by explicitly casting to a Text node - Text bodyNode = (Text)messageDom.getElementsByTagName("body").item(0).getFirstChild(); - String body = bodyNode.getData(); - bodyLabel.setText(body);*/ - - new AlertMessageBox("Info", "a=" + x).show(); - - } catch (DOMException e) { - new AlertMessageBox("Error", e.getMessage()).show(); - } + new LoginController().login(this); } @Override -- cgit v1.2.3