Instalação do Tema

aragorn
Posts: 3765
Joined: 29 Jun 2013, 12:38

29 Jul 2019, 08:52

Could you please attach the browser's DOM using inspector for us?

FelipeProjeto
Posts: 15
Joined: 24 Jun 2019, 20:26

29 Jul 2019, 19:28

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head id="j_idt2">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes" /><link type="text/css" rel="stylesheet" href="/plifestyle/faces/javax.faces.resource/theme.css?ln=primefaces-manhattan-blue-orange" /><link type="text/css" rel="stylesheet" href="/plifestyle/faces/javax.faces.resource/fa/font-awesome.css?ln=primefaces&amp;v=6.2" /><link type="text/css" rel="stylesheet" href="/plifestyle/faces/javax.faces.resource/components.css?ln=primefaces&amp;v=6.2" /><script type="text/javascript" src="/plifestyle/faces/javax.faces.resource/jquery/jquery.js?ln=primefaces&amp;v=6.2"></script><script type="text/javascript" src="/plifestyle/faces/javax.faces.resource/jquery/jquery-plugins.js?ln=primefaces&amp;v=6.2"></script><script type="text/javascript" src="/plifestyle/faces/javax.faces.resource/core.js?ln=primefaces&amp;v=6.2"></script><script type="text/javascript" src="/plifestyle/faces/javax.faces.resource/components.js?ln=primefaces&amp;v=6.2"></script><link type="text/css" rel="stylesheet" href="/plifestyle/faces/javax.faces.resource/css/nanoscroller.css?ln=manhattan-layout" /><link type="text/css" rel="stylesheet" href="/plifestyle/faces/javax.faces.resource/css/layout-blue-orange.css?ln=manhattan-layout" /><script type="text/javascript">if(window.PrimeFaces){PrimeFaces.settings.locale='pt_BR';PrimeFaces.settings.projectStage='Development';}</script>
<title>Meus Pacientes</title><script type="text/javascript" src="/plifestyle/faces/javax.faces.resource/js/nanoscroller.js?ln=manhattan-layout"></script><script type="text/javascript" src="/plifestyle/faces/javax.faces.resource/js/layout.js?ln=manhattan-layout"></script></head><body>
<div class="layout-wrapper layout-slim">
<div class="layout-main">

<div class="layout-topbar">
<a href="#" id="layout-menu-btn" class="menu-btn">
<i class="fa fa-bars"></i>
</a>

<div class="topbar-search">
<input type="text" class="ui-widget" />
<i class="fa fa-search"></i>
</div>

<div class="layout-topbar-menu-wrapper">
<ul class="topbar-menu">
<li class="profile-item">
<a href="#"><img id="j_idt12" src="/plifestyle/faces/javax.faces.resource/images/avatar.png?ln=manhattan-layout" alt="" />
<span class="topbar-item-name profile-name">Madison Hughes</span>
</a>

