Skip to Content
0
Former Member
Jul 25, 2019 at 10:06 AM

Done button not appearing for custom collection browser

190 Views

Hi,

I'm looking at a custom collection browser implementation with multiselect enabled. When I select things in it - the "DONE" button doesn't appear. I'm not an expert in Hybris BackOffice ZK but I've tried a few things with no success and would appreciate some guidance on where I should be looking. There's unfortunately no error in the logs. Everything worked fine before we upgraded to 1808. Hopefully a Hybris BackOffice expert can identify the error or at least a few avenues of thought I can explore...

custom-backoffice-widgets.xml

     <widget id="custom-occ-coll-container" widgetDefinitionId="com.hybris.cockpitng.collapsiblecontainer" slotId="cockpitWidgetChildrenInvisible" template="true" title="Search ">
         <widget id="custom-occ-advanced-search" widgetDefinitionId="com.hybris.cockpitng.advancedsearch" slotId="center" title="" template="false">
             <widget id="custom-occ-advancedsearch-engine" widgetDefinitionId="com.hybris.cockpitng.widgets.common.advancedsearchengine" slotId="cockpitWidgetChildrenInvisible" template="false">
                 <setting key="widgetStyleAttribute" type="String"></setting>
                 <setting key="widgetStyleClass" type="String"></setting>
                 <setting key="defaultPageSize" type="Integer">10</setting>
                 <virtual-sockets/>
             </widget>
             <setting key="sendResetWhenDisableAutoSearch" type="Boolean">true</setting>
             <setting key="disableSimpleSearch" type="Boolean">false</setting>
             <setting key="disableAdvancedSearchToolbar" type="Boolean">false</setting>
             <setting key="widgetStyleAttribute" type="String"></setting>
             <setting key="disableSubtypesCheckbox" type="Boolean">false</setting>
             <setting key="forceSearchForCode" type="String"></setting>
             <setting key="simpleSearchConfigCtxCode" type="String">simple-search</setting>
             <setting key="disableAttributesComparator" type="Boolean">false</setting>
             <setting key="disableSearchModelCache" type="Boolean">false</setting>
             <setting key="advancedSearchConfigCtxCode" type="String">advanced-search</setting>
             <setting key="disableSortOrder" type="Boolean">false</setting>
             <setting key="addRowPosition" type="String">Header</setting>
             <setting key="isNestedObjectCreationDisabled" type="Boolean">true</setting>
             <setting key="widgetStyleClass" type="String"></setting>
             <setting key="disableAutoSearch" type="Boolean">false</setting>
             <virtual-sockets/>
         </widget>
         <widget id="custom-occ-collection-browser" widgetDefinitionId="com.hybris.cockpitng.customcollectionBrowser" slotId="bottom" template="false">
             <widget id="custom-occ-type-aware-adapter" widgetDefinitionId="de.hybris.platform.commerceservices.backoffice.typeAwareSelectionAdapter" slotId="cockpitWidgetChildrenInvisible" template="false">
                 <setting key="widgetStyleAttribute" type="String"></setting>
                 <setting key="widgetStyleClass" type="String"></setting>
                 <setting key="__externalLocationPath" type="String">extension://commerceservicesbackoffice</setting>
                 <virtual-sockets/>
             </widget>
             <setting key="listSubtitle" type="String"></setting>
             <setting key="socketDataType_$T" type="String">java.lang.Object</setting>
             <setting key="widgetStyleAttribute" type="String"></setting>
             <setting key="pageSize" type="Integer">10</setting>
             <setting key="maxCharsInCell" type="Integer">70</setting>
             <setting key="actionSlotComponentId" type="String">customlistviewactions</setting>
             <setting key="multiSelect" type="Boolean">true</setting>
             <setting key="colConfigCtxCode" type="String">listview</setting>
             <setting key="itemRenderer" type="String">customListViewRenderer</setting>
             <setting key="listTitle" type="String"></setting>
             <setting key="sortableListHeader" type="Boolean">true</setting>
             <setting key="widgetStyleClass" type="String"></setting>
             <setting key="asyncLoading" type="Boolean">true</setting>
             <virtual-sockets/>
         </widget>
         <instance-settings socketEventRoutingMode="LAST_USED">
             <create onInit="false" reuseExisting="false">
                 <incoming-events>
                     <socket-event id="activate"/>
                 </incoming-events>
             </create>
             <close>
                 <outgoing-events>
                     <socket-event id="cancel"/>
                     <socket-event id="timeSlotSchedulesOutput"/>
                 </outgoing-events>
             </close>
             <select onInit="false"/>
         </instance-settings>
         <setting key="widgetStyleAttribute" type="String"></setting>
         <setting key="allowLockingCenterPanel" type="Boolean">false</setting>
         <setting key="bottomPanelCollapsed" type="Boolean">false</setting>
         <setting key="topHeight" type="String">33%</setting>
         <setting key="centerCaption" type="String">Center Caption</setting>
         <setting key="bottomPanelInitiallyLocked" type="Boolean">false</setting>
         <setting key="centerHeight" type="String">50%</setting>
         <setting key="topPanelInitiallyLocked" type="Boolean">false</setting>
         <setting key="allowLockingBottomPanel" type="Boolean">false</setting>
         <setting key="thirdSectionDisabled" type="Boolean">true</setting>
         <setting key="bottomCaption" type="String">Bottom Caption</setting>
         <setting key="centerPanelCollapsed" type="Boolean">true</setting>
         <setting key="widgetStyleClass" type="String"></setting>
         <setting key="centerPanelInitiallyLocked" type="Boolean">false</setting>
         <setting key="topCaption" type="String">Top Caption</setting>
         <setting key="topPanelCollapsed" type="Boolean">false</setting>
         <setting key="allowLockingTopPanel" type="Boolean">false</setting>
         <setting key="_width" type="String">1140px</setting>
         <setting key="_height" type="String">800px</setting>
         <virtual-sockets>
             <input id="activate" type="java.lang.Object" visibility="default"/>
         </virtual-sockets>
     </widget>
     <setting key="widgetStyleAttribute" type="String"></setting>
     <setting key="viewModeBtnVisible" type="Boolean">false</setting>
     <setting key="widgetStyleClass" type="String"></setting>
     <setting key="initViewMode" type="String">fluid</setting>
     <setting key="fluidViewCode" type="String">fluid</setting>
     <setting key="editorAreaConfigCtx" type="String">editor-area</setting>
     <setting key="toolbarDisabled" type="Boolean">false</setting>
     <setting key="bottomToolbar" type="Boolean">false</setting>
     <setting key="actionSlotComponentId" type="String">editorareaactions</setting>
     <setting key="enableEmbededTitle" type="Boolean">false</setting>
     <virtual-sockets/>
 </widget-extension>

Thank you kindly