2 Replies Latest reply on Mar 6, 2013 7:10 AM by Fernando Arbeiza

    rich:placeholder not working inside rich:togglePanel

    Fernando Arbeiza Newbie



      I was having some problems getting rich:placeholder to show. It seems the problem is I am using it inside a togglePanel. I have created a minimal example which raises the problem using either versions 4.3.0 or 4.3.1.RC1; the placeholder inside Panel item 2 is not shown:


      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
      <html xmlns="http://www.w3.org/1999/xhtml"
          <rich:togglePanel id="layout" switchType="client"
                     Panel item 1
                     <h:inputText id="input1">
                      <rich:placeholder value="Text..." />
                     Panel item 2
                     <h:inputText id="input2">
                      <rich:placeholder value="Text..." />
          <h:commandButton value="Switch">
              <rich:toggleControl targetPanel="layout" />


      Any idea about why it is happening? Or any workaround?


      Thank you very much in advance.