0 Replies Latest reply on Apr 20, 2013 1:58 AM by shah.vish

    Seam 2.3 | java.lang.IllegalStateException: Component ID selectParent has already been found in the view.

    shah.vish

      I am creatin gseam entitied from mySQL database abd I am getting erors. I searched on te internet and found that It's related to implementations. I found some solution but I am not ablt to implement it.

       

       

      According to my search, I should change

       

      <s:button id="#{reviewHome.instance.person != null ? 'changeParent' : 'selectParent'}" value="#{reviewHome.instance.person != null ? 'Change' : 'Select'} person"

       

      to

       

      <s:button id="#{reviewHome.instance.person != null ? 'changeParent${parentPojo.shortName?cap_first}' : 'selectParent${parentPojo.shortName?cap_first}'}" value="#{reviewHome.instance.person != null ? 'Change' : 'Select'} person"

       

      OR

       

      <s:button id="${'#'}{${homeName}

      .instance.$

      {property.name} != null ? 'changeParent${property.name?cap_first} ' : 'selectParent${property.name?cap_first}'}" value="${'#'}{${homeName}.instance.${property.name}

      != null ? 'Change' : 'Select'} $

      {property.name}"

       

      I am not sure what exact thing I should change according to the xhtml page.

       

      Help me solve this.

       

      Thanks in advace.