Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
xaabi6 committed May 29, 2020
2 parents c0c13cf + 23e628b commit 3cd0a34
Show file tree
Hide file tree
Showing 283 changed files with 2,760 additions and 26,256 deletions.
18 changes: 9 additions & 9 deletions x21aAppWar/.classpath
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@
</classpathentry>
<classpathentry exported="true" kind="con" path="oracle.eclipse.tools.weblogic.lib.application/x21aEAR"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/x21aEARClasses"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/x38ShLibClasses"/>
<classpathentry exported="true" kind="con" path="oracle.eclipse.tools.weblogic.lib.system">
<classpathentry kind="src" path=".apt_src">
<attributes>
<attribute name="owner.project.facets" value="jst.web"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jrockit-jdk1.6.0_45-R28.2.7-4.1.0">
<classpathentry kind="src" path=".apt_generated">
<attributes>
<attribute name="owner.project.facets" value="java"/>
<attribute name="optional" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path=".apt_src">
<classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.system">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="owner.project.facets" value="jst.web"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path=".apt_generated">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jrockit-jdk1.6.0_91">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry combineaccessrules="false" kind="src" path="/x38ShLibClasses"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>

<%-- DESARROLLO --%>
<script src="${staticsUrl}/rup/js/rup.min.js" type="text/javascript"></script>
<script src="${staticsUrl}/rup/js/rup.js" type="text/javascript"></script>
3 changes: 3 additions & 0 deletions x21aAppWar/WebContent/WEB-INF/layouts/includes/rup.styles.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@

<%-- DESARROLLO --%>
<link href="${staticsUrl}/rup/css/rup.css" rel="stylesheet" type="text/css" />

<%-- PORTAL --%>
<%-- <link href="${staticsUrl}/rup/portal/rup.css" rel="stylesheet" type="text/css" /> --%>
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@

<%-- PRODUCCION --%>
<link href="${staticsUrl}/rup/css/rup.min.css" rel="stylesheet" type="text/css" />

<%-- PORTAL --%>
<%-- <link href="${staticsUrl}/rup/portal/rup.min.css" rel="stylesheet" type="text/css" /> --%>

This file was deleted.

4 changes: 1 addition & 3 deletions x21aAppWar/WebContent/WEB-INF/layouts/template.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@

<%-- Estilos RUP --%>
<%@include file="/WEB-INF/layouts/includes/rup.styles.inc"%>
<%-- Estilos RUP para integración con portales --%>
<%-- <%@include file="/WEB-INF/layouts/includes/rup.styles.portal.inc" %> --%>
<%-- Estilos Aplicacion --%>
<%@include file="/WEB-INF/layouts/includes/x21a.styles.inc"%>

Expand All @@ -53,7 +51,7 @@
<tiles:insertAttribute name="breadCrumb" />

<!-- Contenidos -->
<div class="m-0 m-md-3 p-4 clear" >
<div id="x21aAppWar_content" class="m-0 m-md-3 p-4 clear" >
<tiles:insertAttribute name="content"/>
</div>
<!-- Pie -->
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ dialogNormal = Normal Dialog

dialogText = Text Dialog

dialogSetOption = Dialog with setOption

dialogoClonado1 = Di\u00E1logo con mismos cuerpo - 1_en

dialogoClonado2 = Di\u00E1logo con mismos cuerpo - 2_en
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ dialogNormal = Di\u00E1logo normal

dialogText = Di\u00E1logo con texto

dialogSetOption = Di\u00E1logo con setOption

dialogoClonado1 = Di\u00E1logo con mismo cuerpo - 1

dialogoClonado2 = Di\u00E1logo con mismo cuerpo - 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ dialogNormal = Dialog arrunta

dialogText = Dialog testuarekin

dialogSetOption = Di\u00E1logo con setOption_eu

dialogoClonado1 = Gorputz berbereko dialog - 1

