1 Reply Latest reply on Dec 5, 2008 8:04 PM by nbelaevski

    More than one inplaceInput's on the same page - styles mixed

    zeppelinux

      Hi,

      I have some problem with placing two or more inplaceInput components on the same page.
      After mouse over the component will adopt the style of another one.

      Here is the code to reproduce (3.3.0 Beta2):

      
      <f:view locale="En">
       <head profile="http://www.w3.org/2005/10/profile">
      
       <style type="text/css">
      
       .headTextCMS {
       display: inline-block;
       font-size: 15px;
       color: red;
       white-space: normal;
       background: none;
      
       }
      
      
       </style>
      
       </head>
      
       <body>
      
       <rich:inplaceInput id="headTextCMS"
       value="" defaultLabel="Inplace One"
       inputWidth="615px"
       styleClass="headTextCMS"
       viewClass="headTextCMS" layout="block">
      
       </rich:inplaceInput>
      
       <rich:inplaceInput value=""
       defaultLabel="Inplace Two"
       inputWidth="160px"
       layout="block">
       </rich:inplaceInput>
       </body>
      


      Should I open a Bug?