Attribute | Type | Description | Req. | RTExp |
action | String |
Specifies the Struts Action that is to be called
upon selection of a menu option.
| |
|
filter | String |
Defines the optional filter condition(s) for this menu option.
The menu context filter must tally with at least one filter
so that the menu option is displayed.
Annotation:
Several filters are delimited with ";".
| |
|
id | String |
The name of a page scope JSP bean that will contain
the current element.
Using the given Id, the variable can be
accessed in scripting expressions in the tag Body.
The id mus be a string lteral because the JSP
compiler generates a variable withthis name at compile
time
Annotation:
A valid Java identifier must be given.
| |
|
imageref | String |
The Painter appends to the imageref-value implicit, the following
suffixes in order to distinguish between different states.
The Painter appends to the imageref -value implicit, the
following suffixes in order to distinguish between different states:
-
.sel = selected menu entry.
-
.dis = disabled.
-
.unsel = de-selected menu entry.
| |
|
locale | String |
enables localization for the control element.
String literals will be interpreted as keys
in the Application.properties file.
Annotation:
boolean value true oder
false oder the name of a locale.
| |
|
menuid | String |
Defines the internally used identificator of the menu
option. A menu path is formed by concatenatingf the menu id's
across the declaration hierarchy.
A menu option can be considered to be selected when the
current menu context path starts with the menu path!
Annotation:
Individual path elements are delimited with "/".
| |
|
onblur | String |
Fires when the object loses the input focus.
Annotation:
JavaScript Code
| |
|
onchange | String |
Fires when the contents of the object or selection have changed.
Annotation:
JavaScript Code
| |
|
onclick | String |
Fires when the user clicks the left mouse button on the object.
Annotation:
JavaScript Code
| |
|
oncontextmenu | String |
Fires when the user clicks the right mouse button in the client
area, opening the context menu.
Annotation:
JavaScript Code
| |
|
ondblclick | String |
Fires when the user double-clicks the object.
Annotation:
JavaScript Code
| |
|
onfocus | String |
Fires when the object receives focus.
Annotation:
JavaScript Code
| |
|
onkeydown | String |
Fires when the user presses a key.
Annotation:
JavaScript Code
| |
|
onkeypress | String |
Fires when the user presses an alphanumeric key.
Annotation:
JavaScript Code
| |
|
onkeyup | String |
Fires when the user releases a key.
Annotation:
JavaScript Code
| |
|
onmousedown | String |
Fires when the user clicks the object with either mouse button.
Annotation:
JavaScript Code
| |
|
onmousemove | String |
Fires when the user moves the mouse over the object.
Annotation:
JavaScript Code
| |
|
onmouseout | String |
Fires when the user moves the mouse pointer outside the boundaries
of the object.
Annotation:
JavaScript Code
| |
|
onmouseover | String |
Fires when the user moves the mouse pointer into the object.
Annotation:
JavaScript Code
| |
|
onmouseup | String |
Fires when the user releases a mouse button while the mouse is
over the object.
Annotation:
JavaScript Code
| |
|
orientation | |
| |
|
permission | ACL |
With this attribute, access to the element can be restricted.
Authorizations are checked using the com.cc.framework.security.Principal
object in the user session. The principal object is registered in the session
with the method com.cc.framework.security.SecurityUtil#registerPrincipal(HttpSession, Principal).
It is made available by the application developer by implementing the principal
interface. In this manner, any authorization system can be very easily connected
within the framework.
Authorizations are always specified in the form of an Access Control List (ACL).
What is involved here is a semicolon-delimited list with individual authorizations.
The framweork supports the following authorization types, which, however, can be
expanded at will by the application developer:
- Literal
- true|false -> com.cc.framework.security.StaticPermission
- Role
- #rolename -> com.cc.framework.security.RoleBasedPermission
- Function
- $functionname -> com.cc.framework.security.FunctionBasedPermission
| |
|
shortcut | String |
A keyboard shortcut for the menu entry.
| |
|
state | MenuStateType |
Specifies the state of the menu option.
-
enabled
=
menu option active.
-
disabled
=
menu option is inactive and not selectable.
-
checked
=
menu option is marked.
-
unchecked
=
menu option is not marked.
-
visible
=
menu option is visible.
-
invisible
=
menu option is invisible.
-
popup
=
| |
|
target | String |
The HTML-target attribute of the element can be specified with this attribute.
Annotation:
See HTML documentation for the attribute target.
| |
|
text | String |
The actual labelling of the menu option. This must also
be specified if an image is to be used for the menu option.
| |
|
tooltip | String |
A short descriptive text that is displayed when the user moves the mouse over the element.
| |
|
width | String |
Sets the width of the control element. The height
may be specified in absolute or percent terms.
See the HTML documentation
| |
|