Solved

Rich menu: do an action

Posted on 2009-07-02
5
285 Views
Last Modified: 2013-11-24
Can we execute an action in our bean when we click on a menuItem?

What must we put into it to realize this?
0
Comment
Question by:Nargzul
  • 3
5 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 24767869
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 24767880
You can also add an ActionListener to the item, but the above is preferred
0
 
LVL 1

Accepted Solution

by:
Nargzul earned 0 total points
ID: 24768015
I've found simplier: I've put a commandLink into it, and set the action to this action.
0
 
LVL 92

Expert Comment

by:objects
ID: 24768604
> I've found simplier: I've put a commandLink into it, and set the action to this action.

Thats the *only* way to do it :)
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 24770504
Sorry - didn't notice it was JSF question
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now