Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nuova Stampa Situazione Sintetica Progetti
- Loading branch information
1 parent
c179083
commit 639b0be
Showing
7 changed files
with
282 additions
and
2 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
...jb/src/main/java/it/cnr/contab/pdg00/action/StampaSituazioneSinteticaXProgettoAction.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Created on Apr 26, 2005 | ||
* | ||
* To change the template for this generated file go to | ||
* Window>Preferences>Java>Code Generation>Code and Comments | ||
*/ | ||
package it.cnr.contab.pdg00.action; | ||
|
||
import it.cnr.contab.pdg00.bulk.Stampa_situazione_sintetica_x_progettoBulk; | ||
import it.cnr.contab.reports.bp.ParametricPrintBP; | ||
import it.cnr.contab.utenze00.bp.CNRUserContext; | ||
import it.cnr.jada.action.ActionContext; | ||
import it.cnr.jada.action.Forward; | ||
|
||
public class StampaSituazioneSinteticaXProgettoAction extends it.cnr.contab.reports.action.ParametricPrintAction { | ||
|
||
public StampaSituazioneSinteticaXProgettoAction() { | ||
super(); | ||
} | ||
|
||
@Override | ||
public Forward doPrint(ActionContext context) { | ||
ParametricPrintBP bp = (ParametricPrintBP)context.getBusinessProcess(); | ||
Stampa_situazione_sintetica_x_progettoBulk model = (Stampa_situazione_sintetica_x_progettoBulk)bp.getModel(); | ||
model.setEsercizio(CNRUserContext.getEsercizio(context.getUserContext())); | ||
model.setCd_unita_organizzativa(CNRUserContext.getCd_unita_organizzativa(context.getUserContext())); | ||
// TODO Auto-generated method stub | ||
return super.doPrint(context); | ||
} | ||
|
||
} |
65 changes: 65 additions & 0 deletions
65
...jb/src/main/java/it/cnr/contab/pdg00/bulk/Stampa_situazione_sintetica_x_progettoBulk.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
* Created on Oct 4, 2005 | ||
* | ||
* To change the template for this generated file go to | ||
* Window>Preferences>Java>Code Generation>Code and Comments | ||
*/ | ||
package it.cnr.contab.pdg00.bulk; | ||
|
||
import it.cnr.jada.bulk.OggettoBulk; | ||
|
||
/** | ||
* @author | ||
* | ||
* To change the template for this generated type comment go to | ||
* Window>Preferences>Java>Code Generation>Code and Comments | ||
*/ | ||
public class Stampa_situazione_sintetica_x_progettoBulk extends OggettoBulk { | ||
|
||
private Integer esercizio; | ||
|
||
private String cd_unita_organizzativa; | ||
|
||
protected it.cnr.contab.config00.sto.bulk.CdrBulk centro_responsabilita; | ||
|
||
protected it.cnr.contab.progettiric00.core.bulk.ProgettoBulk progetto; | ||
|
||
public Stampa_situazione_sintetica_x_progettoBulk() { | ||
super(); | ||
} | ||
|
||
public java.lang.Integer getEsercizio() { | ||
return esercizio; | ||
} | ||
public void setEsercizio(java.lang.Integer newEsercizio) { | ||
esercizio = newEsercizio; | ||
} | ||
|
||
public it.cnr.contab.progettiric00.core.bulk.ProgettoBulk getProgetto() { | ||
return progetto; | ||
} | ||
|
||
public void setProgetto(it.cnr.contab.progettiric00.core.bulk.ProgettoBulk progetto) { | ||
this.progetto = progetto; | ||
} | ||
|
||
public it.cnr.contab.config00.sto.bulk.CdrBulk getCentro_responsabilita() { | ||
return centro_responsabilita; | ||
} | ||
|
||
public void setCentro_responsabilita(it.cnr.contab.config00.sto.bulk.CdrBulk centro_responsabilita) { | ||
this.centro_responsabilita = centro_responsabilita; | ||
} | ||
|
||
public String getCd_unita_organizzativa() { | ||
return cd_unita_organizzativa; | ||
} | ||
|
||
public void setCd_unita_organizzativa(String cd_unita_organizzativa) { | ||
this.cd_unita_organizzativa = cd_unita_organizzativa; | ||
} | ||
|
||
public Integer getPg_progetto() { | ||
return this.getProgetto()!=null?this.getProgetto().getPg_progetto():null; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86 changes: 86 additions & 0 deletions
86
...ain/resources/it/cnr/contab/pdg00/bulk/Stampa_situazione_sintetica_x_progettoBulkInfo.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="iso-8859-1"?> | ||
<bulkInfo | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xmlns="https://contab.cnr.it/schema/SIGLA" | ||
xsi:schemaLocation="https://contab.cnr.it/schema/SIGLA https://contab.cnr.it/schema/SIGLA/BulkInfo_1_5.xsd"> | ||
|
||
<fieldProperty | ||
name="esercizio" | ||
property="esercizio" | ||
inputSize="2" | ||
inputType="ROTEXT" | ||
label="Esercizio" /> | ||
<fieldProperty | ||
name="centro_responsabilita" | ||
property="centro_responsabilita" | ||
inputType="SEARCHTOOL" | ||
formName="searchtool" | ||
label="Centro di responsabilita" /> | ||
<fieldProperty | ||
name="cd_centro_responsabilita" | ||
property="centro_responsabilita.cd_centro_responsabilita" | ||
maxLength="30" | ||
inputSize="10" | ||
inputType="TEXT" | ||
label="Codice CDR"/> | ||
<fieldProperty | ||
name="find_nodo_padre" | ||
property="progetto" | ||
inputType="SEARCHTOOL" | ||
enabledOnInsert="true" | ||
enabledOnEdit="true" | ||
enabledOnSearch="true" | ||
enabledOnFreeSearch="true" | ||
columnSet="nuovoPdg" | ||
label="Area Progettuale"/> | ||
<fieldProperty | ||
name="cd_progetto" | ||
property="progetto.cd_progetto" | ||
maxLength="30" | ||
inputSize="30" | ||
inputType="TEXT" | ||
label="Progetto" | ||
caseSensitiveSearch="false" | ||
enabledOnSearch="true" | ||
enabledOnFreeSearch="true" | ||
enabledOnEdit="true"/> | ||
<fieldProperty | ||
name="ds_progetto" | ||
property="progetto.ds_progetto" | ||
maxLength="30" | ||
inputSize="30" | ||
inputType="ROTEXT" | ||
enabledOnEdit="true" | ||
caseSensitiveSearch="false"/> | ||
|
||
<formFieldProperty name="esercizio"/> | ||
<formFieldProperty name="centro_responsabilita" /> | ||
<formFieldProperty name="cd_centro_responsabilita" /> | ||
<formFieldProperty name="find_nodo_padre" /> | ||
<formFieldProperty name="cd_progetto" /> | ||
<formFieldProperty name="ds_progetto" /> | ||
|
||
<printForm | ||
name="/cnrpreventivo/pdg/situazione_sintetica_x_progetto.jasper"> | ||
<printFieldProperty | ||
name="esercizio" | ||
parameterPosition="0" | ||
parameterType="STRING" | ||
paramNameJR="P_ESERCIZIO" | ||
paramTypeJR="java.lang.Integer" /> | ||
<printFieldProperty | ||
name="cd_unita_organizzativa" | ||
property="cd_unita_organizzativa" | ||
parameterPosition="2" | ||
parameterType="STRING" | ||
paramNameJR="P_UO" | ||
paramTypeJR="java.lang.String" /> | ||
<printFieldProperty | ||
name="pg_progetto" | ||
property="pg_progetto" | ||
parameterPosition="3" | ||
parameterType="STRING" | ||
paramNameJR="P_PROGETTO" | ||
paramTypeJR="java.lang.Integer" /> | ||
</printForm> | ||
</bulkInfo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
sigla-web/src/main/webapp/pdg00/stampa_situazione_sintetica_x_progetto.jsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<%@ page | ||
import="it.cnr.jada.util.jsp.*, | ||
it.cnr.jada.action.*, | ||
it.cnr.jada.bulk.*, | ||
it.cnr.jada.util.action.*, | ||
it.cnr.contab.prevent01.bulk.*, | ||
it.cnr.contab.prevent01.bp.*" | ||
%> | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | ||
<html> | ||
<head> | ||
<% JSPUtils.printBaseUrl(pageContext);%> | ||
<% BulkBP bp = (BulkBP)BusinessProcess.getBusinessProcess(request);%> | ||
<script language="JavaScript" src="scripts/util.js"></script> | ||
<script language="javascript" src="scripts/css.js"></script> | ||
<title>Stampa Situazione Sintetica Progetto</title> | ||
</head> | ||
<body class="Form"> | ||
|
||
<% bp.openFormWindow(pageContext); %> | ||
|
||
<table width=100%> | ||
<tr> | ||
<td> | ||
<div class="Group"> | ||
<table> | ||
<!-- | ||
<tr> | ||
<td><% bp.getController().writeFormLabel(out,"esercizio"); %></td> | ||
<td><% bp.getController().writeFormInput(out,"esercizio"); %></td> | ||
</tr> | ||
<tr> | ||
<td><% bp.getController().writeFormLabel(out,"centro_responsabilita"); %></td> | ||
<td><% bp.getController().writeFormInput(out,null,"centro_responsabilita",true,null,null); %></td> | ||
</tr> | ||
--> | ||
<tr> | ||
<td> | ||
<% bp.getController().writeFormLabel(out,"cd_progetto");%> | ||
</td> | ||
<td colspan="3"> | ||
<% bp.getController().writeFormInput(out,null,"cd_progetto",false,null,null); %> | ||
<% bp.getController().writeFormInput(out,null,"ds_progetto",false,null,null); %> | ||
<% bp.getController().writeFormInput(out,null,"find_nodo_padre",false,null,null); %> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
|
||
<% bp.closeFormWindow(pageContext); %> | ||
|
||
</body> | ||
</html> |