[jboss-user] [JBoss Seam] - Re: problem with encoding

javabr do-not-reply at jboss.com
Tue May 22 23:03:58 EDT 2007


and my javascripts was not working w/ just this: 

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

... 

for sure.. they just start working again when I added contentType on f:view


take a look bellow. This working for me.


  | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  |                       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  | <html xmlns="http://www.w3.org/1999/xhtml"
  | 	xmlns:ui="http://java.sun.com/jsf/facelets"
  | 	xmlns:ui2="http://www.sun.com/web/ui"
  | 	xmlns:h="http://java.sun.com/jsf/html"
  | 	xmlns:f="http://java.sun.com/jsf/core"
  | 	xmlns:trh="http://myfaces.apache.org/trinidad/html"
  | 	xmlns:tr="http://myfaces.apache.org/trinidad"
  | 	xmlns:rich="http://richfaces.ajax4jsf.org/rich"
  | 	xmlns:s="http://jboss.com/products/seam/taglib">
  | 
  | <f:view contentType="text/html">
  | 
  | 	<head>
  | 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  | 	<title>eTask</title>
  | 	<link href="stylesheet/theme.css" rel="stylesheet" type="text/css" />
  | 	<trh:styleSheet />
  | 	<script type="text/javascript"
  | 		src="/etask/theme/com/sun/rave/web/ui/defaulttheme/javascript/formElements.js" />
  | 	<script type="text/javascript" src="/etask/util.js" />
  | 	<script type="text/javascript" src="/etask/tip.js" />
  | 	</head>
  | 	<body style="-rave-layout: grid">
  | 	<ui:include src="../layout/menu.xhtml" />
  | 	<ui:include src="../layout/loginout.xhtml" />
  | 	<div class="body"><f:facet name="aroundInvalidField">
  | 		<s:span styleClass="errors" />
  | 	</f:facet> <f:facet name="afterInvalidField">
  | 		<s:span>&#160;<s:message />
  | 		</s:span>
  | 	</f:facet> <ui:insert name="body" /></div>
  | 	<div class="footer"><a href="http://www.bittecnologia.com"
  | 		target="_blank">eTask (c) Bit Technologia</a></div>
  | 	</body>
  | </f:view>
  | </html>
  | 
  | 
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047766#4047766

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047766



More information about the jboss-user mailing list