3 Replies Latest reply on Aug 29, 2007 10:36 AM by ilya_shaikovsky

    modalpanel form inputtext without caret

    lucasdeoliveira

      Hi there!
      I'm using richfaces, a4j:include and Jboss Seam to create a wizard-like modalpanel. So far everything is going great, but the form inputs doesn't render any caret at all.

      here's some code:

      main.xhtml

      <a:form id="wizardForm">
      (...)
       <rich:modalPanel id="wizard" width="500" height="300">
       <f:facet name="header">
       <h:outputText value="wizard"/>
       </f:facet>
      
       <f:facet name="controls">
       <h:graphicImage value="/imgs/close.png" style="cursor:pointer" onclick="Richfaces.hideModalPanel('wizard')" />
       </f:facet>
      
       <a:outputPanel id="view">
       <a:include viewId="/step1.xhtml"/>
       </a:outputPanel>
      
       <div align="right"> <a href="javascript:Richfaces.hideModalPanel('wizard')">
       Close</a>
       </div>
       </rich:modalPanel>
      (...)
      </a:form>
      


      step1.xhtml
      <a:form id="wizardForm">
       <h:messages>
       </h:messages>
      
       <rich:panel>
       <h:panelGrid columns="2">
       <h:outputText value="text1"/>
       <h:inputText value="#{component.text1}"/>
       <h:outputText value="text2"/>
       <h:inputText value="#{component.text2}"/>
       <h:outputText value="text3"/>
       <h:inputText value="#{component.text3}"/>
       </h:panelGrid>
       </rich:panel>
      
       <div align="left">
       <a:commandLink value="next" action="#{bean.nextStep}" reRender="view"/>
       </div>
      </a:form>
      


      Like I said the <h:inputText/>'s does not show any caret.
      Anyone have been on this situation before? Any workaround?

      thanks in advance!
      cheers!