<ul class="animated">
<li role="menuitem">
<a href="#">
<i class="fa fa-fw fa-user"></i>
<span>Profile</span>
<span class="topbar-badge">5</span>
</a>
</li>
<li role="menuitem">
<a href="#">
<i class="fa fa-fw fa-user-secret"></i>
<span>Privacy</span>
<span class="topbar-badge">2</span>
</a>
</li>
<li role="menuitem">
<a href="#">
<i class="fa fa-fw fa-cog"></i>
<span>Settings</span>
</a>
</li>
<li role="menuitem">
<a href="#">
<i class="fa fa-fw fa-sign-out"></i>
<span>Logout</span>
</a>
</li>
</ul>
</li>
<li>
<a href="#">
<i class="topbar-icon swing fa fa-fw fa-envelope-o"></i>
<span class="topbar-badge rubberBand">5</span>
<span class="topbar-item-name">Messages</span>
</a>
<ul class="animated">
<li role="menuitem">
<a href="#" class="topbar-message"><img id="j_idt14" src="/plifestyle/faces/javax.faces.resource/images/avatar1.png?ln=manhattan-layout" alt="" width="35" />
<span>Give me a call</span>
</a>
</li>
<li role="menuitem">
<a href="#" class="topbar-message"><img id="j_idt16" src="/plifestyle/faces/javax.faces.resource/images/avatar2.png?ln=manhattan-layout" alt="" width="35" />
<span>Reports attached</span>
</a>
</li>
<li role="menuitem">
<a href="#" class="topbar-message"><img id="j_idt18" src="/plifestyle/faces/javax.faces.resource/images/avatar3.png?ln=manhattan-layout" alt="" width="35" />
<span>About your invoice</span>
</a>
</li>
<li role="menuitem">
<a href="#" class="topbar-message"><img id="j_idt20" src="/plifestyle/faces/javax.faces.resource/images/avatar2.png?ln=manhattan-layout" alt="" width="35" />
<span>Meeting today</span>
</a>
</li>
<li role="menuitem">
<a href="#" class="topbar-message"><img id="j_idt22" src="/plifestyle/faces/javax.faces.resource/images/avatar4.png?ln=manhattan-layout" alt="" width="35" />
<span>Out of office</span>
</a>
</li>
</ul>
</li>
<li>
<a href="#">
<i class="topbar-icon fa fa-fw fa-globe"></i>
<span class="topbar-badge rubberBand">2</span>
<span class="topbar-item-name">Notifications</span>
</a>
<ul class="animated">
<li role="menuitem">
<a href="#">
<i class="fa fa-fw fa-tasks"></i>
<span>Pending tasks</span>
<span class="topbar-badge">6</span>
</a>
</li>
<li role="menuitem">
<a href="#">
<i class="fa fa-fw fa-calendar-check-o"></i>
<span>Meeting today</span>
</a>
</li>
<li role="menuitem">
<a href="#">
<i class="fa fa-fw fa-download"></i>
<span>Download</span>
</a>
</li>
<li role="menuitem">
<a href="#">
<i class="fa fa-fw fa-plane"></i>
<span>Book flight</span>
</a>
</li>
</ul>
</li>
</ul>

<a href="#" class="topbar-menu-btn"><img id="j_idt24" src="/plifestyle/faces/javax.faces.resource/images/avatar.png?ln=manhattan-layout" alt="" />
</a>

<a href="#" class="rightpanel-btn">
<i class="topbar-icon fa fa-fw fa-outdent"></i>
</a>
</div>
</div>

