2 Replies Latest reply on Jan 28, 2008 12:10 AM by kavi arasu

    Refresh problem

    kavi arasu Newbie

      hi im using a text editor script in my page
      it working some time some time after refreshing the page only it working
      how to fix this problem

      <ui:define name="body">
      <a4j:loadScript src="mini_mce/mini_mce.js"/>
       <script type="text/javascript">
       tinyMCE.init({
       mode : "textareas",
       theme : "simple",
       width : "500",
       height : "200"
       });
      </script>
       <h:messages globalOnly="true" styleClass="message"/>
       <rich:panel>
       <f:facet name="header">Name</f:facet>
       <a4j:form id="dig">
       <a4j:outputPanel ajaxRendered="true">
       <a4j:loadScript src="tiny_mce/tiny_mce.js"/>
       <script type="text/javascript">
       tinyMCE.init({
       mode : "textareas",
       theme : "simple",
       width : "500",
       height : "200"
       });
      </script>
      </a4j:outputPanel>
      
       <h:inputTextarea id="myTextArea" value="#{infoMessagesDto.htmleditortext}" rows="10" cols="50" style="width: 100%"/>
      
      </a4j:form>
       </rich:panel>
      </ui:define>