,
:
<%if((managingBean.getListPhysDoc())!=null && (managingBean.getListPhysDoc()).size()>0){ %>
(<%=(managingBean.getListPhysDoc()).size()%>
)
<%} %>
<%if(( managingBean.getNumElementi())>0){ %>
(<%=( managingBean.getNumElementi())%>
)
<%} %>
<%if((managingBean.getDocUpperBrother())>0){ %>
<%} %>
<%if((managingBean.getDocLowerBrother())>0){ %>
<%} %>
<%if((managingBean.getNumElementiSons())>0){ %>
(<%=(managingBean.getNumElementiSons())%>
)
<%} %>
<%if((managingBean.getNumElementiHier())>0 && managingBean.getNumElementiHier()>managingBean.getNumElementiSons()){ %>
(<%=(managingBean.getNumElementiHier())%>
)
<%} %>
<%
String externalPath = "/root/docEdit/macroarea";
String ilNome ="";
int nodiMacroAree = theXMLconf.contaNodi(externalPath);
String theOptions = "
";
ArrayList theOptionsValContr = new ArrayList();
for (int i = 0; i < nodiMacroAree; i++) {
externalPath = "/root/docEdit/macroarea["+(i+1)+"]/sezione";
int nodiMacroSezioni = theXMLconf.contaNodi(externalPath);
if(!theXMLconf.valoreNodo(externalPath+"/@name").equals(""))
ilNome = theXMLconf.valoreNodo(externalPath+"/@name");
for (int a = 0; a < nodiMacroSezioni; a++) {
externalPath = "/root/docEdit/macroarea["+(i+1)+"]/sezione["+(a+1)+"]/elemento[@multiMod='true']";
int nodiOpzioni = theXMLconf.contaNodi(externalPath);
for (int z = 0; z < nodiOpzioni; z++) {
if(!theXMLconf.valoreNodo(externalPath+"["+(z+1)+"]/@name").equals("")){
ilNome = theXMLconf.valoreNodo(externalPath+"["+(z+1)+"]/@name");
}
if(!theXMLconf.valoreNodo(externalPath+"["+(z+1)+"]/text()").equals("")){
if(theXMLconf.valoreNodo(externalPath+"["+(z+1)+"]/@input_type").equals("select")){
String valContrExtPath = theXMLconf.valoreNodo(externalPath+"["+(z+1)+"]/@externalPath");
int countOpt = theXMLValControllati.contaNodi(valContrExtPath);
ArrayList arrayList = new ArrayList();
if(countOpt>0){
arrayList.add("
");
}
theOptionsValContr.add(arrayList);
}
theOptions += "
";
}
String externalPathSub = externalPath+"["+(z+1)+"]/elemento[@multiMod='true']";
int nodiOpzioniSub = theXMLconf.contaNodi(externalPathSub);
String nomeSup = ilNome;
for (int x = 0; x < nodiOpzioniSub; x++) {
if(!theXMLconf.valoreNodo(externalPathSub+"["+(x+1)+"]/@name").equals(""))
ilNome = theXMLconf.valoreNodo(externalPathSub+"["+(x+1)+"]/@name");
ilNome = nomeSup+ " "+ilNome;
ilNome = ilNome.trim();
if(theXMLconf.valoreNodo(externalPathSub+"["+(x+1)+"]/@input_type").equals("select")){
String valContrExtPath = theXMLconf.valoreNodo(externalPathSub+"["+(x+1)+"]/@externalPath");
int countOpt = theXMLValControllati.contaNodi(valContrExtPath);
ArrayList arrayList = new ArrayList();
if(countOpt>0){
arrayList.add("
");
}
if(!theOptionsValContr.contains(arrayList)){
theOptionsValContr.add(arrayList);
}
}
theOptions += "
";
}
}
}
}
%>
valore:
<%
for(int xx=0;xx
<%=(String)arrayList.get(jj) %>
<%}
}
%>
:
" class="bottoneLink" onmouseover="window.status='';return true" onmouseout="window.status=''" onclick="return proiettaModifica(false);" href="#">