1 Reply Latest reply: May 17, 2012 12:25 PM by Stephen J. RSS

    problem with group short name and quick search dropdown

    Stephen J.
      I have a table-form group with Quick Search set to dropDownList and a "Single or Default Search Item" defined. If the group has no Short Name defined, this works fine, the quick search dropdown shows up with the correct field defaulted. However, if I give the group a Short Name and then regenerate the quick search dropdown shows up, but with nothing selected by default. The search function still works fine, but you have to select a field to search by first. This doesn't happen if I set the Quick Search to model. I've replicated this across multiple groups in multiple applications.
      JDEV 11.1.1.4
      JHS 11.1.1.3.35
        • 1. Re: problem with group short name and quick search dropdown
          Stephen J.
          found and fixed. Had to override misc/facesConfig/searchBean.vm and change "group.name" to "group.shortName"


          <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">searchItem</property-name>
          <value id="#NEW_ID("__")">${group.name}${group.singleSearchAttribute}</value>
          </managed-property>

          to

          <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">searchItem</property-name>
          <value id="#NEW_ID("__")">${group.shortName}${group.singleSearchAttribute}</value>
          </managed-property>