[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3824: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3826: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3827: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3828: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3247)
Next Framework • Ver Tópico - Problema com arquivos javascript não sendo incluidos

Problema com arquivos javascript não sendo incluidos

Não deixe de perguntar, solucione aqui suas dúvidas...

Problema com arquivos javascript não sendo incluidos

Mensagempor konkix » Qui Abr 08, 2010 12:00 pm

Olá, estou com um problema relacionado a arquivos javascript do framework.

Os arquivos que ficam sob a pasta /resource/*.js não estão sendo incluidos e assim as chamadas js de algumas funções não estão funcionando.

Segue a servlet do web.xml
...
<servlet>
<servlet-name>resourceServlet</servlet-name>
<servlet-class>org.nextframework.view.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>resourceServlet</servlet-name>
<url-pattern>/resource/*</url-pattern>
</servlet-mapping>
...

e o base.jsp

<%@ page contentType="text/html; charset=ISO-8859-1"%>
<%@ page pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<n:head searchJsDir="false" searchCssDir="false" includeDefaultCss="false"/>
<title>
RH Campeão
</title>

<link rel="StyleSheet" href="/rhcampeao/css/default.css" type="text/css">
<link rel="StyleSheet" href="/rhcampeao/css/app.css" type="text/css">
<!--[if IE]><link rel="StyleSheet" href="/rhcampeao/css/app-ie.css" type="text/css"><![endif]-->

</head>
<body>
<table height="100%" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" align="center">
<div id="corpo">
<div class="cabecalho">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td><a href="/rhcampeao/login/Index"><img src="/rhcampeao/imagens/rh-logo.gif" border="0"></a></td>

<c:if test="${naoMostrarMenu == null}">
<td class="menu">
<div>
<span><a href="#" onmouseover="Tip('Cadastros')" onclick="carregarMenu('cadastro')"><img src="/rhcampeao/imagens/menuicon/relatorio_Producao.gif"></a></span>
<span><a href="/rhcampeao/login/crud/Vaga" onmouseover="Tip('Vagas')"><img src="/rhcampeao/imagens/menuicon/cadastros.gif"></a></span>
<span><a href="#" onmouseover="Tip('Sair')" onclick="doLogout()"><img src="/rhcampeao/imagens/menuicon/sair.gif"></a></span>
</div>
</td>
</c:if>
</tr>
</table>
</div>
<div id="teste"></div>
<div id="menuaberto"></div>
<div class="conteudo">
<n:hasMessages>
<table align="center" width="100%"><tr><td align="center"><n:messages /></td></tr></table>
</n:hasMessages>
<div class="flash_notice" id="Flash-message"></div>
<jsp:include page="${bodyPage}" />
</div>

<div class="footer">(c) <span id=tempo></span> - Todos os direitos reservados.</div>
</div>
</td>
</tr>
</table>
</body>
</html>

Alguém poderia me dar uma luz?
konkix
 
Mensagens: 3
Data de registro: Seg Mar 29, 2010 11:27 am

Re: Problema com arquivos javascript não sendo incluidos

Mensagempor rogelgarcia » Qui Abr 08, 2010 12:12 pm

rogelgarcia
Administrador
 
Mensagens: 674
Data de registro: Qua Jul 08, 2009 9:02 am


Retornar para Dúvidas

Quem está online

Usuários vendo este fórum: Nenhum usuário registrado online e 6 visitantes

cron