ICEfaces
  1. ICEfaces
  2. ICE-6642

nbsp Bug in ace:TabSet/ace:TabPane

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.1
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Safari

      Description

      When using tabset in Safari, the following error occurs: "Entity 'nbsp' not defined."

        Activity

        Hide
        yip.ng added a comment -

        Attached error screenshots and the following test code from Nils Lundquist:

        <?xml version="1.0"?>
        <!DOCTYPE html>
        <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:ace="http://www.icefaces.org/icefaces/components"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:ice="http://www.icesoft.com/icefaces/component">
        <h:head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
        <h:outputStylesheet library="org.icefaces.component.skins" name="rime.css"/>
        <ice:outputStyle href="./xmlhttp/css/rime/rime.css" />
        </h:head>

        <h:body class="ice-skin-rime">
        <h:form>
        <ace:tabSet>
        <ace:tabPane>
        <f:facet name="label">My First Tab</f:facet>
        First Body
        </ace:tabPane>
        <ace:tabPane>
        <f:facet name="label">My Second Tab</f:facet>
        Second Body
        </ace:tabPane>
        </ace:tabSet>
        </h:form>
        </h:body>

        </html>

        Show
        yip.ng added a comment - Attached error screenshots and the following test code from Nils Lundquist: <?xml version="1.0"?> <!DOCTYPE html> <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:ace="http://www.icefaces.org/icefaces/components" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:ice="http://www.icesoft.com/icefaces/component"> <h:head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta> <h:outputStylesheet library="org.icefaces.component.skins" name="rime.css"/> <ice:outputStyle href="./xmlhttp/css/rime/rime.css" /> </h:head> <h:body class="ice-skin-rime"> <h:form> <ace:tabSet> <ace:tabPane> <f:facet name="label">My First Tab</f:facet> First Body </ace:tabPane> <ace:tabPane> <f:facet name="label">My Second Tab</f:facet> Second Body </ace:tabPane> </ace:tabSet> </h:form> </h:body> </html>
        Hide
        yip.ng added a comment -

        Error occurs only when running above code as standalone page, not in ace showcase itself, nor when cutting and pasting tabset markup into ace showcase tabset example.

        Show
        yip.ng added a comment - Error occurs only when running above code as standalone page, not in ace showcase itself, nor when cutting and pasting tabset markup into ace showcase tabset example.
        Hide
        yip.ng added a comment -

        Fixed. See video at http://screencast.com/t/Eg0BDGD6qTV4

        Revision: 24102


        Modified : /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/tab/TabSetRenderer.java

        Show
        yip.ng added a comment - Fixed. See video at http://screencast.com/t/Eg0BDGD6qTV4 Revision: 24102 Modified : /icefaces2/trunk/icefaces/ace/component/src/org/icefaces/component/tab/TabSetRenderer.java

          People

          • Assignee:
            yip.ng
            Reporter:
            yip.ng
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: