[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-server-cvs
Subject:    [Server-cvs]  admin/web/src/srvprxy mongraph.nc.html.wasm, 1.2.152.2, 1.2.152.3
From:       tniu () helixcommunity ! org
Date:       2013-02-28 2:32:00
[Download RAW message or body]

Update of /cvsroot/server/admin/web/src/srvprxy
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv15927

Modified Files:
      Tag: SERVER_15_0
	mongraph.nc.html.wasm 
Log Message:

Synopsis: 
===============
CR: fix bug 270811: undefined title - no refresh possible in Helix Monitor .

Branch: SERVER_15_0_RN, HEAD

Suggested Reviewers: Anyone

Description: 
===============
In the new Helix Monitor (see attached) the title of the pop-up window is "undefined" \
- This should be either removed or changed to the name of the location of the Server \
monitor (e.g. Servername).

Also, as the monitor is now in a pop-up window there are no "page refresh" 
options as you have in a normal web browser. If there is an issue with the monitor a \
error message is shown which says "Error: Connection to the server is lost. Refresh \
this page" - This is not possible. We should look to offer a "Page Refresh" link on \
the monitor page itself so users can click to refresh the page.

Solution:
===============
1. Set page title for server monitor.
2. About "Page Refresh" option, when encountering "Error: Connection to the server is \
lost", it is unuseful to refresh page, now you should logon server again. So I change \
the prompt to "Connection to server lost. Please logon again.", instead of \
"Connection to server lost. Refresh this page.".

Files affected
======================
server/admin/web/src/srvprxy/mongraph.nc.html.wasm
server/admin/web/build/server/mongraph.nc.html
server/admin/web/build/mserver/mongraph.nc.htm
server/admin/web/monitor/Monitor.java
server/admin/web/monitor/MsgListener.java

Test perform
================
Integration Tests:
In the Helix Monitor the title of the pop-up window is "defined, and user could \
refresh monitor window.

Performance Tests: 
N/A

QA Hints
========
None

Index: mongraph.nc.html.wasm
===================================================================
RCS file: /cvsroot/server/admin/web/src/srvprxy/mongraph.nc.html.wasm,v
retrieving revision 1.2.152.2
retrieving revision 1.2.152.3
diff -u -d -r1.2.152.2 -r1.2.152.3
--- mongraph.nc.html.wasm	4 Sep 2012 06:04:33 -0000	1.2.152.2
+++ mongraph.nc.html.wasm	28 Feb 2013 02:31:52 -0000	1.2.152.3
@@ -29,6 +29,10 @@
 		top.theCookieJar.store();
 	}
 }
+
+var origTitle = "<@=TEXT("Administrator")@>: " + location.hostname ;
+document.write( "<TITLE>" + origTitle + "</TITLE>" );
+
 </SCRIPT>
 
 </HEAD>


_______________________________________________
Server-cvs mailing list
Server-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/server-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic