Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8430

Re: How to customize Web Channel 2.0 header menu

$
0
0

Hi Chris,

 

Iam facing small issue. Iam my WCEM 2.0 application whenever i move mouseover/click on veiwcart it should populate small window showing details using IE9.

 

Iam facing this issue after patching where one of the standard file was changes by SAP.

 

Whn i tried to look over i found below points.

 

2 problems

 

1st : In Standard file of minibasket.js

 

After Patch applied

 

function openMiniBasket(){

            var link = document.getElementById("divMinOv").nextSibling.id;

            var overlay = link.substring(0, link.lastIndexOf(':') + 1) + 'ovMBas';

            if(isMiniBasketClosed(overlay)){

                   setTimeout( "com.sap.wec.overlay.open( '" + overlay + "','" + link + "', 'open', 'false', 750, {})" , 250 );

            }

        }

       

        function isMiniBasketClosed(overlay){

            var isClosed = com.sap.wec.overlay.lastId != overlay;

            return isClosed;

        }

 

earlier before patch the file was :

 

function openMiniBasket(){

            var link = document.getElementById("divMinOv").nextSibling.id;

            var overlay = link.substring(0, link.lastIndexOf(':') + 1) + 'ovMBas';

            setTimeout( "com.sap.wec.overlay.open( '" + overlay + "','" + link + "', 'open', 'false', 750, {})" , 250 );

        }

 

 

 

 

And below Ia not sure looks starnge is this causing the issue

 

 

In my custom ui-repository.xml i have two veiw components

 

<ViewComponent name="minibasketoverlay"

componentHandlerClassName="com.sap.wec.app.esales.module.transaction.ui.viewhandler.MiniBasketOverlayViewHandlerImpl" />

<ViewComponent name="minibasketoverlay"

componentHandlerClassName="com.ericsson.wec.app.esales.module.transaction.ui.viewhandler.Z_MiniBasketOverlayViewHandlerImpl" />

 

 

Regards,

Vijay


Viewing all articles
Browse latest Browse all 8430

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>