dialogoClonado2 = Gorputz berbereko dialog - 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ dialogNormal = Di\u00E1logo normal_fr

dialogText = Di\u00E1logo con texto_fr

dialogSetOption = Di\u00E1logo con setOption_fr

dialogoClonado1 = Di\u00E1logo con mismos cuerpo - 1_fr

dialogoClonado2 = Di\u00E1logo con mismos cuerpo - 2_fr
Expand Down
2 changes: 0 additions & 2 deletions x21aAppWar/WebContent/WEB-INF/spring/jackson-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
<!-- Serializador utilizado por UDA para serializar unicamente las -->
<bean id="customSerializer" class="com.ejie.x38.serialization.CustomSerializer" />

<!-- <bean id="jsonViewSupportFactoryBean" class="com.ejie.x38.control.view.JsonViewSupportFactoryBean" /> -->

<bean id="udaMappingJackson2HttpMessageConverter" class="com.ejie.x38.serialization.UdaMappingJackson2HttpMessageConverter">
<property name="supportedMediaTypes" ref="jacksonSupportedMediaTypes" />
<property name="udaModule" ref="udaModule" />
Expand Down
14 changes: 8 additions & 6 deletions x21aAppWar/WebContent/WEB-INF/views/patrones/date.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
</div>
<div class="form-groupMaterial col-sm">
<input id="fechaPlaceholder" type="text" />
<label for="fechaPlaceholder">Fecha:</label>
<label for="fechaPlaceholder">Prueba</label>
<label for="fechaPlaceholder">Varios</label>
<label for="fechaPlaceholder">Labels:</label>
</div>
</div>

Expand All @@ -61,7 +63,7 @@
<div class="form-row">
<div class="form-groupMaterial col-sm">
<input id="fecha_multi" type="text" />
<label for="fecha">Fecha multiple:</label>
<label for="fecha_multi">Fecha multiple:</label>
</div>
</div>

Expand All @@ -72,21 +74,21 @@
<div class="form-row">
<div class="form-groupMaterial col-sm">
<input type="text" id="desde" />
<label for="fecha">Intervalo desde:</label>
<label for="desde">Intervalo desde:</label>
</div>
<div class="form-groupMaterial col-sm">
<input type="text" id="hasta" />
<label for="fecha">hasta:</label>
<label for="hasta">hasta:</label>
</div>
</div>
<div class="form-row">
<div class="form-groupMaterial col-sm">
<input type="text" id="desdeDateTime" />
<label for="fecha">Intervalo desde:</label>
<label for="desdeDateTime">Intervalo desde:</label>
</div>
<div class="form-groupMaterial col-sm">
<input type="text" id="hastaDateTime" />
<label for="fecha">hasta:</label>
<label for="hastaDateTime">hasta:</label>
</div>
</div>

Expand Down
11 changes: 9 additions & 2 deletions x21aAppWar/WebContent/WEB-INF/views/patrones/dialog.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@
</button>
</div>
<div class="col-md-3 mt-3 mt-md-0">
<button id="btnAjaxDialogStatics"
class="btn btn-block btn-secondary">
<button id="btnAjaxDialogStatics" class="btn btn-block btn-secondary">
<spring:message code="dialogAjaxStatics" />
</button>
</div>
Expand All @@ -93,6 +92,13 @@
</button>
</div>
</div>
<div class="row mt-3">
<div class="col-md-3">
<button id="btnSetOptionDialog" class="btn btn-block btn-secondary">
<spring:message code="dialogSetOption" />
</button>
</div>
</div>
</div>
</section>

Expand All @@ -102,3 +108,4 @@
<div id="idDialogAjaxWar" style="display: none"></div>
<div id="idDialogAjaxStatics" style="display: none"></div>
<div id="idDialogText" style="display: none"></div>
<div id="idDialogSetOption" style="display: none"></div>
13 changes: 6 additions & 7 deletions x21aAppWar/WebContent/WEB-INF/views/patrones/slider.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@
<hr>
<div class="slider-examples">
<div class="example">
<div id="slider"></div>
<div id="slider" class="rup-slider-material"></div>
</div>

