El caso es que tengo mi JSP inicial donde me busca bien los registros. Pero luego cuando le doy a ordenar por alguno de los campos me abre el resultado en otra pantalla sin estilos ni nada.
CODIGO PAGINA JSP
Código J2E:
Ver original<table width="100%" cellspacing="0" cellpadding="0" align="left" bgcolor="#ededed">
<tr height="3px">
<td></td>
</tr>
<tr>
<td width="2px">
</td>
<td>
<fwk:vlhroot value="list" url="expVehiclesDetall.do?reqCode=search&" includeParameters="" configName="vlConfig">
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="left">
<!-- pagination section -->
<tr>
<td>
<fwk:vlhpaging showSummary="true" attributes="align=right"/>
</td>
</tr>
<!-- end of Pagination -->
<tr>
<td colspan="2" bgcolor="#ffffff">
<table width="100%" class="classicLook" cellspacing="0" cellpadding="0">
<%
String displayProvider = (request.getAttribute("displayProvider")!=null)?request.getAttribute("displayProvider").toString():"ExportHTML";
%>
<fwk:vlhrow bean="llista" display="<%=displayProvider%>">
<fwk:vlhattribute name="onmouseover">this.className='selected';</fwk:vlhattribute>
<fwk:vlhattribute name="onmouseout">this.className='zebra0';</fwk:vlhattribute>
<fwk:vlhcolumn titleKey="jsp.expedient.expVehiclesDetallList.numOrdre" property="id.numVehicle" sortable="desc">
<fwk:vlhaction url="editExpVehiclesDetall.do?reqCode=search&num_expediente=2007S000005">
<fwk:vlhaddParam name="reqCode" value="edit" temp="false" />
<fwk:vlhaddParam name="id" property="id.numVehicle" temp="false" />
<c:out value="${llista.expVehicles.id.numVehicle}"></c:out>
</fwk:vlhaction>
</fwk:vlhcolumn>
<fwk:vlhcolumn titleKey="jsp.expedient.expVehiclesDetallList.matricula" property="expVehicles.matricula" sortable="desc">
<c:out value="${llista.expVehicles.matricula}" />
</fwk:vlhcolumn>
<fwk:vlhcolumn titleKey="jsp.expedient.expVehiclesDetallList.marca" property="expVehicles.marcaVehByMarca.descripcio" sortable="asc">
<c:out value="${llista.expVehicles.marcaVehByMarca.descripcio}" />
</fwk:vlhcolumn>
<fwk:vlhcontrols titleKey="jsp.expedient.expVehiclesDetallList.accions">
[
<fwk:vlhaction url="editExpVehiclesDetall.do?reqCode=delete">
<fwk:vlhaddParam name="reqCode" value="delete" temp="false" /> <bean:message key="jsp.expedient.expVehiclesDetallList.delete"/>
<fwk:vlhaddParam name="id" property="id" temp="false" />
</fwk:vlhaction>
]
[
<fwk:vlhaction url="editExpVehiclesDetall.do?reqCode=edit">
<fwk:vlhaddParam name="reqCode" value="edit" temp="false" /> <bean:message key="jsp.expedient.expVehiclesDetallList.editar"/>
<fwk:vlhaddParam name="id" property="id" temp="false" />
</fwk:vlhaction>
]
COMO LLAMO A LA JSP
Código J2E:
Ver original<fwk:tabPanel panelStyleId="tabPanel" contentStyleId="tabContent" currentStyleId="ajaxCurrentTab">
<fwk:tab caption="pestanya.expedient.dadesBas" baseUrl="expOpinioPatrullaDetall.do?reqCode=iniciTab" reloadContent="true"/>
<fwk:tab caption="pestanya.expedient.testimonis" baseUrl="expOpinioPatrullaDetall.do?reqCode=iniciTab" reloadContent="true"/>
<fwk:tab caption="pestanya.expedient.ressenya" baseUrl="expOpinioPatrullaDetall.do?reqCode=iniciTab" reloadContent="true"/>
<fwk:tab caption="pestanya.expedient.opinioPat" defaultTab='true' baseUrl="expOpinioPatrullaDetall.do?reqCode=iniciTab" reloadContent="true"/>
<fwk:tab caption="pestanya.expedient.sct" baseUrl="expOpinioPatrullaDetall.do?reqCode=iniciTab" reloadContent="true"/>
<fwk:tab caption="pestanya.expedient.vehicles" baseUrl="expVehiclesDetall.do?reqCode=searchIni&num_expediente=2007S000005" reloadContent="true"/>
<fwk:tab caption="pestanya.expedient.foto" baseUrl="expOpinioPatrullaDetall.do?reqCode=iniciTab" reloadContent="true"/>
</fwk:tabPanel>
PD: Siento no haber utilizado el buscador