Sfoglia il codice sorgente

aggiunto link al BO Pratica

feature/fix_soggetti
marcoalderighi 2 anni fa
parent
commit
9e97975296
  1. 2
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java
  2. 29
      liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/html/view.jsp

2
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/WEB-INF/src/it/nextmind/liferay/portos/advanced/operation/util/AdvancedOperationUtil.java

@ -230,7 +230,7 @@ public class AdvancedOperationUtil {
} }
return null; return null;
} }
private static List<DettPratica> _getDettPraticaList(long intPraticaId){ private static List<DettPratica> _getDettPraticaList(long intPraticaId){
List<DettPratica> dettPraticaList = new ArrayList<DettPratica>(); List<DettPratica> dettPraticaList = new ArrayList<DettPratica>();

29
liferay-plugins-sdk-6.2/portlets/portos-advanced-operation-portlet/docroot/html/view.jsp

@ -1,9 +1,10 @@
<%@page import="com.liferay.portal.model.Layout"%>
<%@page import="it.tref.liferay.portos.bo.shared.util.PortletKeys"%>
<%@page import="com.liferay.portal.kernel.util.HtmlUtil"%> <%@page import="com.liferay.portal.kernel.util.HtmlUtil"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%> <%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="com.liferay.portal.model.User"%> <%@page import="com.liferay.portal.model.User"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%> <%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="javax.portlet.PortletMode"%> <%@page import="javax.portlet.PortletMode"%>
<%@page import="com.liferay.portal.util.PortletKeys"%>
<%@page import="javax.portlet.PortletRequest"%> <%@page import="javax.portlet.PortletRequest"%>
<%@page import="javax.portlet.PortletURL"%> <%@page import="javax.portlet.PortletURL"%>
<%@page import="com.liferay.portal.model.Group"%> <%@page import="com.liferay.portal.model.Group"%>
@ -84,14 +85,35 @@
</aui:form> </aui:form>
</aui:col> </aui:col>
</aui:row> </aui:row>
<%
long ricercaPagePlid = PortalUtil.getPlidFromFriendlyURL(20155, "/group/portos-backoffice/ricerca");
%>
<liferay-portlet:renderURL
plid="<%= ricercaPagePlid %>"
portletName='<%= PortletKeys.FASCICOLO %>'
portletMode="<%= PortletMode.VIEW.toString() %>"
windowState="<%= LiferayWindowState.NORMAL.toString() %>"
var="viewPraticaURL"
>
<liferay-portlet:param name="mvcPath" value="/html/fascicolo/view_fascicolo.jsp"/>
<liferay-portlet:param name="intPraticaId" value='<%= String.valueOf(intPraticaId) %>' />
</liferay-portlet:renderURL>
<% if(Validator.isNotNull(intPratica)){ %> <% if(Validator.isNotNull(intPratica)){ %>
<aui:row style="margin-top: 10px" id="praticaAdminDiv"> <aui:row style="margin-top: 10px" id="praticaAdminDiv">
<aui:row id="praticaRecapDiv"> <aui:row id="praticaRecapDiv">
<aui:row> <aui:row>
<aui:col span="3"> <aui:col span="3">
<p style="font-size: 30px; margin: 20px 0;"> <p style="font-size: 30px; margin: 20px 0;">
<b>Pratica:</b> <%= intPraticaId %> <b>Pratica:</b>
<a href="<%= viewPraticaURL %>" target="_blank">
<%= intPraticaId %>
<liferay-ui:icon
image="action_right"
target="_blank"
message="Apri Pratica in Back Office"
url="<%= viewPraticaURL %>">
</liferay-ui:icon>
</a>
</p> </p>
</aui:col> </aui:col>
</aui:row> </aui:row>
@ -359,6 +381,7 @@
<liferay-ui:icon <liferay-ui:icon
image="impersonate_user" image="impersonate_user"
target="_blank" target="_blank"
message="Impersona Titolare Digitale della pratica"
url="<%= impersonateUserURL %>"> url="<%= impersonateUserURL %>">
</liferay-ui:icon> </liferay-ui:icon>
</div> </div>

Caricamento…
Annulla
Salva