<div class="layout-content">
<div class="ui-g-12">
<div class="card card-w-title">
<form id="PessoaListForm" name="PessoaListForm" method="post" action="/plifestyle/faces/admin/profissionalpaciente/wp-list.xhtml" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="PessoaListForm" value="PessoaListForm" />
<fieldset id="fstPesquisarPAciente" class="ui-fieldset ui-widget ui-widget-content ui-corner-all ui-hidden-container ui-fieldset-toggleable" style="margin-bottom:5px" data-widget="widget_fstPesquisarPAciente"><legend class="ui-fieldset-legend ui-corner-all ui-state-default" role="button" tabindex="0"><span class="ui-fieldset-toggler ui-icon ui-icon-minusthick"></span>Paciente</legend><div class="ui-fieldset-content"><table id="pnlPesquisa">
<tbody>
<tr>
<td><table>
<tbody>
<tr>
<td><label id="j_idt29" class="ui-outputlabel ui-widget" for="pesNome">Nome:<span class="ui-outputlabel-rfi">*</span></label></td>
<td><input id="pesNome" name="pesNome" type="text" size="40" title="Nome" aria-required="true" class="ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" /><script id="pesNome_s" type="text/javascript">PrimeFaces.cw("InputText","widget_pesNome",{id:"pesNome"});</script></td>
</tr>
<tr>
<td><label></label></td>
<td><table>
<tbody>
<tr>
<td><button id="btnViewPacientesCadastrados" name="btnViewPacientesCadastrados" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-left" onclick="PrimeFaces.ab({s:&quot;btnViewPacientesCadastrados&quot;,p:&quot;pnlPesquisa&quot;,u:&quot;pnlPesquisa&quot;});return false;" type="submit"><span class="ui-button-icon-left ui-icon ui-c fa fa-search"></span><span class="ui-button-text ui-c">Pesquisar</span></button><script id="btnViewPacientesCadastrados_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_btnViewPacientesCadastrados",{id:"btnViewPacientesCadastrados"});</script></td>
<td><button id="createButton" name="createButton" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-left" onclick="PrimeFaces.ab({s:&quot;createButton&quot;,u:&quot;PessoaCreateForm&quot;,onco:function(xhr,status,args){PF('PessoaCreateDialog').show();}});return false;" type="submit"><span class="ui-button-icon-left ui-icon ui-c ui-icon-plus"></span><span class="ui-button-text ui-c">Cadastrar</span></button><script id="createButton_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_createButton",{id:"createButton"});</script></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
<td><div id="datalistPessoasCadastradas" class="ui-datatable ui-widget"><div class="ui-datatable-header ui-widget-header ui-corner-top">
PACIENTES LOCALIZADOS
</div><div class="ui-datatable-tablewrapper"><table role="grid"><thead id="datalistPessoasCadastradas_head"><tr role="row"><th id="datalistPessoasCadastradas:j_idt33" class="ui-state-default" role="columnheader" aria-label="Nome" scope="col" style="width:200px"><span class="ui-column-title">Nome</span></th><th id="datalistPessoasCadastradas:j_idt36" class="ui-state-default" role="columnheader" aria-label="Nascimento" scope="col" style="width:80px"><span class="ui-column-title">Nascimento</span></th><th id="datalistPessoasCadastradas:j_idt39" class="ui-state-default" role="columnheader" aria-label="Sexo" scope="col" style="width:80px"><span class="ui-column-title">Sexo</span></th><th id="datalistPessoasCadastradas:j_idt42" class="ui-state-default" role="columnheader" aria-label="Ação" scope="col" style="width:80px"><span class="ui-column-title">Ação</span></th></tr></thead><tbody id="datalistPessoasCadastradas_data" class="ui-datatable-data ui-widget-content"><tr class="ui-widget-content ui-datatable-empty-message"><td colspan="4">Nenhum paciente localizado...</td></tr></tbody></table></div></div><script id="datalistPessoasCadastradas_s" type="text/javascript">$(function(){PrimeFaces.cw("DataTable","widget_datalistPessoasCadastradas",{id:"datalistPessoasCadastradas",groupColumnIndexes:[]});});</script></td>
</tr>
</tbody>
</table>
</div><input type="hidden" id="fstPesquisarPAciente_collapsed" name="fstPesquisarPAciente_collapsed" value="false" /></fieldset><script id="fstPesquisarPAciente_s" type="text/javascript">PrimeFaces.cw("Fieldset","widget_fstPesquisarPAciente",{id:"fstPesquisarPAciente",toggleable:true,collapsed:false,toggleSpeed:500});</script><div id="datalist" class="ui-datatable ui-widget"><div class="ui-datatable-header ui-widget-header ui-corner-top">
MEUS PACIENTES
</div><div id="datalist_paginator_top" class="ui-paginator ui-paginator-top ui-widget-header" role="navigation" aria-label="Pagination"><a href="#" class="ui-paginator-first ui-state-default ui-corner-all ui-state-disabled" aria-label="First Page" tabindex="-1"><span class="ui-icon ui-icon-seek-first">F</span></a><a href="#" class="ui-paginator-prev ui-state-default ui-corner-all ui-state-disabled" aria-label="Previous Page" tabindex="-1"><span class="ui-icon ui-icon-seek-prev">P</span></a><span class="ui-paginator-pages"><a class="ui-paginator-page ui-state-default ui-state-active ui-corner-all" tabindex="0" href="#">1</a></span><a href="#" class="ui-paginator-next ui-state-default ui-corner-all ui-state-disabled" aria-label="Next Page" tabindex="-1"><span class="ui-icon ui-icon-seek-next">N</span></a><a href="#" class="ui-paginator-last ui-state-default ui-corner-all ui-state-disabled" aria-label="Last Page" tabindex="-1"><span class="ui-icon ui-icon-seek-end">E</span></a><label id="datalist:j_id2_rppLabel" for="datalist:j_id2" class="ui-paginator-rpp-label ui-helper-hidden">Rows Per Page</label><select id="datalist:j_id2" name="datalist_rppDD" aria-labelledby="datalist:j_id2_rppLabel" class="ui-paginator-rpp-options ui-widget ui-state-default ui-corner-left" value="20" autocomplete="off"><option value="20" selected="selected">20</option><option value="30">30</option><option value="40">40</option><option value="50">50</option></select></div><div class="ui-datatable-tablewrapper"><table role="grid"><thead id="datalist_head"><tr role="row"><th id="datalist:j_idt45" class="ui-state-default" role="columnheader" aria-label="Id" scope="col"><span class="ui-column-title">Id</span></th><th id="datalist:j_idt47" class="ui-state-default ui-filter-column" role="columnheader" aria-label="Nome" scope="col"><span class="ui-column-title">Nome</span><label id="datalist:j_idt47:filter_label" for="datalist:j_idt47:filter" class="ui-helper-hidden">Filter by Nome</label><input id="datalist:j_idt47:filter" name="datalist:j_idt47:filter" class="ui-column-filter ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" value="" autocomplete="off" aria-labelledby="datalist:j_idt47:filter_label" /></th><th id="datalist:j_idt49" class="ui-state-default" role="columnheader" aria-label="Nascimento" scope="col"><span class="ui-column-title">Nascimento</span></th><th id="datalist:j_idt51" class="ui-state-default" role="columnheader" aria-label="Sexo" scope="col"><span class="ui-column-title">Sexo</span></th><th id="datalist:j_idt53" class="ui-state-default ui-filter-column" role="columnheader" aria-label="Cidade" scope="col"><span class="ui-column-title">Cidade</span><label id="datalist:j_idt53:filter_label" for="datalist:j_idt53:filter" class="ui-helper-hidden">Filter by Cidade</label><input id="datalist:j_idt53:filter" name="datalist:j_idt53:filter" class="ui-column-filter ui-inputfield ui-inputtext ui-widget ui-state-default ui-corner-all" value="" autocomplete="off" aria-labelledby="datalist:j_idt53:filter_label" /></th></tr></thead><tbody id="datalist_data" class="ui-datatable-data ui-widget-content" tabindex="0"><tr data-ri="0" data-rk="191" class="ui-widget-content ui-datatable-even ui-datatable-selectable" role="row" aria-selected="false"><td role="gridcell">68</td><td role="gridcell">Jeangrei Veiga</td><td role="gridcell">19/07/1975</td><td role="gridcell">MASCULINO</td><td role="gridcell">Passo Fundo</td></tr></tbody></table></div><div id="datalist_paginator_bottom" class="ui-paginator ui-paginator-bottom ui-widget-header ui-corner-bottom" role="navigation" aria-label="Pagination"><a href="#" class="ui-paginator-first ui-state-default ui-corner-all ui-state-disabled" aria-label="First Page" tabindex="-1"><span class="ui-icon ui-icon-seek-first">F</span></a><a href="#" class="ui-paginator-prev ui-state-default ui-corner-all ui-state-disabled" aria-label="Previous Page" tabindex="-1"><span class="ui-icon ui-icon-seek-prev">P</span></a><span class="ui-paginator-pages"><a class="ui-paginator-page ui-state-default ui-state-active ui-corner-all" tabindex="0" href="#">1</a></span><a href="#" class="ui-paginator-next ui-state-default ui-corner-all ui-state-disabled" aria-label="Next Page" tabindex="-1"><span class="ui-icon ui-icon-seek-next">N</span></a><a href="#" class="ui-paginator-last ui-state-default ui-corner-all ui-state-disabled" aria-label="Last Page" tabindex="-1"><span class="ui-icon ui-icon-seek-end">E</span></a><label id="datalist:j_id3_rppLabel" for="datalist:j_id3" class="ui-paginator-rpp-label ui-helper-hidden">Rows Per Page</label><select id="datalist:j_id3" name="datalist_rppDD" aria-labelledby="datalist:j_id3_rppLabel" class="ui-paginator-rpp-options ui-widget ui-state-default ui-corner-left" value="20" autocomplete="off"><option value="20" selected="selected">20</option><option value="30">30</option><option value="40">40</option><option value="50">50</option></select></div><input type="hidden" id="datalist_selection" name="datalist_selection" autocomplete="off" value="" /></div><script id="datalist_s" type="text/javascript">$(function(){PrimeFaces.cw("DataTable","widget_datalist",{id:"datalist",paginator:{id:['datalist_paginator_top','datalist_paginator_bottom'],rows:20,rowCount:1,page:0,currentPageTemplate:'({currentPage} of {totalPages})'},selectionMode:"single",filter:true,groupColumnIndexes:[]});});</script><script id="j_idt55_s" type="text/javascript">$(function(){PrimeFaces.cw("ConfirmDialog","widget_j_idt55",{id:"j_idt55",showEffect:"fade",hideEffect:"fade",global:true});});</script><div id="j_idt55" class="ui-confirm-dialog ui-dialog ui-widget ui-widget-content ui-corner-all ui-shadow ui-hidden-container"><div class="ui-dialog-titlebar ui-widget-header ui-helper-clearfix ui-corner-top"><span id="j_idt55_title" class="ui-dialog-title"></span><a href="#" class="ui-dialog-titlebar-icon ui-dialog-titlebar-close ui-corner-all" aria-label="Close"><span class="ui-icon ui-icon-closethick"></span></a></div><div class="ui-dialog-content ui-widget-content"><span class="ui-icon ui-confirm-dialog-severity"></span><span class="ui-confirm-dialog-message"></span></div><div class="ui-dialog-buttonpane ui-dialog-footer ui-widget-content ui-helper-clearfix"><button id="j_idt56" name="j_idt56" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-left ui-confirmdialog-yes" type="button"><span class="ui-button-icon-left ui-icon ui-c ui-icon-check"></span><span class="ui-button-text ui-c">Sim</span></button><script id="j_idt56_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_j_idt56",{id:"j_idt56"});</script><button id="j_idt57" name="j_idt57" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-left ui-confirmdialog-no" type="button"><span class="ui-button-icon-left ui-icon ui-c ui-icon-close"></span><span class="ui-button-text ui-c">Não</span></button><script id="j_idt57_s" type="text/javascript">PrimeFaces.cw("CommandButton","widget_j_idt57",{id:"j_idt57"});</script></div></div>