<div class="example">
<p>
<label for="amount">Price range:</label> <input type="text"
id="amount" readonly
style="border: 0; color: #f6931f; font-weight: bold;">
</p>
<div id="sliderRange"></div>
<div class="form-groupMaterial">
<input id="amount" type="text" readonly>
<label for="amount">Price range:</label>
</div>
<div id="sliderRange" class="rup-slider-range-material"></div>
</div>

</div>
Expand Down
21 changes: 12 additions & 9 deletions x21aAppWar/WebContent/WEB-INF/views/patrones/time.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,26 @@
<li><code>placeholderMask</code>: Muestra en el placeholder del
elemento la máscara de hora.</li>
</ul>
<label for="hora2">Exterior </label>

<div class="example">
<div class="form-group">
<label for="hora">Hora </label><label for="hora" id="hora-mask"></label>:
<div class="form-row example">
<div class="form-groupMaterial col-sm">
<input id="hora" type="text" />
<label for="hora">Hora <span id="hora-mask"></span></label>
</div>
<div class="form-group">
<label for="horaPlaceholder">Hora </label>: <input
id="horaPlaceholder" type="text" />
<div class="form-groupMaterial col-sm">
<input id="horaPlaceholder" type="text" />
<label for="horaPlaceholder">Hora </label>
</div>
</div>

