[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Rich menu: do an action

Posted on 2009-07-02
5
Medium Priority
?
295 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

649 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