1 Reply Latest reply on Jan 12, 2012 10:49 AM by Jeffrey Cornelissen

    Rich Editor

    Jeffrey Cornelissen Newbie

      I am using richfaces 4.1.


      I have a problem with the rich:editor.  When I developed my application (in netbeans glassfish 3.1) it all worked fine. When it was deployed the rich:Editor is not shown.


      However when i turn the compatibility mode on, the editor is shown. But this mode is not available in firefox and chrome, and it should not have to be.


      This is the code I use :



      <?xml version='1.0' ?>
      <!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"
              <title>Facelet Title</title>
              <link type="text/css" rel="stylesheet" href="../css/default.css"/>
              <h:form id="referenceForm" >
      <!--            <rich:panel rendered="#{not empty site.message}">-->
                      <h:outputLabel rendered="#{not empty site.message}" style="font-weight: bold;font-size: 12; color: red;" value="#{site.message}">
      <!--            </rich:panel>-->
                      <table width="450">                    
                              <td class="bold">Naam</td>
                              <td><h:inputText id="txtName" value="#{reference.name}"/></td>                    
                              <td class="bold" colspan="2">Omschrijving</td>
                                  <rich:editor id="txtReference" value="#{reference.content}" >
                              <td colspan="2" align="right">                        
                                  <h:commandButton value="Referentie opgeven" action="#{reference.addReference}">


      Does anybody have an idea what i am doing wrong?