hey,
i've been enjoying using the prime faces component suite with Tomcat v7.0 and primefaces version 2.1 (i've also tried your latest 2.2 build). I've been testing in chrome and it seemed to work fine with some components i've tried (layout, datatable, treetable, etc) but i couldn't get the rich html editor to render in chrome. i thought it was a config issue, but then i tried the same page in IE and it rendered as expected. Code is below, in chrome this page just renders as an html text box, in IE it renders properly as a rich html editor. (i've tried clearing the cache in chrome).
Any ideas? Do you support chrome?
Thanks!
<!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:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui" >
<h:head>
</h:head>
<h:body>
<p:editor />
</h:body>
</html>
editor doesn't render in chrome
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
No chrome is not supported!
Kidding, you need to enforce content type.
Kidding, you need to enforce content type.
Code: Select all
<!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:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui" >
<f:view contentType="text/html">
<h:head>
</h:head>
<h:body>
<p:editor />
</h:body>
</f:view>
</html>
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Glad to help
-
- Posts: 14
- Joined: 01 Aug 2010, 14:56
With this heap I am not able to apply skins in chrome for <p:button> and <p:accordionPanel>.
Version 2.2.M1
Version 2.2.M1
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Can you see the showcase examples with your chrome?
-
- Posts: 14
- Joined: 01 Aug 2010, 14:56
Only this work for me:
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui" xmlns:ui="http://java.sun.com/jsf/facelets">
<f:view contentType="text/html; charset=UTF-8">
-
- Information
-
Who is online
Users browsing this forum: No registered users and 48 guests