Produced by Araxis Merge on 6/9/2017 3:51:46 PM Eastern 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 | Fri Jun 9 19:51:46 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-web\src\main\webapp\WEB-INF\web | setDefaultFacility.jsp | Fri Apr 21 20:15:58 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 125 |
| 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 | <%@taglib tagdir="/W EB-INF/tag s/formatti ng" prefix ="f" %> | |||||
| 2 | <%@taglib uri="http: //java.sun .com/jsp/j stl/core" prefix="c" %> | |||||
| 3 | <%@taglib tagdir="/W EB-INF/tag s/cpp" pre fix="cpp"% > | |||||
| 4 | <%@taglib uri="http: //java.sun .com/jsp/j stl/functi ons" prefi x="fn"%> | |||||
| 5 | ||||||
| 6 | <f:mainTem plate head erText="Se t Default Facility"> | |||||
| 7 | <scrip t type="te xt/javascr ipt"> | |||||
| 8 | fu nction doS ubmit(form ) { | |||||
| 9 | //popup( 'processin gDIV'); | |||||
| 10 | return t rue; | |||||
| 11 | } | |||||
| 12 | fu nction ena bleObject( arg) { | |||||
| 13 | var elmt = documen t.getEleme ntById(arg ); | |||||
| 14 | if (elmt != null) { | |||||
| 15 | elmt .disabled = false; | |||||
| 16 | } | |||||
| 17 | } | |||||
| 18 | fu nction dis ableObject (arg) { | |||||
| 19 | var elmt = documen t.getEleme ntById(arg ); | |||||
| 20 | if (elmt != null) { | |||||
| 21 | elmt .disabled = true; | |||||
| 22 | } | |||||
| 23 | } | |||||
| 24 | fu nction for mShow(id) { | |||||
| 25 | var elmt = documen t.getEleme ntById(id) ; | |||||
| 26 | if (elmt != null) { | |||||
| 27 | elmt .style.dis play = ""; | |||||
| 28 | } | |||||
| 29 | } | |||||
| 30 | fu nction for mHide(id) { | |||||
| 31 | var elmt = documen t.getEleme ntById(id) ; | |||||
| 32 | if (elmt != null) { | |||||
| 33 | elmt .style.dis play = "no ne"; | |||||
| 34 | } | |||||
| 35 | } | |||||
| 36 | fu nction che ckState() { | |||||
| 37 | //only r un the fir st time | |||||
| 38 | var stat e = '${fac ilityState }'; | |||||
| 39 | newState (state); | |||||
| 40 | document .getElemen tById("fac ility").fo cus(); | |||||
| 41 | } | |||||
| 42 | ||||||
| 43 | fu nction new State(curr entState) { | |||||
| 44 | if (curr entState = = "manual" ) { | |||||
| 45 | //hi de auto an d none | |||||
| 46 | form Hide('cont ent-page-a uto'); | |||||
| 47 | form Hide('cont ent-page-n one'); | |||||
| 48 | form Hide('cont ent-page-l abel-auto' ); | |||||
| 49 | form Hide('cont ent-page-l abel-none' ); | |||||
| 50 | docu ment.getEl ementById( 'removeMan ualFacilit y').disabl ed = false ; | |||||
| 51 | //sh ow manual state | |||||
| 52 | form Show('cont ent-page-m anual'); | |||||
| 53 | form Show('cont ent-page-l abel-manua l'); | |||||
| 54 | } else i f (current State == " auto") { | |||||
| 55 | //hi de manual and none | |||||
| 56 | form Hide('cont ent-page-m anual'); | |||||
| 57 | form Hide('cont ent-page-n one'); | |||||
| 58 | form Hide('cont ent-page-l abel-manua l'); | |||||
| 59 | form Hide('cont ent-page-l abel-none' ); | |||||
| 60 | docu ment.getEl ementById( 'removeMan ualFacilit y').disabl ed = true; | |||||
| 61 | //sh ow auto st ate | |||||
| 62 | form Show('cont ent-page-a uto'); | |||||
| 63 | form Show('cont ent-page-l abel-auto' ); | |||||
| 64 | } else { | |||||
| 65 | //hi de manual and auto | |||||
| 66 | form Hide('cont ent-page-m anual'); | |||||
| 67 | form Hide('cont ent-page-a uto'); | |||||
| 68 | form Hide('cont ent-page-l abel-manua l'); | |||||
| 69 | form Hide('cont ent-page-l abel-auto' ); | |||||
| 70 | docu ment.getEl ementById( 'removeMan ualFacilit y').disabl ed = true; | |||||
| 71 | //sh ow none st ate | |||||
| 72 | form Show('cont ent-page-n one'); | |||||
| 73 | form Show('cont ent-page-l abel-none' ); | |||||
| 74 | } | |||||
| 75 | } | |||||
| 76 | $( document). ready(func tion () { | |||||
| 77 | checkSta te(); | |||||
| 78 | }) ; | |||||
| 79 | </scri pt> | |||||
| 80 | <div> | |||||
| 81 | <d iv id="con tent-page- manual" cl ass="well" style="di splay: non e;">Your d efault fac ility is m anually se t to <c:ou t value="$ {visualDef aultUserFa cility}"/> </div> | |||||
| 82 | <d iv id="con tent-page- auto" clas s="well" s tyle="disp lay: none; ">Your def ault facil ity is aut omatically set to <c :out value ="${visual DefaultUse rFacility} "/>, based on your u ser ID.</d iv> | |||||
| 83 | <d iv id="con tent-page- none" clas s="well" s tyle="disp lay: none; ">You do n ot current ly have a default fa cility. To set a def ault Facil ity, choos e a facili ty from th e drop dow n list and click Set Default F acility.</ div> | |||||
| 84 | <d iv id="con tent-page- label-manu al" class= "well" sty le="displa y: none;"> To change your defau lt setting , choose a facility from the d rop down l ist and cl ick Set De fault Faci lity. To r emove your default s etting and revert to the autom atic syste m setting, click Rem ove Defaul t Facility </div> | |||||
| 85 | <d iv id="con tent-page- label-auto " class="w ell" style ="display: none;">To change yo ur default setting, choose a f acility fr om the dro p down lis t and clic k Set Defa ult Facili ty. *Note: the optio n to remov e the auto matic syst em is not available. </div> | |||||
| 86 | </div> | |||||
| 87 | <cpp:e rrors /> | |||||
| 88 | <div c lass="form -container "> | |||||
| 89 | <f orm name=" setDefault FacilityFo rm" action ="SetDefau ltFacility .do_sec" m ethod="POS T" onsubmi t="return doSubmit(t his)"> | |||||
| 90 | <div> | |||||
| 91 | <lab el for="fa cility" cl ass="vap-r eg-label"> <strong>VA Facility </strong>< /label> | |||||
| 92 | <sel ect id="fa cility" na me="facili ty" data-t ooltip="<c :out value ="${descri ptors['def aultFacili tyField']} "/>"> | |||||
| 93 | <c:forEach var="f" i tems="${fa cilities}" > | |||||
| 94 | <optio n value="< c:out valu e="${f.fac ilityStati on}"/>" | |||||
| 95 | <c :choose> | |||||
| 96 | <c:when test="${f. facilitySt ation eq d efaultUser Facility.f acilitySta tion}"> | |||||
| 97 | sele cted | |||||
| 98 | </c:when > | |||||
| 99 | <c:when test="${co okie.facil ity.value == f.facil ityStation }"> | |||||
| 100 | sele cted | |||||
| 101 | </c:when > | |||||
| 102 | </ c:choose>> | |||||
| 103 | <c :choose> | |||||
| 104 | <c:when test="${f. facilityNa me != ''}" > | |||||
| 105 | <c:o ut value=" ${f.facili tyName}"/> | |||||
| 106 | </c:when > | |||||
| 107 | <c:other wise> | |||||
| 108 | <c:o ut value=" ${fn:split (f.facilit yDns, '.') [0]}"/> | |||||
| 109 | </c:othe rwise> | |||||
| 110 | </ c:choose> | |||||
| 111 | (< c:out valu e="${f.fac ilityStati on}"/>) | |||||
| 112 | </opti on> | |||||
| 113 | </c:forEac h> | |||||
| 114 | </se lect> | |||||
| 115 | </div> | |||||
| 116 | <br /> | |||||
| 117 | <div> | |||||
| 118 | <inp ut id="set ManualFaci lity" name ="setManua lFacility" data-tool tip="<c:ou t value="$ {descripto rs['setDef aultFacili tyButton'] }" />" cla ss="button " type="su bmit" valu e="Set Def ault Facil ity" /> | |||||
| 119 | <spa n id="remo veManualFa cilityTip" > | |||||
| 120 | <input id= "removeMan ualFacilit y" name="r emoveManua lFacility" title="Re move Defau lt Facilit y" class=" button" ty pe="submit " value="R emove Defa ult Facili ty" style= "z-index: -1;" data- tooltip="< c:out valu e="${descr iptors['re moveDefaul tFacilityB utton']}"/ >" /> | |||||
| 121 | </sp an> | |||||
| 122 | </div> | |||||
| 123 | </ form> | |||||
| 124 | </div> | |||||
| 125 | </f:mainTe mplate> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.