Alterações na configuração do portlet

parent 97c74c28
<%@ include file="/init.jsp"%> <%@ include file="init.jsp"%>
<%@ page <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
import="mprj.doerj.caderno.configuration.DoerjCadernoPortletConfiguration"%> <%@ taglib uri="http://liferay.com/tld/aui" prefix="aui"%>
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet"%>
<%@ page import="javax.portlet.PortletPreferences"%>
<%@ page import="com.liferay.portal.kernel.util.Validator" %>
<%@ page import="mprj.doerj.caderno.configuration.DoerjCadernoPortletConfiguration"%>
<%@ page import="com.liferay.portal.kernel.util.Constants"%> <%@ page import="com.liferay.portal.kernel.util.Constants"%>
<style>
.container-view{
max-width: 100% !important;
}
.sheet-lg{
max-width: 100% !important;
}
.max-width{
max-width: 100% !important;
}
</style>
<%
DoerjCadernoPortletConfiguration portletInstanceConfig = portletDisplay
.getPortletInstanceConfiguration(DoerjCadernoPortletConfiguration.class);
%>
<% <%
String urlOrgao = portletPreferences.getValue("urlOrgao", ""); String urlOrgao = portletInstanceConfig.urlOrgao();
String PGJConfig = portletPreferences.getValue("PGJConfig", ""); String PGJConfig = portletInstanceConfig.PGJConfig();
String CGMPConfig = portletPreferences.getValue("CGMPConfig", ""); String CGMPConfig = portletInstanceConfig.CGMPConfig();
String SGJAConfig = portletPreferences.getValue("SGJAConfig", ""); String SGJAConfig = portletInstanceConfig.SGJAConfig();
String SGJPIConfig = portletPreferences.getValue("SGJPIConfig", ""); String SGJPIConfig = portletInstanceConfig.SGJPIConfig();
String SGJACIConfig = portletPreferences.getValue("SGJACIConfig", ""); String SGJACIConfig = portletInstanceConfig.SGJACIConfig();
String SGJACDHConfig = portletPreferences.getValue("SGJACDHConfig", ""); String SGJACDHConfig = portletInstanceConfig.SGJACDHConfig();
String SGJRIDPConfig = portletPreferences.getValue("SGJRIDPConfig", ""); String SGJRIDPConfig = portletInstanceConfig.SGJRIDPConfig();
String CGConfig = portletPreferences.getValue("CGConfig", ""); String CGConfig = portletInstanceConfig.CGConfig();
String CJConfig = portletPreferences.getValue("CJConfig", ""); String CJConfig = portletInstanceConfig.CJConfig();
String AEConfig = portletPreferences.getValue("AEConfig", ""); String AEConfig = portletInstanceConfig.AEConfig();
String CMPROCJConfig = portletPreferences.getValue("CMPROCJConfig", ""); String CMPROCJConfig = portletInstanceConfig.CMPROCJConfig();
String CMPROMJConfig = portletPreferences.getValue("CMPROMJConfig", ""); String CMPROMJConfig = portletInstanceConfig.CMPROMJConfig();
String CSIConfig = portletPreferences.getValue("CSIConfig", ""); String CSIConfig = portletInstanceConfig.CSIConfig();
String CEAFConfig = portletPreferences.getValue("CEAFConfig", ""); String CEAFConfig = portletInstanceConfig.CEAFConfig();
String OUVIConfig = portletPreferences.getValue("OUVIConfig", ""); String OUVIConfig = portletInstanceConfig.OUVIConfig();
String SGMPConfig = portletPreferences.getValue("SGMPConfig", ""); String SGMPConfig = portletInstanceConfig.SGMPConfig();
String AAOMCConfig = portletPreferences.getValue("AAOMCConfig", ""); String AAOMCConfig = portletInstanceConfig.AAOMCConfig();
String ARCCConfig = portletPreferences.getValue("ARCCConfig", ""); String ARCCConfig = portletInstanceConfig.ARCCConfig();
String GAOMCConfig = portletPreferences.getValue("GAOMCConfig", ""); String GAOMCConfig = portletInstanceConfig.GAOMCConfig();
String ARCCRIConfig = portletPreferences.getValue("ARCCRIConfig", ""); String ARCCRIConfig = portletInstanceConfig.ARCCRIConfig();
String ACConfig = portletPreferences.getValue("ACConfig", ""); String ACConfig = portletInstanceConfig.ACConfig();
String ADHMConfig = portletPreferences.getValue("ADHMConfig", ""); String ADHMConfig = portletInstanceConfig.ADHMConfig();
String AAPConfig = portletPreferences.getValue("AAPConfig", ""); String AAPConfig = portletInstanceConfig.AAPConfig();
String AIConfig = portletPreferences.getValue("AIConfig", ""); String AIConfig = portletInstanceConfig.AIConfig();
%> %>
<liferay-portlet:actionURL portletConfiguration="<%=true%>" <liferay-portlet:actionURL portletConfiguration="<%= true %>"
var="configurationActionURL" /> var="configurationActionURL" />
<liferay-portlet:renderURL portletConfiguration="<%= true %>"
<liferay-portlet:renderURL portletConfiguration="<%=true%>"
var="configurationRenderURL" /> var="configurationRenderURL" />
<aui:form action="<%=configurationActionURL%>" method="post" name="fm"> <liferay-frontend:edit-form
action="<%= configurationActionURL %>"
method="post"
name="fm"
>
<aui:input name="<%=Constants.CMD%>" type="hidden" <aui:input name="<%=Constants.CMD%>" type="hidden"
value="<%=Constants.UPDATE%>" /> value="<%=Constants.UPDATE%>" />
...@@ -71,129 +98,135 @@ ...@@ -71,129 +98,135 @@
<liferay-frontend:edit-form-body> <liferay-frontend:edit-form-body>
<liferay-frontend:fieldset-group> <liferay-frontend:fieldset-group>
<liferay-frontend:fieldset collapsible="<%=false%>" label=""> <liferay-frontend:fieldset
collapsible="<%= false %>"
label="">
<aui:fieldset label="Dados da Conexo com Servio"> <aui:fieldset label="Dados da Conexo com Servio">
<aui:input name="urlOrgao" label="URL do Servio: " <aui:input name="urlOrgao" label="URL do Servio: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=urlOrgao%>" /> value="<%=urlOrgao%>" />
</aui:fieldset> </aui:fieldset>
<aui:fieldset label="Expediente"> <aui:fieldset label="Expediente">
<aui:input name="PGJConfig" label="PROCURADOR GERAL DE JUSTIA: " <aui:input name="PGJConfig" label="PROCURADOR GERAL DE JUSTIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=PGJConfig%>" /> value="<%=PGJConfig%>" />
<aui:input name="CGMPConfig" <aui:input name="CGMPConfig"
label="CORREGEDORA GERAL DO MINISTRIO PBLICO: " label="CORREGEDORA GERAL DO MINISTRIO PBLICO: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CGMPConfig%>" /> value="<%=CGMPConfig%>" />
<aui:input name="SGJAConfig" <aui:input name="SGJAConfig"
label="PROCURADORIA GERAL DE JUSTIA SUBPROCURADORIA GERAL DE JUSTIA DE ADMINISTRAO: " label="PROCURADORIA GERAL DE JUSTIA SUBPROCURADORIA GERAL DE JUSTIA DE ADMINISTRAO: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJAConfig%>" /> value="<%=SGJAConfig%>" />
<aui:input name="SGJPIConfig" <aui:input name="SGJPIConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE PLANEJAMENTO INSTITUCIONAL: " label="SUBPROCURADORIA GERAL DE JUSTIA DE PLANEJAMENTO INSTITUCIONAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJPIConfig%>" /> value="<%=SGJPIConfig%>" />
<aui:input name="SGJACIConfig" <aui:input name="SGJACIConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CVEIS E INSTITUCIONAIS: " label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CVEIS E INSTITUCIONAIS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJACIConfig%>" /> value="<%=SGJACIConfig%>" />
<aui:input name="SGJACDHConfig" <aui:input name="SGJACDHConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CRIMINAIS E DE DIREITOS HUMANOS: " label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CRIMINAIS E DE DIREITOS HUMANOS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJACDHConfig%>" /> value="<%=SGJACDHConfig%>" />
<aui:input name="SGJRIDPConfig" <aui:input name="SGJRIDPConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE RELAES INSTITUCIONAIS E DEFESA DE PRERROGATIVAS: " label="SUBPROCURADORIA GERAL DE JUSTIA DE RELAES INSTITUCIONAIS E DEFESA DE PRERROGATIVAS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJRIDPConfig%>" /> value="<%=SGJRIDPConfig%>" />
<aui:input name="CGConfig" label="CHEFIA DE GABINETE: " <aui:input name="CGConfig" label="CHEFIA DE GABINETE: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CGConfig%>" /> value="<%=CGConfig%>" />
<aui:input name="CJConfig" label="CONSULTORIA JURDICA: " <aui:input name="CJConfig" label="CONSULTORIA JURDICA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CJConfig%>" /> value="<%=CJConfig%>" />
<aui:input name="AEConfig" label="ASSESSORIA EXECUTIVA: " <aui:input name="AEConfig" label="ASSESSORIA EXECUTIVA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=AEConfig%>" /> value="<%=AEConfig%>" />
<aui:input name="CMPROCJConfig" <aui:input name="CMPROCJConfig"
label="COOREDENADORIA DE MOVIMENTAO DOS PROCURADORES DE JUSTIA: " label="COOREDENADORIA DE MOVIMENTAO DOS PROCURADORES DE JUSTIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CMPROCJConfig%>" /> value="<%=CMPROCJConfig%>" />
<aui:input name="CMPROMJConfig" <aui:input name="CMPROMJConfig"
label="COORDENADORIA DE MOVIMENTAO DOS PROMOTORES DE JUSTIA: " label="COORDENADORIA DE MOVIMENTAO DOS PROMOTORES DE JUSTIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CMPROMJConfig%>" /> value="<%=CMPROMJConfig%>" />
<aui:input name="CSIConfig" <aui:input name="CSIConfig"
label="COORDENADORIA DE SEGURANA E INTELIGNCIA: " label="COORDENADORIA DE SEGURANA E INTELIGNCIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CSIConfig%>" /> value="<%=CSIConfig%>" />
<aui:input name="CEAFConfig" <aui:input name="CEAFConfig"
label="CENTRO DE ESTUDOS E APERFEIOAMENTO FUNCIONAL: " label="CENTRO DE ESTUDOS E APERFEIOAMENTO FUNCIONAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CEAFConfig%>" /> value="<%=CEAFConfig%>" />
<aui:input name="OUVIConfig" label="OUVIDORIA: " <aui:input name="OUVIConfig" label="OUVIDORIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=OUVIConfig%>" /> value="<%=OUVIConfig%>" />
<aui:input name="SGMPConfig" <aui:input name="SGMPConfig"
label="SECRETARIA GERAL DO MINISTRIO PBLICO: " label="SECRETARIA GERAL DO MINISTRIO PBLICO: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGMPConfig%>" /> value="<%=SGMPConfig%>" />
<aui:input name="AAOMCConfig" <aui:input name="AAOMCConfig"
label="ASSESSORIA DE ATRIBUIO ORIGINRIA EM MATRIA CVEL: " label="ASSESSORIA DE ATRIBUIO ORIGINRIA EM MATRIA CVEL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=AAOMCConfig%>" /> value="<%=AAOMCConfig%>" />
<aui:input name="ARCCConfig" <aui:input name="ARCCConfig"
label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CVEIS: " label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CVEIS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=ARCCConfig%>" /> value="<%=ARCCConfig%>" />
<aui:input name="GAOMCConfig" <aui:input name="GAOMCConfig"
label="GRUPO DE ATRIBUIO ORIGINRIA EM MATRIA CRIMINAL: " label="GRUPO DE ATRIBUIO ORIGINRIA EM MATRIA CRIMINAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=GAOMCConfig%>" /> value="<%=GAOMCConfig%>" />
<aui:input name="ARCCRIConfig" <aui:input name="ARCCRIConfig"
label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CRIMINAIS: " label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CRIMINAIS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=ARCCRIConfig%>" /> value="<%=ARCCRIConfig%>" />
<aui:input name="ACConfig" label="ASSESSORIA CRIMINAL: " <aui:input name="ACConfig" label="ASSESSORIA CRIMINAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=ACConfig%>" /> value="<%=ACConfig%>" />
<aui:input name="ADHMConfig" <aui:input name="ADHMConfig"
label="ASSESSORIA DE DIRETOS HUMANOS E DE MINORIAS: " label="ASSESSORIA DE DIRETOS HUMANOS E DE MINORIAS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=ADHMConfig%>" /> value="<%=ADHMConfig%>" />
<aui:input name="AAPConfig" <aui:input name="AAPConfig"
label="ASSESSORIA DE ASSUNTOS PARLAMENTARES: " label="ASSESSORIA DE ASSUNTOS PARLAMENTARES: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=AAPConfig%>" /> value="<%=AAPConfig%>" />
<aui:input name="AIConfig" label="ASSESSORIA INTERNACIONAL: " <aui:input name="AIConfig" label="ASSESSORIA INTERNACIONAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=AIConfig%>" /> value="<%=AIConfig%>" />
</aui:fieldset> </aui:fieldset>
</liferay-frontend:fieldset> </liferay-frontend:fieldset>
</liferay-frontend:fieldset-group> </liferay-frontend:fieldset-group>
</liferay-frontend:edit-form-body> </liferay-frontend:edit-form-body>
...@@ -201,4 +234,4 @@ ...@@ -201,4 +234,4 @@
<aui:button value="Salvar" type="submit" /> <aui:button value="Salvar" type="submit" />
<aui:button value="Cancelar" type="cancel" /> <aui:button value="Cancelar" type="cancel" />
</liferay-frontend:edit-form-footer> </liferay-frontend:edit-form-footer>
</aui:form> </liferay-frontend:edit-form>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %><%@ <%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %><%@ <%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %><%@ <%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> <%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<%@taglib uri="http://liferay.com/tld/frontend" prefix="liferay-frontend" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix = "c" %>
<%@ taglib uri="http://liferay.com/tld/theme" prefix="theme" %>
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@page import="com.liferay.portal.kernel.util.Constants"%>
<%@page import="java.util.Locale" %>
<%@page import="javax.portlet.ActionRequest"%>
<%@page import="javax.portlet.PortletURL"%>
<%@page import="javax.portlet.RenderRequest"%>
<%@page import="java.util.List" %>
<%@page import="java.util.ArrayList" %>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Date"%>
<%@page import="javax.portlet.WindowState"%>
<%@page import="javax.portlet.PortletMode"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState" %>
<%@page import="com.liferay.portal.kernel.util.WebKeys"%> <%@page import="com.liferay.portal.kernel.util.WebKeys"%>
<%@ page import="com.liferay.portal.kernel.util.StringPool" %> <%@page import="com.liferay.portal.kernel.util.ParamUtil" %>
<%@ page import="com.liferay.portal.kernel.util.ParamUtil" %>
<%@page import="org.apache.taglibs.standard.tag.common.core.ForEachSupport"%> <%@page import="org.apache.taglibs.standard.tag.common.core.ForEachSupport"%>
<%@page import="com.liferay.portal.kernel.servlet.SessionErrors"%> <%@page import="com.liferay.portal.kernel.servlet.SessionErrors"%>
<%@page import="java.util.List"%>
<%@page import="java.lang.String"%> <%@page import="java.lang.String"%>
<%@page import="javax.portlet.ActionRequest"%>
<%@page import="javax.portlet.PortletPreferences"%> <%@page import="javax.portlet.PortletPreferences"%>
<%@page import="com.liferay.portal.kernel.dao.search.SearchContainer"%> <%@page import="com.liferay.portal.kernel.dao.search.SearchContainer"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="javax.portlet.ActionRequest"%>
<%@page import="com.liferay.portal.kernel.servlet.SessionErrors"%>
<%@page import="java.util.List"%>
<%@page import="java.lang.String"%>
<liferay-theme:defineObjects />
<portlet:defineObjects /> <portlet:defineObjects />
<liferay-frontend:defineObjects />
<liferay-theme:defineObjects />
\ No newline at end of file
...@@ -109,6 +109,6 @@ repositories { ...@@ -109,6 +109,6 @@ repositories {
} }
liferay{ liferay{
liferayHome="C:/liferay-mprj-fixpack6/deploy" liferayHome="C:/Projetos/mprj/opt/deploy"
deployDir=file("${liferayHome}/") deployDir=file("${liferayHome}/")
} }
\ No newline at end of file
...@@ -12,16 +12,13 @@ import aQute.bnd.annotation.metatype.Meta; ...@@ -12,16 +12,13 @@ import aQute.bnd.annotation.metatype.Meta;
@Meta.OCD( @Meta.OCD(
id = "mprj.doerj.caderno.configuration.DoerjCadernoPortletConfiguration", id = "mprj.doerj.caderno.configuration.DoerjCadernoPortletConfiguration",
name="Caderno do Diario Oficial" name="Caderno do Diario Oficial"
) )
public interface DoerjCadernoPortletConfiguration { public interface DoerjCadernoPortletConfiguration {
@Meta.AD(required = false) @Meta.AD(required = false)
public String urlOrgao(); public String urlOrgao();
@Meta.AD(required = false) @Meta.AD(required = false)
public String PGJConfig(); public String PGJConfig();
...@@ -93,7 +90,4 @@ public interface DoerjCadernoPortletConfiguration { ...@@ -93,7 +90,4 @@ public interface DoerjCadernoPortletConfiguration {
@Meta.AD(required = false) @Meta.AD(required = false)
public String AIConfig(); public String AIConfig();
} }
<%@ include file="/init.jsp"%> <%@ include file="init.jsp"%>
<%@ page <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>
import="mprj.doerj.caderno.configuration.DoerjCadernoPortletConfiguration"%> <%@ taglib uri="http://liferay.com/tld/aui" prefix="aui"%>
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet"%>
<%@ page import="javax.portlet.PortletPreferences"%>
<%@ page import="com.liferay.portal.kernel.util.Validator" %>
<%@ page import="mprj.doerj.caderno.configuration.DoerjCadernoPortletConfiguration"%>
<%@ page import="com.liferay.portal.kernel.util.Constants"%> <%@ page import="com.liferay.portal.kernel.util.Constants"%>
<style>
.container-view{
max-width: 100% !important;
}
.sheet-lg{
max-width: 100% !important;
}
.max-width{
max-width: 100% !important;
}
</style>
<%
DoerjCadernoPortletConfiguration portletInstanceConfig = portletDisplay
.getPortletInstanceConfiguration(DoerjCadernoPortletConfiguration.class);
%>
<% <%
String urlOrgao = portletPreferences.getValue("urlOrgao", ""); String urlOrgao = portletInstanceConfig.urlOrgao();
String PGJConfig = portletPreferences.getValue("PGJConfig", ""); String PGJConfig = portletInstanceConfig.PGJConfig();
String CGMPConfig = portletPreferences.getValue("CGMPConfig", ""); String CGMPConfig = portletInstanceConfig.CGMPConfig();
String SGJAConfig = portletPreferences.getValue("SGJAConfig", ""); String SGJAConfig = portletInstanceConfig.SGJAConfig();
String SGJPIConfig = portletPreferences.getValue("SGJPIConfig", ""); String SGJPIConfig = portletInstanceConfig.SGJPIConfig();
String SGJACIConfig = portletPreferences.getValue("SGJACIConfig", ""); String SGJACIConfig = portletInstanceConfig.SGJACIConfig();
String SGJACDHConfig = portletPreferences.getValue("SGJACDHConfig", ""); String SGJACDHConfig = portletInstanceConfig.SGJACDHConfig();
String SGJRIDPConfig = portletPreferences.getValue("SGJRIDPConfig", ""); String SGJRIDPConfig = portletInstanceConfig.SGJRIDPConfig();
String CGConfig = portletPreferences.getValue("CGConfig", ""); String CGConfig = portletInstanceConfig.CGConfig();
String CJConfig = portletPreferences.getValue("CJConfig", ""); String CJConfig = portletInstanceConfig.CJConfig();
String AEConfig = portletPreferences.getValue("AEConfig", ""); String AEConfig = portletInstanceConfig.AEConfig();
String CMPROCJConfig = portletPreferences.getValue("CMPROCJConfig", ""); String CMPROCJConfig = portletInstanceConfig.CMPROCJConfig();
String CMPROMJConfig = portletPreferences.getValue("CMPROMJConfig", ""); String CMPROMJConfig = portletInstanceConfig.CMPROMJConfig();
String CSIConfig = portletPreferences.getValue("CSIConfig", ""); String CSIConfig = portletInstanceConfig.CSIConfig();
String CEAFConfig = portletPreferences.getValue("CEAFConfig", ""); String CEAFConfig = portletInstanceConfig.CEAFConfig();
String OUVIConfig = portletPreferences.getValue("OUVIConfig", ""); String OUVIConfig = portletInstanceConfig.OUVIConfig();
String SGMPConfig = portletPreferences.getValue("SGMPConfig", ""); String SGMPConfig = portletInstanceConfig.SGMPConfig();
String AAOMCConfig = portletPreferences.getValue("AAOMCConfig", ""); String AAOMCConfig = portletInstanceConfig.AAOMCConfig();
String ARCCConfig = portletPreferences.getValue("ARCCConfig", ""); String ARCCConfig = portletInstanceConfig.ARCCConfig();
String GAOMCConfig = portletPreferences.getValue("GAOMCConfig", ""); String GAOMCConfig = portletInstanceConfig.GAOMCConfig();
String ARCCRIConfig = portletPreferences.getValue("ARCCRIConfig", ""); String ARCCRIConfig = portletInstanceConfig.ARCCRIConfig();
String ACConfig = portletPreferences.getValue("ACConfig", ""); String ACConfig = portletInstanceConfig.ACConfig();
String ADHMConfig = portletPreferences.getValue("ADHMConfig", ""); String ADHMConfig = portletInstanceConfig.ADHMConfig();
String AAPConfig = portletPreferences.getValue("AAPConfig", ""); String AAPConfig = portletInstanceConfig.AAPConfig();
String AIConfig = portletPreferences.getValue("AIConfig", ""); String AIConfig = portletInstanceConfig.AIConfig();
%> %>
<liferay-portlet:actionURL portletConfiguration="<%=true%>" <liferay-portlet:actionURL portletConfiguration="<%= true %>"
var="configurationActionURL" /> var="configurationActionURL" />
<liferay-portlet:renderURL portletConfiguration="<%= true %>"
<liferay-portlet:renderURL portletConfiguration="<%=true%>"
var="configurationRenderURL" /> var="configurationRenderURL" />
<aui:form action="<%=configurationActionURL%>" method="post" name="fm"> <liferay-frontend:edit-form
action="<%= configurationActionURL %>"
method="post"
name="fm"
>
<aui:input name="<%=Constants.CMD%>" type="hidden" <aui:input name="<%=Constants.CMD%>" type="hidden"
value="<%=Constants.UPDATE%>" /> value="<%=Constants.UPDATE%>" />
...@@ -71,129 +98,135 @@ ...@@ -71,129 +98,135 @@
<liferay-frontend:edit-form-body> <liferay-frontend:edit-form-body>
<liferay-frontend:fieldset-group> <liferay-frontend:fieldset-group>
<liferay-frontend:fieldset collapsible="<%=false%>" label=""> <liferay-frontend:fieldset
collapsible="<%= false %>"
label="">
<aui:fieldset label="Dados da Conexo com Servio"> <aui:fieldset label="Dados da Conexo com Servio">
<aui:input name="urlOrgao" label="URL do Servio: " <aui:input name="urlOrgao" label="URL do Servio: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=urlOrgao%>" /> value="<%=urlOrgao%>" />
</aui:fieldset> </aui:fieldset>
<aui:fieldset label="Expediente"> <aui:fieldset label="Expediente">
<aui:input name="PGJConfig" label="PROCURADOR GERAL DE JUSTIA: " <aui:input name="PGJConfig" label="PROCURADOR GERAL DE JUSTIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=PGJConfig%>" /> value="<%=PGJConfig%>" />
<aui:input name="CGMPConfig" <aui:input name="CGMPConfig"
label="CORREGEDORA GERAL DO MINISTRIO PBLICO: " label="CORREGEDORA GERAL DO MINISTRIO PBLICO: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CGMPConfig%>" /> value="<%=CGMPConfig%>" />
<aui:input name="SGJAConfig" <aui:input name="SGJAConfig"
label="PROCURADORIA GERAL DE JUSTIA SUBPROCURADORIA GERAL DE JUSTIA DE ADMINISTRAO: " label="PROCURADORIA GERAL DE JUSTIA SUBPROCURADORIA GERAL DE JUSTIA DE ADMINISTRAO: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJAConfig%>" /> value="<%=SGJAConfig%>" />
<aui:input name="SGJPIConfig" <aui:input name="SGJPIConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE PLANEJAMENTO INSTITUCIONAL: " label="SUBPROCURADORIA GERAL DE JUSTIA DE PLANEJAMENTO INSTITUCIONAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJPIConfig%>" /> value="<%=SGJPIConfig%>" />
<aui:input name="SGJACIConfig" <aui:input name="SGJACIConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CVEIS E INSTITUCIONAIS: " label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CVEIS E INSTITUCIONAIS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJACIConfig%>" /> value="<%=SGJACIConfig%>" />
<aui:input name="SGJACDHConfig" <aui:input name="SGJACDHConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CRIMINAIS E DE DIREITOS HUMANOS: " label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CRIMINAIS E DE DIREITOS HUMANOS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJACDHConfig%>" /> value="<%=SGJACDHConfig%>" />
<aui:input name="SGJRIDPConfig" <aui:input name="SGJRIDPConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE RELAES INSTITUCIONAIS E DEFESA DE PRERROGATIVAS: " label="SUBPROCURADORIA GERAL DE JUSTIA DE RELAES INSTITUCIONAIS E DEFESA DE PRERROGATIVAS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGJRIDPConfig%>" /> value="<%=SGJRIDPConfig%>" />
<aui:input name="CGConfig" label="CHEFIA DE GABINETE: " <aui:input name="CGConfig" label="CHEFIA DE GABINETE: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CGConfig%>" /> value="<%=CGConfig%>" />
<aui:input name="CJConfig" label="CONSULTORIA JURDICA: " <aui:input name="CJConfig" label="CONSULTORIA JURDICA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CJConfig%>" /> value="<%=CJConfig%>" />
<aui:input name="AEConfig" label="ASSESSORIA EXECUTIVA: " <aui:input name="AEConfig" label="ASSESSORIA EXECUTIVA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=AEConfig%>" /> value="<%=AEConfig%>" />
<aui:input name="CMPROCJConfig" <aui:input name="CMPROCJConfig"
label="COOREDENADORIA DE MOVIMENTAO DOS PROCURADORES DE JUSTIA: " label="COOREDENADORIA DE MOVIMENTAO DOS PROCURADORES DE JUSTIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CMPROCJConfig%>" /> value="<%=CMPROCJConfig%>" />
<aui:input name="CMPROMJConfig" <aui:input name="CMPROMJConfig"
label="COORDENADORIA DE MOVIMENTAO DOS PROMOTORES DE JUSTIA: " label="COORDENADORIA DE MOVIMENTAO DOS PROMOTORES DE JUSTIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CMPROMJConfig%>" /> value="<%=CMPROMJConfig%>" />
<aui:input name="CSIConfig" <aui:input name="CSIConfig"
label="COORDENADORIA DE SEGURANA E INTELIGNCIA: " label="COORDENADORIA DE SEGURANA E INTELIGNCIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CSIConfig%>" /> value="<%=CSIConfig%>" />
<aui:input name="CEAFConfig" <aui:input name="CEAFConfig"
label="CENTRO DE ESTUDOS E APERFEIOAMENTO FUNCIONAL: " label="CENTRO DE ESTUDOS E APERFEIOAMENTO FUNCIONAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=CEAFConfig%>" /> value="<%=CEAFConfig%>" />
<aui:input name="OUVIConfig" label="OUVIDORIA: " <aui:input name="OUVIConfig" label="OUVIDORIA: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=OUVIConfig%>" /> value="<%=OUVIConfig%>" />
<aui:input name="SGMPConfig" <aui:input name="SGMPConfig"
label="SECRETARIA GERAL DO MINISTRIO PBLICO: " label="SECRETARIA GERAL DO MINISTRIO PBLICO: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=SGMPConfig%>" /> value="<%=SGMPConfig%>" />
<aui:input name="AAOMCConfig" <aui:input name="AAOMCConfig"
label="ASSESSORIA DE ATRIBUIO ORIGINRIA EM MATRIA CVEL: " label="ASSESSORIA DE ATRIBUIO ORIGINRIA EM MATRIA CVEL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=AAOMCConfig%>" /> value="<%=AAOMCConfig%>" />
<aui:input name="ARCCConfig" <aui:input name="ARCCConfig"
label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CVEIS: " label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CVEIS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=ARCCConfig%>" /> value="<%=ARCCConfig%>" />
<aui:input name="GAOMCConfig" <aui:input name="GAOMCConfig"
label="GRUPO DE ATRIBUIO ORIGINRIA EM MATRIA CRIMINAL: " label="GRUPO DE ATRIBUIO ORIGINRIA EM MATRIA CRIMINAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=GAOMCConfig%>" /> value="<%=GAOMCConfig%>" />
<aui:input name="ARCCRIConfig" <aui:input name="ARCCRIConfig"
label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CRIMINAIS: " label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CRIMINAIS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=ARCCRIConfig%>" /> value="<%=ARCCRIConfig%>" />
<aui:input name="ACConfig" label="ASSESSORIA CRIMINAL: " <aui:input name="ACConfig" label="ASSESSORIA CRIMINAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=ACConfig%>" /> value="<%=ACConfig%>" />
<aui:input name="ADHMConfig" <aui:input name="ADHMConfig"
label="ASSESSORIA DE DIRETOS HUMANOS E DE MINORIAS: " label="ASSESSORIA DE DIRETOS HUMANOS E DE MINORIAS: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=ADHMConfig%>" /> value="<%=ADHMConfig%>" />
<aui:input name="AAPConfig" <aui:input name="AAPConfig"
label="ASSESSORIA DE ASSUNTOS PARLAMENTARES: " label="ASSESSORIA DE ASSUNTOS PARLAMENTARES: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=AAPConfig%>" /> value="<%=AAPConfig%>" />
<aui:input name="AIConfig" label="ASSESSORIA INTERNACIONAL: " <aui:input name="AIConfig" label="ASSESSORIA INTERNACIONAL: "
style="width:500px; display:block; margin: 5px" type="text" style="width:500px; display:block;" type="text"
value="<%=AIConfig%>" /> value="<%=AIConfig%>" />
</aui:fieldset> </aui:fieldset>
</liferay-frontend:fieldset> </liferay-frontend:fieldset>
</liferay-frontend:fieldset-group> </liferay-frontend:fieldset-group>
</liferay-frontend:edit-form-body> </liferay-frontend:edit-form-body>
...@@ -201,4 +234,4 @@ ...@@ -201,4 +234,4 @@
<aui:button value="Salvar" type="submit" /> <aui:button value="Salvar" type="submit" />
<aui:button value="Cancelar" type="cancel" /> <aui:button value="Cancelar" type="cancel" />
</liferay-frontend:edit-form-footer> </liferay-frontend:edit-form-footer>
</aui:form> </liferay-frontend:edit-form>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %><%@ <%@taglib uri="http://liferay.com/tld/util" prefix="liferay-util" %>
taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %><%@ <%@taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %><%@ <%@taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %> <%@taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<%@taglib uri="http://liferay.com/tld/frontend" prefix="liferay-frontend" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix = "c" %>
<%@ taglib uri="http://liferay.com/tld/theme" prefix="theme" %>
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@ taglib uri="http://liferay.com/tld/portlet" prefix="liferay-portlet" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
<%@ taglib uri="http://liferay.com/tld/theme" prefix="liferay-theme" %>
<%@ taglib uri="http://liferay.com/tld/ui" prefix="liferay-ui" %>
<%@page import="com.liferay.portal.kernel.util.Constants"%>
<%@page import="java.util.Locale" %>
<%@page import="javax.portlet.ActionRequest"%>
<%@page import="javax.portlet.PortletURL"%>
<%@page import="javax.portlet.RenderRequest"%>
<%@page import="java.util.List" %>
<%@page import="java.util.ArrayList" %>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="java.util.Date"%>
<%@page import="javax.portlet.WindowState"%>
<%@page import="javax.portlet.PortletMode"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState" %>
<%@page import="com.liferay.portal.kernel.util.WebKeys"%> <%@page import="com.liferay.portal.kernel.util.WebKeys"%>
<%@ page import="com.liferay.portal.kernel.util.StringPool" %> <%@page import="com.liferay.portal.kernel.util.ParamUtil" %>
<%@ page import="com.liferay.portal.kernel.util.ParamUtil" %>
<%@page import="org.apache.taglibs.standard.tag.common.core.ForEachSupport"%> <%@page import="org.apache.taglibs.standard.tag.common.core.ForEachSupport"%>
<%@page import="com.liferay.portal.kernel.servlet.SessionErrors"%> <%@page import="com.liferay.portal.kernel.servlet.SessionErrors"%>
<%@page import="java.util.List"%>
<%@page import="java.lang.String"%> <%@page import="java.lang.String"%>
<%@page import="javax.portlet.ActionRequest"%>
<%@page import="javax.portlet.PortletPreferences"%> <%@page import="javax.portlet.PortletPreferences"%>
<%@page import="com.liferay.portal.kernel.dao.search.SearchContainer"%> <%@page import="com.liferay.portal.kernel.dao.search.SearchContainer"%>
<%@page import="com.liferay.portal.kernel.portlet.LiferayWindowState"%>
<%@page import="javax.portlet.ActionRequest"%>
<%@page import="com.liferay.portal.kernel.servlet.SessionErrors"%>
<%@page import="java.util.List"%>
<%@page import="java.lang.String"%>
<liferay-theme:defineObjects />
<portlet:defineObjects /> <portlet:defineObjects />
<liferay-frontend:defineObjects />
<liferay-theme:defineObjects />
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment