diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-11 22:16:57 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-02-11 22:16:57 +1300 |
commit | 85734e4b1e18f3b96b8341e79b47b8503b97cde7 (patch) | |
tree | 84c0bbf2e1fb1b3cdfe1bf58c312420ff25663d2 /src/org/traccar/web/client/Traccar.java | |
parent | 42be63886456eb163bb364d8a8f953795dc87b49 (diff) | |
download | trackermap-web-85734e4b1e18f3b96b8341e79b47b8503b97cde7.tar.gz trackermap-web-85734e4b1e18f3b96b8341e79b47b8503b97cde7.tar.bz2 trackermap-web-85734e4b1e18f3b96b8341e79b47b8503b97cde7.zip |
Fix broken build
Diffstat (limited to 'src/org/traccar/web/client/Traccar.java')
-rw-r--r-- | src/org/traccar/web/client/Traccar.java | 32 |
1 files changed, 1 insertions, 31 deletions
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 = "<a>1</a><b>2</b>"; - //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 <from> 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 |