<p>El componente permite configurar muchos aspectos de su
comportamiento. Un ejemplo de personalización sería:</p>
<div class="example">
<div class="form-group">
<label for="hora2">Hora </label>: <input id="hora2" type="text" />
<div class="form-row example">
<div class="form-groupMaterial col-sm">
<input id="hora2" type="text" />
<label for="hora2">Hora </label>
<label for="hora2">Label2 </label>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion x21aAppWar/WebContent/WEB-INF/views/welcome.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="col-12">
<h1>
<img alt="El contenido estático no está correctamente desplegado."
src="${staticsUrl}/rup/css/images/uda_logo.png" /> v4.2.0
src="${staticsUrl}/rup/css/images/uda_logo.png" /> v4.2.1
<small>(Portal demostrativo)</small>
</h1>
<hr>
Expand Down
30 changes: 20 additions & 10 deletions x21aAppWar/src/com/ejie/x21a/control/TableUsuarioController.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,10 @@ protected void initBinder(HttpServletRequest request, ServletRequestDataBinder b
* @return Objeto correspondiente al identificador indicado.
*/
@RequestMapping(value = "/{id}", method = RequestMethod.GET)
public @ResponseBody Usuario get(@PathVariable String id) {
public @ResponseBody Usuario get(@PathVariable String id,Model model) {
Usuario usuario = new Usuario();
usuario.setId(id);
usuario = this.jqGridUsuarioService.find(usuario);

return usuario;
}

Expand All @@ -143,13 +142,24 @@ protected void initBinder(HttpServletRequest request, ServletRequestDataBinder b
Usuario usuario = new Usuario();
usuario.setId(id);
usuario = this.jqGridUsuarioService.find(usuario);

Usuario2 aux = new Usuario2();
aux.setId2(usuario.getId());
aux.setNombre2(usuario.getNombre());
aux.setApellido12(usuario.getApellido1());
aux.setFechaAlta2(usuario.getFechaAlta());
aux.setFechaBaja2(usuario.getFechaBaja());
aux.setRol2(usuario.getRol());



return usuario;
return aux;
}

@RequestMapping(value = "/configurable", method = RequestMethod.GET)
public String getFiltroSimple (Model model) {
model.addAttribute(MODEL_USUARIO, new Usuario());
Usuario usuario = new Usuario();
model.addAttribute(MODEL_USUARIO, usuario);
model.addAttribute(MODEL_OPTIONS, new TableOptions());
return "table";
}
Expand Down Expand Up @@ -292,7 +302,7 @@ List<Usuario> getAll(@ModelAttribute() Usuario usuarioFilter){
public @ResponseBody TableResponseDto<Usuario> filter(
@RequestJsonBody(param="filter") Usuario filterUsuario,
@RequestJsonBody TableRequestDto tableRequestDto) {
TableUsuarioController.logger.info("[POST - jqGrid] : Obtener Usuarios");
TableUsuarioController.logger.info("[POST - table] : Obtener Usuarios");
return tableUsuarioService.filter(filterUsuario, tableRequestDto, false);
}

Expand All @@ -302,7 +312,7 @@ List<Usuario> getAll(@ModelAttribute() Usuario usuarioFilter){
public TableResponseDto<Usuario2> filter2(
@RequestJsonBody(param="filter") Usuario2 filterUsuario,
@RequestJsonBody TableRequestDto tableRequestDto) {
TableUsuarioController.logger.info("[POST - jqGrid] : Obtener Usuarios 2");
TableUsuarioController.logger.info("[POST - table] : Obtener Usuarios 2");
try {
tableRequestDto.setSidx(tableRequestDto.getSidx().substring(0, tableRequestDto.getSidx().length()-1));
TableResponseDto<Usuario> rdo1 = this.filter(filterUsuario, tableRequestDto);
Expand All @@ -325,7 +335,7 @@ public TableResponseDto<Usuario2> filter2(

@RequestMapping(value = "/multiFilter/add", method = RequestMethod.POST)
public @ResponseBody Filter filterAdd(@RequestJsonBody(param="filtro") Filter filtro){
TableUsuarioController.logger.info("[POST - jqGrid] : add filter");
TableUsuarioController.logger.info("[POST - table] : add filter");

return filterService.insert(filtro);
}
Expand All @@ -335,7 +345,7 @@ public TableResponseDto<Usuario2> filter2(
@RequestMapping(value = "/multiFilter/delete", method = RequestMethod.POST)
public @ResponseBody Filter filterDelete(
@RequestJsonBody(param="filtro") Filter filtro) {
TableUsuarioController.logger.info("[POST - jqGrid] : delete filter");
TableUsuarioController.logger.info("[POST - table] : delete filter");
return filterService.delete(filtro);
}

Expand Down Expand Up @@ -377,9 +387,9 @@ public TableResponseDto<Usuario2> filter2(
public @ResponseBody List<TableRowDto<Usuario>> search(
@RequestJsonBody(param="filter") Usuario filterUsuario,
@RequestJsonBody(param="search") Usuario searchUsuario,
@RequestJsonBody JQGridRequestDto jqGridRequestDto){
@RequestJsonBody TableRequestDto tableRequestDto){
TableUsuarioController.logger.info("[POST - search] : Buscar Usuarios");
return jqGridUsuarioService.search(filterUsuario, searchUsuario, jqGridRequestDto, false);
return tableUsuarioService.search(filterUsuario, searchUsuario, tableRequestDto, false);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion x21aEAR/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<org.springframework.security.version>4.2.11.RELEASE</org.springframework.security.version>
<org.logback.version>1.2.3</org.logback.version>
<org.slf4j.version>1.7.25</org.slf4j.version>
<com.ejie.x38.version>4.0.0-RELEASE</com.ejie.x38.version>
<com.ejie.x38.version>4.2.0-RELEASE</com.ejie.x38.version>
<org.apache.tiles.version>3.0.8</org.apache.tiles.version>
<!-- <org.jackson.version>2.8.11.3</org.jackson.version> -->
<org.jackson.version>2.7.9.5</org.jackson.version>
Expand Down
6 changes: 0 additions & 6 deletions x21aMantenimientosWar/.checkstyle

This file was deleted.

Loading

0 comments on commit 3cd0a34

Please sign in to comment.