0 Replies Latest reply on Aug 6, 2012 4:31 AM by Manish Prajapati

    inplaceSelect is not editable, throwing javascript error

    Manish Prajapati Newbie

      I am using inputSelect in my code and I am facing problem that its not editable sometimes and when I check firefox error console I am seeing below error :


      Error: Richfaces.InplaceSelectStyles is not a constructor

      Source File: http://localhost:8080/myapp/a4j/g/3_3_3.Finalscripts/inplaceselect.js.seam

      Line: 2


      Below is how I am using this component in my xhtml page :


      <rich:inplaceSelect layout="block"

                                                                       value="#{incomeSource.includeFlag}" id="includeFlag"


                                                                       requiredMessage=" Include Flag at row #{row+1} wasn't filled."

                                                                       changedHoverClass="hover" viewHoverClass="hover"

                                                                       viewClass="inplace" changedClass="inplace"

                                                                       selectOnEdit="true" listWidth="67" selectWidth="65">

                                                                       <s:selectItems var="iFlags" value="#"

                                                                            label="#{iFlags.flag}" />

                                                                       <s:convertEnum />



      It works sometimes when above error is not thrown. I am not sure what's reason of this error and how it works sometimes.


      Any idea, how to fix this issue.


      I really appreciate your help on this.


      Let me know If you need more info.