cancel
Showing results for 
Search instead for 
Did you mean: 

Two MenuActionItem's of same name?

Former Member
0 Kudos

Hi,

I am trying to create a menu as like in the NDS menu bar. But I cannot create a MenuActionItem with id 'Undo' in 'Refactor' ViewElement, as there is already an item with id 'Undo' in 'Edit' ViewElement. But I want to do it. How can I?

Isn't it a drawback for NWDS, not allowing two MenuActionItems of same id(Undo), in two DIFFERENT View Elements(Edit and Refactor).

This is my scenario...

MenuBar

->Edit-> Undo

->Refactor->Undo

Thanks and Regards,

Prabhakar.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Solved

Former Member
0 Kudos

Hai Prabhakar,

I was able to create the same actionitem names in a same node, and differnt node s too. i am using nw04s.

as told by armin, check whether id s are be the same

Regards,

Naga

Former Member
0 Kudos

Hi Naga,

Thanks for your reply... I got solution for it. I used two different id's Undo1 and Undo2 and the 'text' being same for the two MenuActionElement's...

Former Member
0 Kudos

What's the problem? Each view element must have a unique ID, so just assign unique IDs.

Armin