Produced by Araxis Merge on 7/10/2017 1:02:03 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | C:\AraxisMergeCompare\Pri_un\WAR\VixCacheWebApp-0.1 | index.jsp | Sat Oct 1 19:35:14 2016 UTC |
| 2 | C:\AraxisMergeCompare\Pri_re\WAR\VixCacheWebApp-0.1 | index.jsp | Thu Jul 6 17:16:48 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 386 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | <%@ page l anguage="j ava" impor t="java.ut il.*" | |
| 2 | im port="gov. va.med.cac he.*" impo rt="gov.va .med.imagi ng.cache.* " | |
| 3 | pa geEncoding ="ISO-8859 -1"%> | |
| 4 | ||
| 5 | <%@ taglib prefix="c " uri="htt p://java.s un.com/jsp /jstl/core "%> | |
| 6 | <%@ taglib uri="http ://java.su n.com/jsp/ jstl/funct ions" pref ix="fn"%> | |
| 7 | <%@ taglib uri="http ://imaging . URL /cache" pr efix="f"%> | |
| 8 | ||
| 9 | <jsp:useBe an id="ite mPath" | |
| 10 | cl ass="gov.v a.med.imag ing.cache. CacheItemP ath" scope ="request" /> | |
| 11 | ||
| 12 | <jsp:setPr operty nam e="itemPat h" propert y="cacheNa me" param= "cache" /> | |
| 13 | <jsp:setPr operty nam e="itemPat h" propert y="regionN ame" param ="region" /> | |
| 14 | <jsp:setPr operty nam e="itemPat h" propert y="groupNa mes" param ="group" / > | |
| 15 | <jsp:setPr operty nam e="itemPat h" propert y="instanc eName" | |
| 16 | pa ram="insta nce" /> | |
| 17 | ||
| 18 | <% | |
| 19 | St ring path = request. getContext Path(); | |
| 20 | re quest.setA ttribute(" metadata", | |
| 21 | Ca cheManagem entService .resolveMe tadata(ite mPath)); | |
| 22 | Li st<Abstrac tNamedVO> children = CacheMana gementServ ice | |
| 23 | .r esolveChil dren(itemP ath); | |
| 24 | re quest.setA ttribute(" children", children) ; | |
| 25 | re quest.setA ttribute(" numChildre n", childr en.size()) ; | |
| 26 | %> | |
| 27 | <!DOCTYPE html> | |
| 28 | <html> | |
| 29 | <head> | |
| 30 | <title>VIX Cache Man ager</titl e> | |
| 31 | <meta http -equiv="pr agma" cont ent="no-ca che"> | |
| 32 | <meta http -equiv="ca che-contro l" content ="no-cache "> | |
| 33 | <meta http -equiv="ex pires" con tent="0"> | |
| 34 | <meta http -equiv="ke ywords" co ntent="key word1,keyw ord2,keywo rd3"> | |
| 35 | <meta http -equiv="de scription" content=" This is my page"> | |
| 36 | </head> | |
| 37 | ||
| 38 | <body> | |
| 39 | <h eader> | |
| 40 | <h1> VIX Cache Manager</h 1> | |
| 41 | <scr ipt type=" text/javas cript" src ="jquery-1 .9.1.min.j s"></scrip t> | |
| 42 | <scr ipt type=" text/javas cript"> | |
| 43 | functi on deleteI tem(item) { | |
| 44 | var conf irmQuestio n = "Are y ou sure yo u want to delete " + item | |
| 45 | + "?"; | |
| 46 | if (conf irm(confir mQuestion) ) { | |
| 47 | $ | |
| 48 | .aja x({ | |
| 49 | url : 'cacheitem ' + item, | |
| 50 | type : 'DELETE', | |
| 51 | succes s : functi on(data, t extStatus, jqXHR) { | |
| 52 | var mess age = this .url.subst ring(this. url | |
| 53 | .i ndexOf("/" )); | |
| 54 | message += " has b een queued for delet ion." | |
| 55 | + " The cach e may take a minute to actuall y delete t he item."; | |
| 56 | alert(me ssage); | |
| 57 | window.l ocation.as sign("?" + data); | |
| 58 | }, | |
| 59 | error : function (jqXHR, te xtStatus, errorThrow n) { | |
| 60 | alert("e rror: " + errorThrow n + " " | |
| 61 | + this.url); | |
| 62 | } | |
| 63 | }); | |
| 64 | } | |
| 65 | } | |
| 66 | </sc ript> | |
| 67 | </ header> | |
| 68 | <c :if test=" ${itemPath .cacheName != null}" > | |
| 69 | <div role="nav igation"> | |
| 70 | <a hre f="">Home< /a> | |
| 71 | <c:for Each var=" breadCrumb " items="$ {itemPath. ancestors} "> | |
| 72 | <a href= "?${f:buil dQueryStri ng(breadCr umb) }">${ breadCrumb .name}</a> : | |
| 73 | </c:fo rEach> | |
| 74 | ${item Path.name} | |
| 75 | </di v> | |
| 76 | <sec tion id="d etails"> | |
| 77 | <c:cho ose> | |
| 78 | <c:when test='${ i temPath.it emType == "cache" }' > | |
| 79 | <h3>Cache Informatio n</h3> | |
| 80 | <table> | |
| 81 | <t r> | |
| 82 | <td> URI:</td> | |
| 83 | <td> ${metadata .cacheUri} </td> | |
| 84 | </ tr> | |
| 85 | <t r> | |
| 86 | <td> Location:< /td> | |
| 87 | <td> ${metadata .location} </td> | |
| 88 | </ tr> | |
| 89 | <t r> | |
| 90 | <td> Protocol:< /td> | |
| 91 | <td> ${metadata .protocol} </td> | |
| 92 | </ tr> | |
| 93 | </table> | |
| 94 | </c:when > | |
| 95 | <c:when test='${ i temPath.it emType == "region" } '> | |
| 96 | <h3>Region Informati on</h3> | |
| 97 | <table> | |
| 98 | <t r> | |
| 99 | <td> Total Spac e:</td> | |
| 100 | <td> ${metadata .totalSpac eFormatted }</td> | |
| 101 | </ tr> | |
| 102 | <t r> | |
| 103 | <td> Used Space :</td> | |
| 104 | <td> ${metadata .usedSpace Formatted} </td> | |
| 105 | </ tr> | |
| 106 | </table> | |
| 107 | </c:when > | |
| 108 | <c:when test='${ i temPath.it emType == "group" }' > | |
| 109 | <h3>Group Informatio n</h3> | |
| 110 | <table> | |
| 111 | <t r> | |
| 112 | <td> Size:</td> | |
| 113 | <td> ${metadata .sizeForma tted}</td> | |
| 114 | </ tr> | |
| 115 | <% -- <tr> | |
| 116 | <td> Created:</ td> | |
| 117 | <td> ${metadata .createDat e}</td> | |
| 118 | </ tr> --%> | |
| 119 | <t r> | |
| 120 | <td> Last Acces sed:</td> | |
| 121 | <td> ${metadata .lastAcces sDate}</td > | |
| 122 | </ tr> | |
| 123 | <t r> | |
| 124 | <td> Type:</td> | |
| 125 | <td> ${f:getGro upSemantic Type(itemP ath.cacheN ame, | |
| 126 | itemPa th.regionN ame, fn:le ngth(itemP ath.groupN ames) - 1) }</td> | |
| 127 | </ tr> | |
| 128 | </table> | |
| 129 | <input typ e="button" value="De lete" | |
| 130 | on Click="del eteItem('$ {f:createP athInfo(it emPath)}') " /> | |
| 131 | </c:when > | |
| 132 | <c:when test='${ i temPath.it emType == "instance" }'> | |
| 133 | <h3>Instan ce Informa tion</h3> | |
| 134 | <table> | |
| 135 | <t r> | |
| 136 | <td> Size:</td> | |
| 137 | <td> ${metadata .sizeForma tted}</td> | |
| 138 | </ tr> | |
| 139 | <% -- <tr> | |
| 140 | <td> Created:</ td> | |
| 141 | <td> ${metadata .createDat e}</td> | |
| 142 | </ tr> --%> | |
| 143 | <t r> | |
| 144 | <td> Last Acces sed:</td> | |
| 145 | <td> ${metadata .lastAcces sDate}</td > | |
| 146 | </ tr> | |
| 147 | <% -- <tr> | |
| 148 | <td> Media Type :</td> | |
| 149 | <td> ${metadata .mediaType }</td> | |
| 150 | </ tr> --%> | |
| 151 | <t r> | |
| 152 | <td> Checksum:< /td> | |
| 153 | <td> ${metadata .checksum} </td> | |
| 154 | </ tr> | |
| 155 | <t r> | |
| 156 | <td> Type:</td> | |
| 157 | <td> ${f:getIns tanceSeman ticType(it emPath.cac heName, | |
| 158 | itemPa th.regionN ame)}</td> | |
| 159 | </ tr> | |
| 160 | </table> | |
| 161 | <input typ e="button" value="De lete" | |
| 162 | on Click="del eteItem('$ {f:createP athInfo(it emPath)}') " /> | |
| 163 | </c:when > | |
| 164 | </c:ch oose> | |
| 165 | </se ction> | |
| 166 | </ c:if> | |
| 167 | <c :if test=" ${ itemPat h.instance Name == nu ll }"> | |
| 168 | <sec tion id="c hildren"> | |
| 169 | <h3>Co ntents</h3 > | |
| 170 | <c:cho ose> | |
| 171 | <c:when test='${ n umChildren > 0 }'> | |
| 172 | <div style ="margin-l eft: 50px" > | |
| 173 | <t able> | |
| 174 | <c:f orEach var ="child" i tems="${ch ildren}"> | |
| 175 | <tr> | |
| 176 | <c:if | |
| 177 | test='${ c hild.path. itemType = = "group" || child.p ath.itemTy pe == "ins tance" }'> | |
| 178 | <td><input type="but ton" value ="Delete" | |
| 179 | on Click="del eteItem('$ {f:createP athInfo(ch ild.path)} ')" /> | |
| 180 | </td> | |
| 181 | </c:if> | |
| 182 | <td><a h ref="?${f: buildQuery String(chi ld.path) } ">${ | |
| 183 | ch ild.name}< /a></td> | |
| 184 | </tr> | |
| 185 | </c: forEach> | |
| 186 | </ table> | |
| 187 | </div> | |
| 188 | </c:when > | |
| 189 | <c:when test='${ n umChildren == 0 }'>E mpty</c:wh en> | |
| 190 | </c:ch oose> | |
| 191 | </se ction> | |
| 192 | </ c:if> | |
| 193 | </body> | |
| 194 | </html> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.