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,134 +98,140 @@ ...@@ -71,134 +98,140 @@
<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:input name="urlOrgao" label="URL do Servio: " <aui:fieldset label="Dados da Conexo com Servio">
style="width:500px; display:block; margin: 5px" type="text"
value="<%=urlOrgao%>" /> <aui:input name="urlOrgao" label="URL do Servio: "
</aui:fieldset> style="width:500px; display:block;" type="text"
value="<%=urlOrgao%>" />
</aui:fieldset>
<aui:fieldset label="Expediente"> <aui:fieldset label="Expediente">
<aui:input name="PGJConfig" label="PROCURADOR GERAL DE JUSTIA: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="PGJConfig" label="PROCURADOR GERAL DE JUSTIA: "
value="<%=PGJConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=PGJConfig%>" />
<aui:input name="CGMPConfig"
label="CORREGEDORA GERAL DO MINISTRIO PBLICO: " <aui:input name="CGMPConfig"
style="width:500px; display:block; margin: 5px" type="text" label="CORREGEDORA GERAL DO MINISTRIO PBLICO: "
value="<%=CGMPConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CGMPConfig%>" />
<aui:input name="SGJAConfig"
label="PROCURADORIA GERAL DE JUSTIA SUBPROCURADORIA GERAL DE JUSTIA DE ADMINISTRAO: " <aui:input name="SGJAConfig"
style="width:500px; display:block; margin: 5px" type="text" label="PROCURADORIA GERAL DE JUSTIA SUBPROCURADORIA GERAL DE JUSTIA DE ADMINISTRAO: "
value="<%=SGJAConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJAConfig%>" />
<aui:input name="SGJPIConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE PLANEJAMENTO INSTITUCIONAL: " <aui:input name="SGJPIConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SUBPROCURADORIA GERAL DE JUSTIA DE PLANEJAMENTO INSTITUCIONAL: "
value="<%=SGJPIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJPIConfig%>" />
<aui:input name="SGJACIConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CVEIS E INSTITUCIONAIS: " <aui:input name="SGJACIConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CVEIS E INSTITUCIONAIS: "
value="<%=SGJACIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJACIConfig%>" />
<aui:input name="SGJACDHConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CRIMINAIS E DE DIREITOS HUMANOS: " <aui:input name="SGJACDHConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CRIMINAIS E DE DIREITOS HUMANOS: "
value="<%=SGJACDHConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJACDHConfig%>" />
<aui:input name="SGJRIDPConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE RELAES INSTITUCIONAIS E DEFESA DE PRERROGATIVAS: " <aui:input name="SGJRIDPConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SUBPROCURADORIA GERAL DE JUSTIA DE RELAES INSTITUCIONAIS E DEFESA DE PRERROGATIVAS: "
value="<%=SGJRIDPConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJRIDPConfig%>" />
<aui:input name="CGConfig" label="CHEFIA DE GABINETE: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="CGConfig" label="CHEFIA DE GABINETE: "
value="<%=CGConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CGConfig%>" />
<aui:input name="CJConfig" label="CONSULTORIA JURDICA: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="CJConfig" label="CONSULTORIA JURDICA: "
value="<%=CJConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CJConfig%>" />
<aui:input name="AEConfig" label="ASSESSORIA EXECUTIVA: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="AEConfig" label="ASSESSORIA EXECUTIVA: "
value="<%=AEConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=AEConfig%>" />
<aui:input name="CMPROCJConfig"
label="COOREDENADORIA DE MOVIMENTAO DOS PROCURADORES DE JUSTIA: " <aui:input name="CMPROCJConfig"
style="width:500px; display:block; margin: 5px" type="text" label="COOREDENADORIA DE MOVIMENTAO DOS PROCURADORES DE JUSTIA: "
value="<%=CMPROCJConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CMPROCJConfig%>" />
<aui:input name="CMPROMJConfig"
label="COORDENADORIA DE MOVIMENTAO DOS PROMOTORES DE JUSTIA: " <aui:input name="CMPROMJConfig"
style="width:500px; display:block; margin: 5px" type="text" label="COORDENADORIA DE MOVIMENTAO DOS PROMOTORES DE JUSTIA: "
value="<%=CMPROMJConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CMPROMJConfig%>" />
<aui:input name="CSIConfig"
label="COORDENADORIA DE SEGURANA E INTELIGNCIA: " <aui:input name="CSIConfig"
style="width:500px; display:block; margin: 5px" type="text" label="COORDENADORIA DE SEGURANA E INTELIGNCIA: "
value="<%=CSIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CSIConfig%>" />
<aui:input name="CEAFConfig"
label="CENTRO DE ESTUDOS E APERFEIOAMENTO FUNCIONAL: " <aui:input name="CEAFConfig"
style="width:500px; display:block; margin: 5px" type="text" label="CENTRO DE ESTUDOS E APERFEIOAMENTO FUNCIONAL: "
value="<%=CEAFConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CEAFConfig%>" />
<aui:input name="OUVIConfig" label="OUVIDORIA: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="OUVIConfig" label="OUVIDORIA: "
value="<%=OUVIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=OUVIConfig%>" />
<aui:input name="SGMPConfig"
label="SECRETARIA GERAL DO MINISTRIO PBLICO: " <aui:input name="SGMPConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SECRETARIA GERAL DO MINISTRIO PBLICO: "
value="<%=SGMPConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGMPConfig%>" />
<aui:input name="AAOMCConfig"
label="ASSESSORIA DE ATRIBUIO ORIGINRIA EM MATRIA CVEL: " <aui:input name="AAOMCConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE ATRIBUIO ORIGINRIA EM MATRIA CVEL: "
value="<%=AAOMCConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=AAOMCConfig%>" />
<aui:input name="ARCCConfig"
label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CVEIS: " <aui:input name="ARCCConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CVEIS: "
value="<%=ARCCConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=ARCCConfig%>" />
<aui:input name="GAOMCConfig"
label="GRUPO DE ATRIBUIO ORIGINRIA EM MATRIA CRIMINAL: " <aui:input name="GAOMCConfig"
style="width:500px; display:block; margin: 5px" type="text" label="GRUPO DE ATRIBUIO ORIGINRIA EM MATRIA CRIMINAL: "
value="<%=GAOMCConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=GAOMCConfig%>" />
<aui:input name="ARCCRIConfig"
label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CRIMINAIS: " <aui:input name="ARCCRIConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CRIMINAIS: "
value="<%=ARCCRIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=ARCCRIConfig%>" />
<aui:input name="ACConfig" label="ASSESSORIA CRIMINAL: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="ACConfig" label="ASSESSORIA CRIMINAL: "
value="<%=ACConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=ACConfig%>" />
<aui:input name="ADHMConfig"
label="ASSESSORIA DE DIRETOS HUMANOS E DE MINORIAS: " <aui:input name="ADHMConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE DIRETOS HUMANOS E DE MINORIAS: "
value="<%=ADHMConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=ADHMConfig%>" />
<aui:input name="AAPConfig"
label="ASSESSORIA DE ASSUNTOS PARLAMENTARES: " <aui:input name="AAPConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE ASSUNTOS PARLAMENTARES: "
value="<%=AAPConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=AAPConfig%>" />
<aui:input name="AIConfig" label="ASSESSORIA INTERNACIONAL: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="AIConfig" label="ASSESSORIA INTERNACIONAL: "
value="<%=AIConfig%>" /> style="width:500px; display:block;" type="text"
</aui:fieldset> value="<%=AIConfig%>" />
</liferay-frontend:fieldset>
</liferay-frontend:fieldset-group> </aui:fieldset>
</liferay-frontend:fieldset>
</liferay-frontend:fieldset-group>
</liferay-frontend:edit-form-body> </liferay-frontend:edit-form-body>
<liferay-frontend:edit-form-footer> <liferay-frontend:edit-form-footer>
<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 />
\ No newline at end of file <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
...@@ -11,16 +11,13 @@ import aQute.bnd.annotation.metatype.Meta; ...@@ -11,16 +11,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,134 +98,140 @@ ...@@ -71,134 +98,140 @@
<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:input name="urlOrgao" label="URL do Servio: " <aui:fieldset label="Dados da Conexo com Servio">
style="width:500px; display:block; margin: 5px" type="text"
value="<%=urlOrgao%>" /> <aui:input name="urlOrgao" label="URL do Servio: "
</aui:fieldset> style="width:500px; display:block;" type="text"
value="<%=urlOrgao%>" />
</aui:fieldset>
<aui:fieldset label="Expediente"> <aui:fieldset label="Expediente">
<aui:input name="PGJConfig" label="PROCURADOR GERAL DE JUSTIA: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="PGJConfig" label="PROCURADOR GERAL DE JUSTIA: "
value="<%=PGJConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=PGJConfig%>" />
<aui:input name="CGMPConfig"
label="CORREGEDORA GERAL DO MINISTRIO PBLICO: " <aui:input name="CGMPConfig"
style="width:500px; display:block; margin: 5px" type="text" label="CORREGEDORA GERAL DO MINISTRIO PBLICO: "
value="<%=CGMPConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CGMPConfig%>" />
<aui:input name="SGJAConfig"
label="PROCURADORIA GERAL DE JUSTIA SUBPROCURADORIA GERAL DE JUSTIA DE ADMINISTRAO: " <aui:input name="SGJAConfig"
style="width:500px; display:block; margin: 5px" type="text" label="PROCURADORIA GERAL DE JUSTIA SUBPROCURADORIA GERAL DE JUSTIA DE ADMINISTRAO: "
value="<%=SGJAConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJAConfig%>" />
<aui:input name="SGJPIConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE PLANEJAMENTO INSTITUCIONAL: " <aui:input name="SGJPIConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SUBPROCURADORIA GERAL DE JUSTIA DE PLANEJAMENTO INSTITUCIONAL: "
value="<%=SGJPIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJPIConfig%>" />
<aui:input name="SGJACIConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CVEIS E INSTITUCIONAIS: " <aui:input name="SGJACIConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CVEIS E INSTITUCIONAIS: "
value="<%=SGJACIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJACIConfig%>" />
<aui:input name="SGJACDHConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CRIMINAIS E DE DIREITOS HUMANOS: " <aui:input name="SGJACDHConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SUBPROCURADORIA GERAL DE JUSTIA DE ASSUNTOS CRIMINAIS E DE DIREITOS HUMANOS: "
value="<%=SGJACDHConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJACDHConfig%>" />
<aui:input name="SGJRIDPConfig"
label="SUBPROCURADORIA GERAL DE JUSTIA DE RELAES INSTITUCIONAIS E DEFESA DE PRERROGATIVAS: " <aui:input name="SGJRIDPConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SUBPROCURADORIA GERAL DE JUSTIA DE RELAES INSTITUCIONAIS E DEFESA DE PRERROGATIVAS: "
value="<%=SGJRIDPConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGJRIDPConfig%>" />
<aui:input name="CGConfig" label="CHEFIA DE GABINETE: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="CGConfig" label="CHEFIA DE GABINETE: "
value="<%=CGConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CGConfig%>" />
<aui:input name="CJConfig" label="CONSULTORIA JURDICA: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="CJConfig" label="CONSULTORIA JURDICA: "
value="<%=CJConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CJConfig%>" />
<aui:input name="AEConfig" label="ASSESSORIA EXECUTIVA: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="AEConfig" label="ASSESSORIA EXECUTIVA: "
value="<%=AEConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=AEConfig%>" />
<aui:input name="CMPROCJConfig"
label="COOREDENADORIA DE MOVIMENTAO DOS PROCURADORES DE JUSTIA: " <aui:input name="CMPROCJConfig"
style="width:500px; display:block; margin: 5px" type="text" label="COOREDENADORIA DE MOVIMENTAO DOS PROCURADORES DE JUSTIA: "
value="<%=CMPROCJConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CMPROCJConfig%>" />
<aui:input name="CMPROMJConfig"
label="COORDENADORIA DE MOVIMENTAO DOS PROMOTORES DE JUSTIA: " <aui:input name="CMPROMJConfig"
style="width:500px; display:block; margin: 5px" type="text" label="COORDENADORIA DE MOVIMENTAO DOS PROMOTORES DE JUSTIA: "
value="<%=CMPROMJConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CMPROMJConfig%>" />
<aui:input name="CSIConfig"
label="COORDENADORIA DE SEGURANA E INTELIGNCIA: " <aui:input name="CSIConfig"
style="width:500px; display:block; margin: 5px" type="text" label="COORDENADORIA DE SEGURANA E INTELIGNCIA: "
value="<%=CSIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CSIConfig%>" />
<aui:input name="CEAFConfig"
label="CENTRO DE ESTUDOS E APERFEIOAMENTO FUNCIONAL: " <aui:input name="CEAFConfig"
style="width:500px; display:block; margin: 5px" type="text" label="CENTRO DE ESTUDOS E APERFEIOAMENTO FUNCIONAL: "
value="<%=CEAFConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=CEAFConfig%>" />
<aui:input name="OUVIConfig" label="OUVIDORIA: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="OUVIConfig" label="OUVIDORIA: "
value="<%=OUVIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=OUVIConfig%>" />
<aui:input name="SGMPConfig"
label="SECRETARIA GERAL DO MINISTRIO PBLICO: " <aui:input name="SGMPConfig"
style="width:500px; display:block; margin: 5px" type="text" label="SECRETARIA GERAL DO MINISTRIO PBLICO: "
value="<%=SGMPConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=SGMPConfig%>" />
<aui:input name="AAOMCConfig"
label="ASSESSORIA DE ATRIBUIO ORIGINRIA EM MATRIA CVEL: " <aui:input name="AAOMCConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE ATRIBUIO ORIGINRIA EM MATRIA CVEL: "
value="<%=AAOMCConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=AAOMCConfig%>" />
<aui:input name="ARCCConfig"
label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CVEIS: " <aui:input name="ARCCConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CVEIS: "
value="<%=ARCCConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=ARCCConfig%>" />
<aui:input name="GAOMCConfig"
label="GRUPO DE ATRIBUIO ORIGINRIA EM MATRIA CRIMINAL: " <aui:input name="GAOMCConfig"
style="width:500px; display:block; margin: 5px" type="text" label="GRUPO DE ATRIBUIO ORIGINRIA EM MATRIA CRIMINAL: "
value="<%=GAOMCConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=GAOMCConfig%>" />
<aui:input name="ARCCRIConfig"
label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CRIMINAIS: " <aui:input name="ARCCRIConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE RECURSOS CONSTITUCIONAIS CRIMINAIS: "
value="<%=ARCCRIConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=ARCCRIConfig%>" />
<aui:input name="ACConfig" label="ASSESSORIA CRIMINAL: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="ACConfig" label="ASSESSORIA CRIMINAL: "
value="<%=ACConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=ACConfig%>" />
<aui:input name="ADHMConfig"
label="ASSESSORIA DE DIRETOS HUMANOS E DE MINORIAS: " <aui:input name="ADHMConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE DIRETOS HUMANOS E DE MINORIAS: "
value="<%=ADHMConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=ADHMConfig%>" />
<aui:input name="AAPConfig"
label="ASSESSORIA DE ASSUNTOS PARLAMENTARES: " <aui:input name="AAPConfig"
style="width:500px; display:block; margin: 5px" type="text" label="ASSESSORIA DE ASSUNTOS PARLAMENTARES: "
value="<%=AAPConfig%>" /> style="width:500px; display:block;" type="text"
value="<%=AAPConfig%>" />
<aui:input name="AIConfig" label="ASSESSORIA INTERNACIONAL: "
style="width:500px; display:block; margin: 5px" type="text" <aui:input name="AIConfig" label="ASSESSORIA INTERNACIONAL: "
value="<%=AIConfig%>" /> style="width:500px; display:block;" type="text"
</aui:fieldset> value="<%=AIConfig%>" />
</liferay-frontend:fieldset>
</liferay-frontend:fieldset-group> </aui:fieldset>
</liferay-frontend:fieldset>
</liferay-frontend:fieldset-group>
</liferay-frontend:edit-form-body> </liferay-frontend:edit-form-body>
<liferay-frontend:edit-form-footer> <liferay-frontend:edit-form-footer>
<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 />
\ No newline at end of file <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