Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BSP popupMenu onClientSelect problem

Hi all,

I'm having issues when using onClientSelect on the popupMenu component. I have some code in onClientSelect to perform some javascript on one of the options in my popupMenu. This script works fine and it works when i press this option in the menu. The only problem i have is the other options in my menu doesn't work anymore. The orginal code that i had before didn't have onClientSelect, and all my options work properly going to the correct pages.

<phtmlb:popupMenu id = "flexMenu"

firstLevelVisible = "false"

firstVisibleItemIndex = "1"

onClientSelect = "me.pot("

onSelect = "FLEX_POPUP"

items = "<%= flex_items %>"

maxVisibleItems = "16" />

flex_items contains all of the options in the menu. FLEX_POPUP is a method in a class that process these menu options. Since i added the onClientSelect attribute, somehow the onSelect doesn't work anymore. Is there something i have to add within the onClientSelect to make onSelect work??



Former Member
Not what you were looking for? View more on this topic or Ask a question