3
| <![CDATA[<script type="text/javascript">if(window.PrimeFaces){PrimeFaces.settings.locale='pt_BR';PrimeFaces.settings.viewId='/paginas/rec_mat/rm_imovel.xhtml';PrimeFaces.settings.contextPath='';PrimeFaces.settings.cookiesSecure=false;PrimeFaces.settings.projectStage='Development';}</script>]]>
|
139
| <![CDATA[<script type="text/javascript">new RichFaces.ui.Status("j_idt10",{"onstart":function(event){if (document.getElementById('frmPrincipal:ativaA4JStatus').value==1) {RichFaces.component('statPane').show();}},"onstop":function(event){RichFaces.component('statPane').hide()}} )</script>]]>
|
143
| <![CDATA[<script type="text/javascript">if(window.PrimeFaces){PrimeFaces.settings.locale='pt_BR';PrimeFaces.settings.viewId='/paginas/rec_mat/rm_imovel.xhtml';PrimeFaces.settings.contextPath='';PrimeFaces.settings.cookiesSecure=false;PrimeFaces.settings.projectStage='Development';}</script>]]>
|
241
| <![CDATA[<script>
$(document).ready(function() {
if (document.getElementById('frmPrincipal:sucessoRelImoveis').value == 'sucesso') {
document.getElementById('frmPrincipal:btnGerarRelImoveis').click(); }
});
</script>]]>
|
250
| <![CDATA[<script type="text/javascript">new RichFaces.ui.PopupPanel("statPane",{"autosized":true} );</script>]]>
|
333
| <![CDATA[<script>
$(document).ready( function () {
$('#table_id').DataTable({
responsive: true,
language: {
emptyTable: "Nenhum registro encontrado",
info: "Mostrando de _START_ até _END_ de _TOTAL_ registros",
infoEmpty: "Mostrando 0 até 0 de 0 registros",
infoFiltered: "(Filtrados de _MAX_ registros)",
infoPostFix: "",
infoThousands: ".",
lengthMenu: "_MENU_ resultados por página",
loadingRecords: "Carregando...",
processing: "Processando...",
zeroRecords: "Nenhum registro encontrado",
search: "Pesquisar",
paginate: {
next: "Próximo",
previous: "Anterior",
first: "Primeiro",
last: "Último"
},
aria: {
sortAscending: ": Ordenar colunas de forma ascendente",
sortDescending: ": Ordenar colunas de forma descendente"
}
}
});
} );
</script>]]>
|
363
| <![CDATA[<script>
$('.anchor-link').click(function(e){
e.preventDefault();
var target = $($(this).attr('href'));
if(target.length){
var scrollTo = target.offset().top;
$('body, html').animate({scrollTop: scrollTo+'px'}, 800);
}
});
</script>]]>
|
373
| <![CDATA[<script type="text/javascript">
function initTrataMsg(objTrataMsg, msgEscapeBean, tipo) {
//<![CDATA[
if (objTrataMsg !== null && objTrataMsg !== undefined){
if (msgEscapeBean !== null && msgEscapeBean !== undefined && msgEscapeBean != ""){
var split;
if( (String(msgEscapeBean)).indexOf("<br/>") == -1){
split = [msgEscapeBean,''];
}else{
split = (String(msgEscapeBean)).split("<br/>");
}
slen = split.length;
var i;
for (i=0;i<slen-1;i++) {
var div = document.createElement("DIV");
div.className = "p-2 alert alert-dismissible fade show mt-2 d-flex justify-content-between align-items-center";
if(tipo==='error'){
div.classList.add("alert-danger");
}else{
div.classList.add("alert-"+tipo);
}
var iconeTexto = document.createElement("div");
var icone = document.createElement("i");
icone.className = "fas fa-exclamation-circle mr-2";
iconeTexto.appendChild(icone);
var st = document.createElement("strong");
st.innerHTML = split[i];
iconeTexto.appendChild(st);
div.appendChild(iconeTexto);
var btn = document.createElement("BUTTON");
btn.className = "btn btn-link btn-sm";
var x = document.createElement("i");
x.className = "fas fa-times";
if(tipo==='error'){
x.classList.add("alert-danger");
}else{
x.classList.add("alert-"+tipo);
}
btn.appendChild(x);
btn.setAttribute("type", "button");
btn.addEventListener("click", function(){this.parentNode.remove(); });
div.appendChild(btn);
objTrataMsg.appendChild(div);
}
}
}
//]]>
}
</script>]]>
|