1 Reply Latest reply on Sep 2, 2009 6:02 AM by Ilya Shaikovsky

    InplaceInput and Style

    Markus Meijer Newbie

      Hello all,

      Im having an (urgent) problem with the inplaceInput component assigned style classes when hovering with mouse over the inplaceInput component.

      In RF3.3.1 everything worked fine, since 3.3.2 style classes are always appended and never removed ??!

      inplaceInput declaration:

      <rich:inplaceInput value="#{rec.mapValues['0']}" layout="block" id="input0"
       binding="#{detailMBean.input0}"
       showControls="false"
       oninputkeydown="return handleDataInput(event)"
       styleClass="#{rec.mapValues['0'] > 0 ? rec.mapStyles['0'] : 'alignright'}"
       viewHoverClass="inplace"
       editClass="edit" maxlength="3"
       viewClass="inplace" changedClass="inplace"
       />
      


      results in following HTML under RF 3.3.1:

      <div style="" id="ewst20DetailForm:bedTable:1:input6" class="rich-inplace rich-inplace-input rich-inplace-view inplace alignright"> ..... </div>
      


      and under RF 3.3.2:

      <div style="" id="ewst20DetailForm:bedTable:0:input0" class="rich-inplace rich-inplace-input rich-inplace-view inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace inplacebold inplace inplacebold inplace inplacebold inplace inplacebold inplace inplacebold inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace inplace inplaceWhite inplace inplaceWhite inplace inplaceWhite inplace inplaceWhite inplace inplaceWhite inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright inplace alignright alignright inplace alignright inplace alignright inplace alignright"> ....... </div>
      


      This has the effect that all values disappear when hovering over the inplaceInput component since the 'hover' style class is not removed ?

      How can this be solved ? (Its urgent :p)

      Greetz