Having trouble with datatable on IE7

UI Components for JSF
Post Reply
Peace_Dude1
Posts: 4
Joined: 07 Jul 2010, 14:35

07 Jul 2010, 17:04

I use the following code in IE7 and the datatable does not get rendered:
Works great in Chrome and FF but the majority of our user population currently is in IE7.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"       xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>TODO supply a title</title>
    </h:head>
    <body>
        <h:form>
        <p>

            <p:dataTable var="car" value="#{tableBean.cars}"
        paginator="true" rows="10" dynamic="true">
    <p:column>
        <f:facet name="header">
            <h:outputText value="Model" />
        </f:facet>
        <h:outputText value="#{car.model}" />
    </p:column>

    <p:column>
        <f:facet name="header">
            <h:outputText value="Year" />
        </f:facet>
        <h:outputText value="#{car.year}" />
    </p:column>

    <p:column>
        <f:facet name="header">
            <h:outputText value="Manufacturer" />
        </f:facet>
        <h:outputText value="#{car.manufacturer}" />
    </p:column>

    <p:column>
        <f:facet name="header">
            <h:outputText value="Color" />
        </f:facet>
        <h:outputText value="#{car.color}" />
    </p:column>
</p:dataTable>

        </p>
        </h:form>
    </body>
</html>

Jar: primefaces-2.1.RC1-SNAPSHOT.jar
App. Server.: Glassfish V3 mojarra 2.02
Error: Line 27 Char 1 Object Expected

Primefaces promises great things and we would really like to use it. Any suggestions.

User avatar
michiel
Posts: 240
Joined: 07 Jun 2010, 09:12
Location: Belgium

08 Jul 2010, 11:23

IE7 is NOT able to run the showcase either,
many other issues with IE7

IE8 works well though
JSF-2.0, mojarra-2.0.2-FCS and PrimeFaces-2.1 on GlassFish v3.0.1 (build 22)

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

08 Jul 2010, 12:52

Browser tests are not completed yet and showcase is running on an unstable snapshot for now. We'll make sure IE 7-8 is well supported before the release.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

08 Jul 2010, 12:53

Since 2.0.2 is a stable release, you can use it in the meantime.

Peace_Dude1
Posts: 4
Joined: 07 Jul 2010, 14:35

08 Jul 2010, 14:27

I have the same problem with 2.0.2.

Is there something I should be doing different?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

09 Jul 2010, 11:06

2.0.2 fails as well? Weird no issues reported on that, do you get a javascript error?

Peace_Dude1
Posts: 4
Joined: 07 Jul 2010, 14:35

09 Jul 2010, 14:44

I tried 2.0.2 first before looking for the latest snapshot.
I get a javascript error.
Error: Line 27 Char 1 Object Expected

I can see the table being built on "view source" on the IE7 browser but it just does not render due to a javascript error.

Thanks for looking into it. I'm trying to build a prototype to show the cool things primefaces can do.
Last edited by Peace_Dude1 on 12 Jul 2010, 19:51, edited 1 time in total.

User avatar
boscooo
Posts: 55
Joined: 07 Apr 2010, 15:48
Location: Brazil

09 Jul 2010, 16:16

Hi Cagatay...

Please, tell me one thing.... our clients use IE 6 .... and Datatable fonts appears huge (althought i'm using 7pt on table style).... is there a way to set the font that works in IE 6?

I'm using 1.0.2 version of PrimeFaces

Thanks!!!

EDIT: I've used some CSS configs that solved my problem.
Last edited by boscooo on 15 Jul 2010, 00:52, edited 1 time in total.
JBoss Seam 2.2.0 GA Web Framework
Mojarra 1.2_15-SNAPSHOT JSF Implementation
PrimeFaces 1.0.2 Final
RichFaces 3.3.3 Final
JBoss AS 4.2.2 GA

Peace_Dude1
Posts: 4
Joined: 07 Jul 2010, 14:35

14 Jul 2010, 19:13

I tried 2.0.2 first before looking for the latest snapshot.
I get a javascript error.
Error: Line 27 Char 1 Object Expected

I can see the table being built on "view source" on the IE7 browser but it just does not render due to a javascript error.

Thanks for looking into it. I'm trying to build a prototype to show the cool things primefaces can do.

Sorry for re-posting. Was afraid it got lost in in the forum.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: winplace and 39 guests