Révision 11
projets/BCCCC/src/org/ccc/bcccc/client/areas/fields/PublicationRecordField.java (revision 11) | ||
---|---|---|
72 | 72 |
this.setNumCols(7); |
73 | 73 |
|
74 | 74 |
userField = new TextItem("pubuser"+(n)); |
75 |
userField.setTitle("User");
|
|
75 |
userField.setTitle("Auteur(s)");
|
|
76 | 76 |
|
77 | 77 |
urlField = new TextItem("puburl"+(n)); |
78 | 78 |
urlField.setTitle("URL"); |
... | ... | |
98 | 98 |
} |
99 | 99 |
|
100 | 100 |
/** |
101 |
* Sets the value. |
|
101 |
* Sets the Publication value.
|
|
102 | 102 |
* |
103 | 103 |
* @param r the new value |
104 | 104 |
*/ |
... | ... | |
109 | 109 |
} |
110 | 110 |
|
111 | 111 |
/** |
112 |
* Gets the value. |
|
112 |
* Gets the Publication value.
|
|
113 | 113 |
* |
114 | 114 |
* @return the value |
115 | 115 |
*/ |
116 | 116 |
public Publication getValue() { |
117 | 117 |
r.type = typeField.getValueAsString(); |
118 |
|
|
118 | 119 |
Object o = urlField.getValue(); |
119 | 120 |
if (o != null) r.url = urlField.getValue().toString(); |
120 | 121 |
else r.url = ""; |
121 | 122 |
|
122 | 123 |
o = userField.getValue(); |
123 | 124 |
if (o != null) r.user = userField.getValue().toString(); |
124 |
r.user = ""; |
|
125 |
else r.user = ""; |
|
126 |
|
|
125 | 127 |
return r; |
126 | 128 |
} |
127 | 129 |
} |
projets/BCCCC/src/org/ccc/bcccc/client/panels/SearchPanel.java (revision 11) | ||
---|---|---|
111 | 111 |
|
112 | 112 |
wordsField = new TextItem(K.WORDS, "Recherche par mot"); |
113 | 113 |
|
114 |
checkboxTypes = new CheckboxItem("enable_"+K.TYPES, "");
|
|
114 |
checkboxTypes = new CheckboxItem("enable_"+K.TYPES, ""); |
|
115 | 115 |
checkboxTypes.setShowTitle(false); |
116 | 116 |
checkboxTypes.setHeight(20); |
117 | 117 |
checkboxTypes.setValue(true); |
projets/BCCCC/src/org/ccc/bcccc/server/GreetingServiceImpl.java (revision 11) | ||
---|---|---|
228 | 228 |
|
229 | 229 |
String words = ""; |
230 | 230 |
Pattern p = null; |
231 |
if (critera.get(K.WORDS) != null && words.length() > 0) {
|
|
231 |
if (critera.get(K.WORDS) != null && critera.get(K.WORDS).length() > 0) {
|
|
232 | 232 |
words = addBackSlash(critera.get(K.WORDS)).toLowerCase().replace(" ", "|"); |
233 | 233 |
try { |
234 | 234 |
p = Pattern.compile(words); |
... | ... | |
269 | 269 |
NUMBEROFCRITERA++; |
270 | 270 |
} |
271 | 271 |
|
272 |
if (NUMBEROFCRITERA == 0) { |
|
273 |
log.warning("getRecordWithComplexCritera: aucun critère sélectionné"); |
|
274 |
return searched_records; |
|
275 |
} |
|
276 |
|
|
272 | 277 |
log.info("getRecordWithComplexCritera: NUMBEROFCRITERA="+NUMBEROFCRITERA+" WORDS="+words+", TYPES="+types+" DISPOSITIFS="+dispositifs+" SUPPORTS="+supports+" PROJECTS="+projets+" NUMBEROFPARTICIPANTS="+numberOfParticipants); |
273 | 278 |
|
274 | 279 |
int match_counter = 0; |
... | ... | |
302 | 307 |
|
303 | 308 |
if (matchOne && match_counter >= 1) { |
304 | 309 |
searched_records.add(record); |
305 |
log.info(" "+record.uniq_id+" found."); |
|
310 |
log.info(" "+record.uniq_id+" found with ONE critera valid.");
|
|
306 | 311 |
} else if (!matchOne && match_counter == NUMBEROFCRITERA) { |
307 | 312 |
searched_records.add(record); |
308 |
log.info(" "+record.uniq_id+" found."); |
|
313 |
log.info(" "+record.uniq_id+" found with ALL critera valid.");
|
|
309 | 314 |
} |
310 | 315 |
} |
311 | 316 |
|
projets/BCCCC/src/org/ccc/bcccc/server/RecordsDB.java (revision 11) | ||
---|---|---|
38 | 38 |
import org.ccc.bcccc.shared.DocumentUnit; |
39 | 39 |
import org.ccc.bcccc.shared.K; |
40 | 40 |
import org.ccc.bcccc.shared.Person; |
41 |
import org.ccc.bcccc.shared.Publication; |
|
41 | 42 |
import org.ccc.bcccc.shared.Report; |
42 | 43 |
import org.ccc.bcccc.shared.TerrainRecord; |
43 | 44 |
import org.w3c.dom.Document; |
... | ... | |
260 | 261 |
} |
261 | 262 |
|
262 | 263 |
|
263 |
// get documentations
|
|
264 |
// get reports
|
|
264 | 265 |
NodeList reports = rootElement.getElementsByTagName(K.REPORT); |
265 | 266 |
for (int i=0; i<reports.getLength(); i++){ |
266 | 267 |
Element node = (Element)(reports.item(i)); |
... | ... | |
271 | 272 |
String comment = node.getTextContent(); |
272 | 273 |
record.reports.add(new Report(userID, comment, inote)); |
273 | 274 |
} |
275 |
|
|
276 |
// get publications |
|
277 |
NodeList publications = rootElement.getElementsByTagName(K.PUBLICATION); |
|
278 |
for (int i=0; i<publications.getLength(); i++){ |
|
279 |
Element node = (Element)(publications.item(i)); |
|
280 |
String authors = node.getAttribute(K.USER); |
|
281 |
String type = node.getAttribute(K.TYPE); |
|
282 |
String url = node.getAttribute(K.URL); |
|
283 |
record.publications.add(new Publication(authors, url, type)); |
|
284 |
} |
|
274 | 285 |
|
275 | 286 |
this.put(record.uniq_id, record); |
276 | 287 |
if (!this.containsUser(record.user)) this.registerUser(record.user); |
... | ... | |
374 | 385 |
rootElement.appendChild(e); |
375 | 386 |
} |
376 | 387 |
|
388 |
for (Publication v : record.publications) { |
|
389 |
Element e = doc.createElement(K.PUBLICATION); |
|
390 |
e.setAttribute(K.USER, v.user); |
|
391 |
e.setAttribute(K.URL, v.url); |
|
392 |
e.setAttribute(K.TYPE, v.type); |
|
393 |
rootElement.appendChild(e); |
|
394 |
} |
|
395 |
|
|
377 | 396 |
// write the content into xml file |
378 | 397 |
TransformerFactory transformerFactory = TransformerFactory.newInstance(); |
379 | 398 |
Transformer transformer = transformerFactory.newTransformer(); |
projets/BCCCC/src/org/ccc/bcccc/shared/K.java (revision 11) | ||
---|---|---|
136 | 136 |
|
137 | 137 |
public static final String PERSON = "person"; |
138 | 138 |
|
139 |
public static final String PUBLICATION = "publication"; |
|
140 |
|
|
139 | 141 |
} |
projets/BCCCC/src/org/ccc/bcccc/shared/Report.java (revision 11) | ||
---|---|---|
65 | 65 |
* @see java.lang.Object#toString() |
66 | 66 |
*/ |
67 | 67 |
public String toHTML() { |
68 |
return "<p>"+user+" : "+note+"/5 </p><p>"+comment+"</p>";
|
|
68 |
return "<p class=\"report\">"+user+" : "+note+"/5 </p><p class=\"comment\">"+comment+"</p>";
|
|
69 | 69 |
} |
70 | 70 |
|
71 | 71 |
@Override |
projets/BCCCC/src/org/ccc/bcccc/shared/Dispositif.java (revision 11) | ||
---|---|---|
74 | 74 |
* @see java.lang.Object#toString() |
75 | 75 |
*/ |
76 | 76 |
public String toHTML() { |
77 |
return "<p>"+numberUsed+" "+type +" "+(mobile?"mobile":"non mobile")+" plus d'information sur le matériel à l'adresse <a href=\""+url+"\">"+url+"</a></p>";
|
|
77 |
return "<p class=\"dispositif\">"+numberUsed+" "+type +" "+(mobile?"mobile":"non mobile")+". Plus d'information sur le matériel à l'adresse <a target=\"_blank\" href=\""+url+"\">"+url+"</a></p>";
|
|
78 | 78 |
} |
79 | 79 |
|
80 | 80 |
public String toCompareString() { |
projets/BCCCC/src/org/ccc/bcccc/shared/DocumentUnit.java (revision 11) | ||
---|---|---|
73 | 73 |
* @see java.lang.Object#toString() |
74 | 74 |
*/ |
75 | 75 |
public String toHTML() { |
76 |
return "<p>"+type+" : "+name +" à télécharger à l'adresse <a href=\""+url+"\">"+url+"</a></p>";
|
|
76 |
return "<p class=\"document\">"+type+" : "+name +" à télécharger à l'adresse <a target=\"_blank\" href=\""+url+"\">"+url+"</a></p>";
|
|
77 | 77 |
} |
78 | 78 |
|
79 | 79 |
public String toCompareString() { |
projets/BCCCC/src/org/ccc/bcccc/shared/TerrainRecord.java (revision 11) | ||
---|---|---|
168 | 168 |
+" \tMakers="+persons+"\n" |
169 | 169 |
+ "\tDispositifs="+dispositifs+"\n" |
170 | 170 |
+ "\tSupports "+supports+"\n" |
171 |
+ "\tDocs= "+documentations; |
|
171 |
+ "\tDocs= "+documentations+"\n" |
|
172 |
+ "\tPublications= "+publications; |
|
172 | 173 |
} |
173 | 174 |
|
174 | 175 |
/* (non-Javadoc) |
175 | 176 |
* @see java.lang.Object#toString() |
176 | 177 |
*/ |
177 | 178 |
public String toHTML() { |
178 |
return "<h2>"+name+"</h2>\n" + |
|
179 |
"<p>"+short_description+"</p>" + |
|
180 |
"<h3>Informations</h3>\n" + |
|
181 |
"<ul>"+ |
|
182 |
"<li>Nom du projet ayant produit le terrain : "+project+"</li>\n" + |
|
183 |
"<li>Créateur de la fiche : "+user+"</li>\n" + |
|
184 |
"<li>Date de prise : "+DateTimeFormat.getFormat(PredefinedFormat.DATE_LONG).format(date)+"</li>\n" + |
|
185 |
"<li>Lieu de prise : "+place+" (<a target=\"_blank\" href=\"https://www.openstreetmap.org/search?query="+place+"\">View on map</a>)</li>\n" + |
|
186 |
"<li>Nombre de participants: "+numberOfParticipants+"</li>" + |
|
187 |
"<p>Persones impliquées dans la réalisation du terrain : "+toPrettyHTMLIHTMLprintableList(persons)+"</p>\n" + |
|
188 |
"</ul>" + |
|
189 |
"<h3>Détails</h3>\n" + |
|
190 |
"<p>Type : "+toPrettyHTMLList(types)+"</p>\n" + |
|
191 |
"<p>Equipments employés : "+toPrettyHTMLIHTMLprintableList(dispositifs)+"</p>\n" + |
|
192 |
"<p>Médias produits : "+toPrettyHTMLIHTMLprintableList(supports)+"</p>\n" + |
|
193 |
"<p>Évaluations : "+toPrettyHTMLIHTMLprintableList(reports)+"<p>\n" + |
|
194 |
"<p>Documentation : "+toPrettyHTMLIHTMLprintableList(documentations)+"<p>\n"; |
|
179 |
return "<p class=\"record\">\n" + |
|
180 |
"<h2>"+name+"</h2>\n" + |
|
181 |
"<p class=\"description\">"+short_description+"</p>" + |
|
182 |
"<p class=\"infos\">" + |
|
183 |
"<h3>Informations</h3>\n" + |
|
184 |
"<ul>"+ |
|
185 |
"<li>Nom du projet ayant produit le terrain : "+project+"</li>\n" + |
|
186 |
"<li>Créateur de la fiche : "+user+"</li>\n" + |
|
187 |
"<li>Date de prise : "+DateTimeFormat.getFormat(PredefinedFormat.DATE_LONG).format(date)+"</li>\n" + |
|
188 |
"<li>Lieu de prise : "+place+" (<a target=\"_blank\" href=\"https://www.openstreetmap.org/search?query="+place+"\">View on map</a>)</li>\n" + |
|
189 |
"<li>Nombre de participants: "+numberOfParticipants+"</li>" + |
|
190 |
"<p>Persones impliquées dans la réalisation du terrain : "+toPrettyHTMLIHTMLprintableList(persons)+"</p>\n" + |
|
191 |
"</ul>" + |
|
192 |
"</p>" + |
|
193 |
"<p class=\"infos\">" + |
|
194 |
"<h3>Détails</h3>\n" + |
|
195 |
"<p><h4>Type</h4>"+toPrettyHTMLList(types)+"</p>\n" + |
|
196 |
"<p><h4>Equipments employés</h4>"+toPrettyHTMLIHTMLprintableList(dispositifs)+"</p>\n" + |
|
197 |
"<p><h4>Médias produits</h4>"+toPrettyHTMLIHTMLprintableList(supports)+"</p>\n" + |
|
198 |
"<p><h4>Évaluations</h4>"+toPrettyHTMLIHTMLprintableList(reports)+"<p>\n" + |
|
199 |
"<p><h4>Documentation</h4>"+toPrettyHTMLIHTMLprintableList(documentations)+"<p>\n"+ |
|
200 |
"<p><h4>Publications</h4>"+toPrettyHTMLIHTMLprintableList(publications)+"<p>\n" + |
|
201 |
"</p>\n" + |
|
202 |
"</p>"; |
|
195 | 203 |
} |
196 | 204 |
|
197 | 205 |
public String toPrettyHTMLIHTMLprintableList(List<? extends IHTMLprintable> list) { |
... | ... | |
206 | 214 |
} |
207 | 215 |
|
208 | 216 |
public String toPrettyHTMLList(List<String> list) { |
209 |
if (list.size() == 0) return "non renseigné."; |
|
217 |
if (list.size() == 0) return "non renseigné ou absent.";
|
|
210 | 218 |
StringBuffer buf = new StringBuffer(); |
211 | 219 |
buf.append("<ul>\n"); |
212 | 220 |
for (Object o : list) { |
... | ... | |
215 | 223 |
buf.append("</ul>\n"); |
216 | 224 |
return buf.toString(); |
217 | 225 |
} |
218 |
} |
|
226 |
} |
projets/BCCCC/src/org/ccc/bcccc/shared/Person.java (revision 11) | ||
---|---|---|
33 | 33 |
|
34 | 34 |
@Override |
35 | 35 |
public String toHTML() { |
36 |
return "<p>"+name+ "("+role+")</p>";
|
|
36 |
return "<p class=\"person\">"+name+ " ("+role+")</p>";
|
|
37 | 37 |
} |
38 |
|
|
39 |
@Override |
|
40 |
public String toString() { |
|
41 |
return name+":"+role; |
|
42 |
} |
|
38 | 43 |
} |
projets/BCCCC/src/org/ccc/bcccc/shared/Data.java (revision 11) | ||
---|---|---|
63 | 63 |
* @see java.lang.Object#toString() |
64 | 64 |
*/ |
65 | 65 |
public String toHTML() { |
66 |
return "<p>"+type +" Télécharger à l'adresse <a href=\""+url+"\">"+url+"</a></p>";
|
|
66 |
return "<p class=\"data\">"+type +" Télécharger à l'adresse <a target=\"_blank\" href=\""+url+"\">"+url+"</a></p>";
|
|
67 | 67 |
} |
68 | 68 |
|
69 | 69 |
public String toCompareString() { |
projets/BCCCC/src/org/ccc/bcccc/shared/Publication.java (revision 11) | ||
---|---|---|
70 | 70 |
* @see java.lang.Object#toString() |
71 | 71 |
*/ |
72 | 72 |
public String toHTML() { |
73 |
return "<p>"+type+" par "+user+" à télécharger à l'adresse suivante <a href=\""+url+"\">"+url+"</a></p>";
|
|
73 |
return "<p class=\"publication\">"+type+" produit par <b>"+user+"</b> à télécharger à l'adresse suivante <a target=\"_blank\" href=\""+url+"\">"+url+"</a></p>";
|
|
74 | 74 |
} |
75 | 75 |
|
76 | 76 |
public String toCompareString() { |
projets/BCCCC/src/org/ccc/bcccc/BCCCC.gwt.xml (revision 11) | ||
---|---|---|
11 | 11 |
<inherits name="com.google.gwt.core.Core"/> |
12 | 12 |
<inherits name="com.google.gwt.i18n.I18N"/> |
13 | 13 |
|
14 |
<set-property name="user.agent" value="gecko1_8" /> |
|
15 |
|
|
16 | 14 |
<inherits name='com.smartgwt.SmartGwt'/> |
17 | 15 |
<inherits name="com.smartclient.theme.graphite.Graphite" /> |
18 | 16 |
|
projets/BCCCC/war/WEB-INF/deploy/bcccc/rpcPolicyManifest/manifest.txt (revision 11) | ||
---|---|---|
1 | 1 |
# Module bcccc |
2 | 2 |
# RPC service class, partial path of RPC policy file |
3 |
org.ccc.bcccc.client.GreetingService, F88BB1D053B8C298F4BD5F51D2FD4098.gwt.rpc |
projets/BCCCC/war/bcccc/bcccc.nocache.js (revision 11) | ||
---|---|---|
1 |
function bcccc(){var U='',Cb='" for "gwt:onLoadErrorFn"',Ab='" for "gwt:onPropertyErrorFn"',nb='"><\/script>',cb='#',Kb='&',Vb='.cache.html',eb='/',qb='//',Sb='298A8A3E2D4208A17158F2E4FE233CC6',Ub=':',ub='::',qc='<script defer="defer">bcccc.onInjectionDone(\'bcccc\')<\/script>',mb='<script id="',Yb='<script language="javascript" src="',xb='=',db='?',zb='Bad handler "',Tb='DC0BF92292D4BF3B4D3FB2B8CBE3854B',Wb='DOMContentLoaded',ob='SCRIPT',Nb='Unexpected exception in locale detection, using default: ',Mb='_',Lb='__gwt_Locale',lb='__gwt_marker_bcccc',pb='base',hb='baseUrl',V='bcccc',jb='bcccc.nocache.js',tb='bcccc::',Y='begin',X='bootstrap',gb='clear.cache.gif',wb='content',Ib='default',bb='end',Rb='fr',Z='gwt.codesvr=',$='gwt.hosted=',_='gwt.hybrid',Bb='gwt:onLoadErrorFn',yb='gwt:onPropertyErrorFn',vb='gwt:property',Pb='hosted.html?bcccc',Db='iframe',fb='img',Eb="javascript:''",Ob='loadExternalRefs',Hb='locale',Jb='locale=',rb='meta',Gb='moduleRequested',ab='moduleStartup',sb='name',Fb='position:absolute;width:0;height:0;border:none',ic='sc/modules/ISC_Calendar.js',jc='sc/modules/ISC_Calendar.js"><\/script>',ac='sc/modules/ISC_Containers.js',bc='sc/modules/ISC_Containers.js"><\/script>',Xb='sc/modules/ISC_Core.js',Zb='sc/modules/ISC_Core.js"><\/script>',kc='sc/modules/ISC_DataBinding.js',lc='sc/modules/ISC_DataBinding.js"><\/script>',ec='sc/modules/ISC_Forms.js',fc='sc/modules/ISC_Forms.js"><\/script>',$b='sc/modules/ISC_Foundation.js',_b='sc/modules/ISC_Foundation.js"><\/script>',cc='sc/modules/ISC_Grids.js',dc='sc/modules/ISC_Grids.js"><\/script>',gc='sc/modules/ISC_RichTextEditor.js',hc='sc/modules/ISC_RichTextEditor.js"><\/script>',mc='sc/skins/Enterprise/load_skin.js',nc='sc/skins/Enterprise/load_skin.js"><\/script>',oc='sc/skins/Graphite/load_skin.js',pc='sc/skins/Graphite/load_skin.js"><\/script>',ib='script',Qb='selectingPermutation',W='startup',kb='undefined';var m=window,n=document,o=m.__gwtStatsEvent?function(a){return m.__gwtStatsEvent(a)}:null,p=m.__gwtStatsSessionId?m.__gwtStatsSessionId:null,q,r,s,t=U,u={},v=[],w=[],A=[],B=0,C,D;o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:X,millis:(new Date).getTime(),type:Y});if(!m.__gwt_stylesLoaded){m.__gwt_stylesLoaded={}}if(!m.__gwt_scriptsLoaded){m.__gwt_scriptsLoaded={}}function F(){var b=false;try{var c=m.location.search;return (c.indexOf(Z)!=-1||(c.indexOf($)!=-1||m.external&&m.external.gwtOnLoad))&&c.indexOf(_)==-1}catch(a){}F=function(){return b};return b}
|
|
1 |
function bcccc(){var U='',Cb='" for "gwt:onLoadErrorFn"',Ab='" for "gwt:onPropertyErrorFn"',nb='"><\/script>',cb='#',Kb='&',lc='.cache.html',eb='/',qb='//',_b='16D1AB9055F1F3D919BD20473656581D',bc='2D95D88E659BFD9F9A0E46EDF59A2616',cc='40DF93426C677A39F83C58A4EB8EFE5E',dc='67ACE18D66725FE894D5F8544F60A674',ec='74ED67286DE812E87A4EE29E72B33585',fc='752D65E04E47347DEF638C68907D16F9',gc='93E48D5CB4AA7E57E46E85AD90436A3E',hc='9FA98EC1123E458F14CEFCF3C13DCF54',kc=':',ub='::',Ic='<script defer="defer">bcccc.onInjectionDone(\'bcccc\')<\/script>',mb='<script id="',oc='<script language="javascript" src="',xb='=',db='?',ic='B01FD5D5B83BA8A1591431A12DFAEA2D',zb='Bad handler "',mc='DOMContentLoaded',jc='E7B9F231C467C87757FB490580FFA504',ob='SCRIPT',Nb='Unexpected exception in locale detection, using default: ',Mb='_',Lb='__gwt_Locale',lb='__gwt_marker_bcccc',pb='base',hb='baseUrl',V='bcccc',jb='bcccc.nocache.js',tb='bcccc::',Y='begin',X='bootstrap',gb='clear.cache.gif',wb='content',Ib='default',bb='end',ac='fr',Vb='gecko',Wb='gecko1_8',Z='gwt.codesvr=',$='gwt.hosted=',_='gwt.hybrid',Bb='gwt:onLoadErrorFn',yb='gwt:onPropertyErrorFn',vb='gwt:property',Zb='hosted.html?bcccc',Sb='ie10',Ub='ie8',Tb='ie9',Db='iframe',fb='img',Eb="javascript:''",Yb='loadExternalRefs',Hb='locale',Jb='locale=',rb='meta',Gb='moduleRequested',ab='moduleStartup',Rb='msie',sb='name',Fb='position:absolute;width:0;height:0;border:none',Qb='safari',Ac='sc/modules/ISC_Calendar.js',Bc='sc/modules/ISC_Calendar.js"><\/script>',sc='sc/modules/ISC_Containers.js',tc='sc/modules/ISC_Containers.js"><\/script>',nc='sc/modules/ISC_Core.js',pc='sc/modules/ISC_Core.js"><\/script>',Cc='sc/modules/ISC_DataBinding.js',Dc='sc/modules/ISC_DataBinding.js"><\/script>',wc='sc/modules/ISC_Forms.js',xc='sc/modules/ISC_Forms.js"><\/script>',qc='sc/modules/ISC_Foundation.js',rc='sc/modules/ISC_Foundation.js"><\/script>',uc='sc/modules/ISC_Grids.js',vc='sc/modules/ISC_Grids.js"><\/script>',yc='sc/modules/ISC_RichTextEditor.js',zc='sc/modules/ISC_RichTextEditor.js"><\/script>',Ec='sc/skins/Enterprise/load_skin.js',Fc='sc/skins/Enterprise/load_skin.js"><\/script>',Gc='sc/skins/Graphite/load_skin.js',Hc='sc/skins/Graphite/load_skin.js"><\/script>',ib='script',$b='selectingPermutation',W='startup',kb='undefined',Xb='unknown',Ob='user.agent',Pb='webkit';var m=window,n=document,o=m.__gwtStatsEvent?function(a){return m.__gwtStatsEvent(a)}:null,p=m.__gwtStatsSessionId?m.__gwtStatsSessionId:null,q,r,s,t=U,u={},v=[],w=[],A=[],B=0,C,D;o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:X,millis:(new Date).getTime(),type:Y});if(!m.__gwt_stylesLoaded){m.__gwt_stylesLoaded={}}if(!m.__gwt_scriptsLoaded){m.__gwt_scriptsLoaded={}}function F(){var b=false;try{var c=m.location.search;return (c.indexOf(Z)!=-1||(c.indexOf($)!=-1||m.external&&m.external.gwtOnLoad))&&c.indexOf(_)==-1}catch(a){}F=function(){return b};return b}
|
|
2 | 2 |
function G(){if(q&&r){var b=n.getElementById(V);var c=b.contentWindow;if(F()){c.__gwt_getProperty=function(a){return M(a)}}bcccc=null;c.gwtOnLoad(C,V,t,B);o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:ab,millis:(new Date).getTime(),type:bb})}} |
3 | 3 |
function H(){function e(a){var b=a.lastIndexOf(cb);if(b==-1){b=a.length}var c=a.indexOf(db);if(c==-1){c=a.length}var d=a.lastIndexOf(eb,Math.min(c,b));return d>=0?a.substring(0,d+1):U} |
4 | 4 |
function f(a){if(a.match(/^\w+:\/\//)){}else{var b=n.createElement(fb);b.src=a+gb;a=e(b.src)}return a} |
... | ... | |
14 | 14 |
function L(a,b){var c=A;for(var d=0,e=a.length-1;d<e;++d){c=c[a[d]]||(c[a[d]]=[])}c[a[e]]=b} |
15 | 15 |
function M(a){var b=w[a](),c=v[a];if(b in c){return b}var d=[];for(var e in c){d[c[e]]=e}if(D){D(a,d,b)}throw null} |
16 | 16 |
var N;function O(){if(!N){N=true;var a=n.createElement(Db);a.src=Eb;a.id=V;a.style.cssText=Fb;a.tabIndex=-1;n.body.appendChild(a);o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:ab,millis:(new Date).getTime(),type:Gb});a.contentWindow.location.replace(t+Q)}} |
17 |
w[Hb]=function(){var b=null;var c=Ib;try{if(!b){var d=location.search;var e=d.indexOf(Jb);if(e>=0){var f=d.substring(e+7);var g=d.indexOf(Kb,e);if(g<0){g=d.length}b=d.substring(e+7,g)}}if(!b){b=K(Hb)}if(!b){b=m[Lb]}if(b){c=b}while(b&&!J(Hb,b)){var h=b.lastIndexOf(Mb);if(h<0){b=null;break}b=b.substring(0,h)}}catch(a){alert(Nb+a)}m[Lb]=c;return b||Ib};v[Hb]={'default':0,fr:1};bcccc.onScriptLoad=function(){if(N){r=true;G()}};bcccc.onInjectionDone=function(){q=true;o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:Ob,millis:(new Date).getTime(),type:bb});G()};I();H();var P;var Q;if(F()){if(m.external&&(m.external.initModule&&m.external.initModule(V))){m.location.reload();return}Q=Pb;P=U}o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:X,millis:(new Date).getTime(),type:Qb});if(!F()){try{L([Rb],Sb);L([Ib],Tb);P=A[M(Hb)];var R=P.indexOf(Ub);if(R!=-1){B=Number(P.substring(R+1));P=P.substring(0,R)}Q=P+Vb}catch(a){return}}var S;function T(){if(!s){s=true;G();if(n.removeEventListener){n.removeEventListener(Wb,T,false)}if(S){clearInterval(S)}}}
|
|
18 |
if(n.addEventListener){n.addEventListener(Wb,function(){O();T()},false)}var S=setInterval(function(){if(/loaded|complete/.test(n.readyState)){O();T()}},50);o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:X,millis:(new Date).getTime(),type:bb});o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:Ob,millis:(new Date).getTime(),type:Y});if(!__gwt_scriptsLoaded[Xb]){__gwt_scriptsLoaded[Xb]=true;document.write(Yb+t+Zb)}if(!__gwt_scriptsLoaded[$b]){__gwt_scriptsLoaded[$b]=true;document.write(Yb+t+_b)}if(!__gwt_scriptsLoaded[ac]){__gwt_scriptsLoaded[ac]=true;document.write(Yb+t+bc)}if(!__gwt_scriptsLoaded[cc]){__gwt_scriptsLoaded[cc]=true;document.write(Yb+t+dc)}if(!__gwt_scriptsLoaded[ec]){__gwt_scriptsLoaded[ec]=true;document.write(Yb+t+fc)}if(!__gwt_scriptsLoaded[gc]){__gwt_scriptsLoaded[gc]=true;document.write(Yb+t+hc)}if(!__gwt_scriptsLoaded[ic]){__gwt_scriptsLoaded[ic]=true;document.write(Yb+t+jc)}if(!__gwt_scriptsLoaded[kc]){__gwt_scriptsLoaded[kc]=true;document.write(Yb+t+lc)}if(!__gwt_scriptsLoaded[mc]){__gwt_scriptsLoaded[mc]=true;document.write(Yb+t+nc)}if(!__gwt_scriptsLoaded[oc]){__gwt_scriptsLoaded[oc]=true;document.write(Yb+t+pc)}n.write(qc)}
|
|
17 |
w[Hb]=function(){var b=null;var c=Ib;try{if(!b){var d=location.search;var e=d.indexOf(Jb);if(e>=0){var f=d.substring(e+7);var g=d.indexOf(Kb,e);if(g<0){g=d.length}b=d.substring(e+7,g)}}if(!b){b=K(Hb)}if(!b){b=m[Lb]}if(b){c=b}while(b&&!J(Hb,b)){var h=b.lastIndexOf(Mb);if(h<0){b=null;break}b=b.substring(0,h)}}catch(a){alert(Nb+a)}m[Lb]=c;return b||Ib};v[Hb]={'default':0,fr:1};w[Ob]=function(){var b=navigator.userAgent.toLowerCase();var c=function(a){return parseInt(a[1])*1000+parseInt(a[2])};if(function(){return b.indexOf(Pb)!=-1}())return Qb;if(function(){return b.indexOf(Rb)!=-1&&n.documentMode>=10}())return Sb;if(function(){return b.indexOf(Rb)!=-1&&n.documentMode>=9}())return Tb;if(function(){return b.indexOf(Rb)!=-1&&n.documentMode>=8}())return Ub;if(function(){return b.indexOf(Vb)!=-1}())return Wb;return Xb};v[Ob]={gecko1_8:0,ie10:1,ie8:2,ie9:3,safari:4};bcccc.onScriptLoad=function(){if(N){r=true;G()}};bcccc.onInjectionDone=function(){q=true;o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:Yb,millis:(new Date).getTime(),type:bb});G()};I();H();var P;var Q;if(F()){if(m.external&&(m.external.initModule&&m.external.initModule(V))){m.location.reload();return}Q=Zb;P=U}o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:X,millis:(new Date).getTime(),type:$b});if(!F()){try{L([Ib,Tb],_b);L([ac,Wb],bc);L([ac,Sb],cc);L([Ib,Wb],dc);L([ac,Qb],ec);L([Ib,Ub],fc);L([Ib,Sb],gc);L([ac,Tb],hc);L([ac,Ub],ic);L([Ib,Qb],jc);P=A[M(Hb)][M(Ob)];var R=P.indexOf(kc);if(R!=-1){B=Number(P.substring(R+1));P=P.substring(0,R)}Q=P+lc}catch(a){return}}var S;function T(){if(!s){s=true;G();if(n.removeEventListener){n.removeEventListener(mc,T,false)}if(S){clearInterval(S)}}}
|
|
18 |
if(n.addEventListener){n.addEventListener(mc,function(){O();T()},false)}var S=setInterval(function(){if(/loaded|complete/.test(n.readyState)){O();T()}},50);o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:X,millis:(new Date).getTime(),type:bb});o&&o({moduleName:V,sessionId:p,subSystem:W,evtGroup:Yb,millis:(new Date).getTime(),type:Y});if(!__gwt_scriptsLoaded[nc]){__gwt_scriptsLoaded[nc]=true;document.write(oc+t+pc)}if(!__gwt_scriptsLoaded[qc]){__gwt_scriptsLoaded[qc]=true;document.write(oc+t+rc)}if(!__gwt_scriptsLoaded[sc]){__gwt_scriptsLoaded[sc]=true;document.write(oc+t+tc)}if(!__gwt_scriptsLoaded[uc]){__gwt_scriptsLoaded[uc]=true;document.write(oc+t+vc)}if(!__gwt_scriptsLoaded[wc]){__gwt_scriptsLoaded[wc]=true;document.write(oc+t+xc)}if(!__gwt_scriptsLoaded[yc]){__gwt_scriptsLoaded[yc]=true;document.write(oc+t+zc)}if(!__gwt_scriptsLoaded[Ac]){__gwt_scriptsLoaded[Ac]=true;document.write(oc+t+Bc)}if(!__gwt_scriptsLoaded[Cc]){__gwt_scriptsLoaded[Cc]=true;document.write(oc+t+Dc)}if(!__gwt_scriptsLoaded[Ec]){__gwt_scriptsLoaded[Ec]=true;document.write(oc+t+Fc)}if(!__gwt_scriptsLoaded[Gc]){__gwt_scriptsLoaded[Gc]=true;document.write(oc+t+Hc)}n.write(Ic)}
|
|
19 | 19 |
bcccc(); |
projets/BCCCC/.classpath (revision 11) | ||
---|---|---|
2 | 2 |
<classpath> |
3 | 3 |
<classpathentry kind="src" path="src"/> |
4 | 4 |
<classpathentry kind="src" output="test-classes" path="test"/> |
5 |
<classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/> |
|
6 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> |
|
7 |
<classpathentry kind="lib" path="war/WEB-INF/lib/smartgwt-skins.jar"/> |
|
8 |
<classpathentry kind="lib" path="war/WEB-INF/lib/smartgwt.jar"/> |
|
9 |
<classpathentry kind="lib" path="war/WEB-INF/lib/gwt-servlet.jar"/> |
|
10 |
<classpathentry kind="lib" path="war/WEB-INF/lib/hsqldb.jar"/> |
|
11 |
<classpathentry kind="lib" path="war/WEB-INF/lib/servlet-2_3-fcs-classfiles.zip"/> |
|
12 |
<classpathentry kind="lib" path="war/WEB-INF/lib/sqltool.jar"/> |
|
5 |
<classpathentry exported="true" kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/> |
|
6 |
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> |
|
7 |
<classpathentry exported="true" kind="lib" path="war/WEB-INF/lib/smartgwt-skins.jar"/> |
|
8 |
<classpathentry exported="true" kind="lib" path="war/WEB-INF/lib/smartgwt.jar"/> |
|
9 |
<classpathentry exported="true" kind="lib" path="war/WEB-INF/lib/gwt-servlet.jar"/> |
|
10 |
<classpathentry exported="true" kind="lib" path="war/WEB-INF/lib/hsqldb.jar"/> |
|
11 |
<classpathentry exported="true" kind="lib" path="war/WEB-INF/lib/servlet-2_3-fcs-classfiles.zip"/> |
|
12 |
<classpathentry exported="true" kind="lib" path="war/WEB-INF/lib/sqltool.jar"/> |
|
13 |
<classpathentry exported="true" kind="lib" path="war/WEB-INF/lib/commons-codec-1.10.jar"/> |
|
13 | 14 |
<classpathentry kind="output" path="war/WEB-INF/classes"/> |
14 | 15 |
</classpath> |
Formats disponibles : Unified diff