FelipeProjeto
Posts: 15
Joined: 24 Jun 2019, 20:26

15 Aug 2019, 21:07

This is an excerpt from my project code. Could you take a look and help me?

aragorn
Posts: 3765
Joined: 29 Jun 2013, 12:38

02 Sep 2019, 14:57

Interesting! Everything looks right. Can there be a problem on the navigated page?

FelipeProjeto
Posts: 15
Joined: 24 Jun 2019, 20:26

02 Sep 2019, 18:58

All pages fit the theme, but navigation doesn't work. Have an idea what it could be?

aragorn
Posts: 3765
Joined: 29 Jun 2013, 12:38

03 Sep 2019, 12:40

Please check your server log. I don't have any idea.

FelipeProjeto
Posts: 15
Joined: 24 Jun 2019, 20:26

03 Sep 2019, 21:19

Request return with error:parsererror. core.js:1:3302
Widget for var 'PessoaCreateDialog' not available! core.js:1:3302
error http://localhost:8080/plifestyle/faces/ ... es&v=6.2:1
PF http://localhost:8080/plifestyle/faces/ ... es&v=6.2:1
onco http://localhost:8080/plifestyle/faces/ ... /wp-list:1
t http://localhost:8080/plifestyle/faces/ ... es&v=6.2:3
jQuery 4
XML Parsing Error: unclosed CDATA section
Location: http://localhost:8080/plifestyle/faces/ ... list.xhtml
Line Number 49, Column 504:

This error log appears in the browser. Can you tell me something about it?

FelipeProjeto
Posts: 15
Joined: 24 Jun 2019, 20:26

03 Sep 2019, 22:57

Is this theme compatible with version 6.2 of primefaces?
It's the version I'm using

aragorn
Posts: 3765
Joined: 29 Jun 2013, 12:38

16 Sep 2019, 12:22

Yes, compatible. Please check your component has 'PessoaCreateDialog' widgetVar. It is not related to Manhattan. Maybe, you can add debugger to your custom JS code and check your widget.

FelipeProjeto
Posts: 15
Joined: 24 Jun 2019, 20:26

24 Sep 2019, 19:58

Can't use the modularized 'PessoaCreateDialog' widgetVar?
I really need to use him

Post Reply

Return to “Manhattan - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests