First commit
This commit is contained in:
parent
cf97b64877
commit
cc69770608
1468 changed files with 265316 additions and 128 deletions
64
www/admin/art/_inc_articolo_allegato.jsp
Normal file
64
www/admin/art/_inc_articolo_allegato.jsp
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
<%@ taglib uri="/WEB-INF/acxent.tld" prefix="acx" %>
|
||||
<%@ page language="java" import="it.acxent.jsp.*" %>
|
||||
<%-- DICHIARAZIONE BEAN --%>
|
||||
<jsp:useBean id="nf" scope="request" type="java.text.NumberFormat" >
|
||||
</jsp:useBean>
|
||||
<jsp:useBean id="df" class="it.acxent.util.SimpleDateFormat" scope="request" type="it.acxent.util.SimpleDateFormat" >
|
||||
</jsp:useBean>
|
||||
<jsp:useBean id="bean" class="it.acxent.art.Articolo" type="it.acxent.art.Articolo" scope="request" >
|
||||
</jsp:useBean>
|
||||
<jsp:useBean id="beanRIV" scope="request" class="it.acxent.art.Rivalutazione" type="it.acxent.art.Rivalutazione" >
|
||||
</jsp:useBean>
|
||||
<%-- FINE DICHIARAZIONE BEAN --%>
|
||||
|
||||
|
||||
|
||||
<acx:if wherecondition="<%=bean.getDBState()==0%>">
|
||||
<h1><acx:lang>Per inserire devi prima salvare il record</acx:lang></h1>
|
||||
</acx:if>
|
||||
<acx:else>
|
||||
<div class="row">
|
||||
<input name="id_allegatoArticolo" type="hidden" id="id_allegato">
|
||||
<div class="col-lg-3">
|
||||
<label>Nome File Allegato:</label>
|
||||
<br>
|
||||
<div class="loadFile">
|
||||
<label>
|
||||
<input name="btn-upload_file_1" type="file" id="btn-upload_file_1" size="40" maxlength="200" onChange="Ab.saveFile(0,1)">
|
||||
<input type="hidden" id="fileNameOnServer_1" name="fileNameOnServer_1">
|
||||
<div id="uploadFileRes_1">CARICA IL FILE</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-3">
|
||||
<label>Tipo Allegato:</label>
|
||||
<br>
|
||||
<select name="id_tipoAllegatoArticolo" id="id_tipoAllegatoArticolo" class="form-control input-sm select2">
|
||||
<acx:optionvec boundcolumn="id_tipoAllegatoArticolo" desccolumn="descrizione" vectumerator="listaTipiAllegatoArticolo" > </acx:optionvec>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-lg-5"> </div>
|
||||
<div class="col-lg-1">
|
||||
<label for="txtRicerca"> </label>
|
||||
<br>
|
||||
<a href="javascript:addAllegato();"><i class="fa fa-plus fa-2x" aria-hidden="true"></i></a> </div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box-body scroll-300 col-lg-12" id="no-more-tables">
|
||||
<table class="table table-striped" style="border: 1px solid #ededed;">
|
||||
<tr>
|
||||
<th width="6%"> </th>
|
||||
<th>Tipo</th>
|
||||
<th>Nome Attach</th>
|
||||
</tr>
|
||||
<acx:whilevec rowbeanclass="it.acxent.art.AllegatoArticolo" vectumerator="listaAllegati">
|
||||
<tr>
|
||||
<td><a href="javascript:delAllegato(<%=rowBean.getId_allegatoArticolo()%>)"><i class="fa fa-trash-o fa-2x" title="<acx:lang>Cancella Record</acx:lang>"></i></a></td>
|
||||
<td data-title="Tipo"><%=rowBean.getTipoAllegatoArticolo().getDescrizione()%></td>
|
||||
<td data-title="Nome Attach"><a href="../../_attach/_art/<%=rowBean.getNomeFileSuDisco()%>?id=<%=rowBean.getId_allegatoArticolo()%>" target="_blank"><%=rowBean.getNomeFile()%></a></td>
|
||||
</tr>
|
||||
</acx:whilevec>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</acx:else>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue