OpenFaces.org
|
Documentation
|
Download
|
Support
Popup Menu
Flexible attachment mechanism
Client-side and Ajax event handlers
Keyboard support
Embedding JSF components
Customizable appearance
Ajax Framework
Border Layout Panel
Calendar
Chart
Command Button
Command Link
Composite Filter
Confirmation
Data Table
Date Chooser
Day Table
Drop Down Field
Dynamic Image
Folding Panel
For Each
Graphic Text
Hint Label
Input Text
Input Textarea
Layered Pane
Popup Layer
Popup Menu
Select Boolean Checkbox
Select Many Checkbox
Select One Radio
Spinner
Suggestion Field
Tab Set
Tabbed Pane
Tree Table
Two List Selection
Validation
Window
public class
InputTextareaBean {
private
String feedback;
public
String getFeedback() {
return feedback;
}
public
void
setFeedback(String feedback) {
this.feedback = feedback;
}
public
String send() {
mailService.sendFeedback(feedback);
return
"success";
}
}
New
Class
Interface
Enumeration
Annotation
Package
File
Directory
Save
Cut
Copy
Paste
Refactor
Rename...
Move...
Copy...
Safe Delete...
Extract Method...
Extract Class...
Introduce Field...
Introduce Constant...
Introduce Parameter...
Action Invoked
Please note that this popup menu serves demonstration purposes only.
* Right click (except Opera browser) or Ctrl + Left Click (in Opera) on Java code fragment above to see the Popup Menu component in action.
Demonstrated Features
Hierarchical menus
- It is possible to build menu with sub-menus using Popup Menu component.
Client-side event handlers
- Clicking items on root menu items shows a window with JavaScript.
Server-side Ajax-based event handlers
- Clicking items in the "New" menu issues Ajax calls for server-side action execution and content reloading.
Menu icons
- Popup Menu items may be supplied with icons.
Keyboard navigation
- Use Up/Down/Left/Right keys to navigate between menu items and sub-menus, and Enter/Esc keys to select an item or close the menu respectively.
OpenFaces 2.0 Demo
Copyright © 1994–2010
TeamDev Ltd
. All rights reserved.