Attribute | Type | Description | Req. | RTExp |
action | String |
Specifies the Struts Action that is to be called in case of control element events.
This attribute need not be specified if the tag is included within a Struts
<html:form> tag. In that case, the name of the action is determined using
the Struts Form Bean.
Annotation:
The action must be declared in one of the struts-config.xml files.
| |
|
border | Integer |
Specifies the thickness of the border that has to be drawn around the control element.
| |
|
disabled | boolean |
This attribute can be used to disable the control element.
It then does not accept any user inputs and does not generate
any control element events.
| |
|
filter | boolean |
Specifies if the labels on the tabs should be html encoded.
| |
|
formElement | boolean |
This attribute is used to control how the control element should behave
in case of a user action.
- As form element
- A submit of the surrounding form is carried out. All the information about the control element event is transported to the server in hidden fields.
- As an independent control element
- Control element events are directly triggered in the form of hyperlinks. All the data input in the HTML page is then lost.
Internally, this attribute is used to control how the control element should
generate Painter links - as HTML-A tags or HTML-Input tags.
Annotation:
The value true may only be used when the
control element is situated in a form.
| |
|
height | String |
Sets the height of the control element. The height
may be specified in absolute or percent terms.
See the HTML documentation
| |
|
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.
| |
|
imagemap | String |
With this attribute, an ImageList is assigned to the tabset,
with the help of which images can be assigned to the individual tabs.
The image assignment is directly specified in the <tab>-element,
during which the suffixes .sel or .unsel are implicitly
appended, to be able to distinguish between the selected and unselected state.
Annotation:
Under the name, there must be an Imagemap saved in the request.
| |
|
labellength | Integer |
Specifies the maximum number of characters for the labels of the tab.
If a label is longer, it is shortened with "...".
| |
|
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.
| |
|
name | String |
Specifies the name of the Java-Bean.
The Java-Bean must be stored in the given scope.
When the tag is surrounded by a Struts <html:form> tag,
no Bean Name need be specified. In this case, the Java-Bean
is drawn via a property of the Struts Form Bean.
Annotation:
A valid Java identifier must be given.
| |
|
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
| |
|
property | String |
Specifies the name of the property using which the Java-Bean
is to be accessed. This is generally only necessary when
the Java-Bean is associated with a Struts Form Bean.
Annotation:
A valid Java identifier must be given.
| |
|
runat | RunAt |
This attribute specifies whether, for the control element,
Clientside JavaScript should be used, or whether the control element
should work purely with Server Roundtrips.
-
server
=
All control element actions result in a Server Roundtrip
and are processed on the server.
-
client
=
control element actions are carried out directly in the
browser of the user. It depends on the Painter Factory
used and the specific control element, how far the support
for Clientside Scripting goes!
-
auto
=
The framework selects based on the users browser
settings "client" when JavaScript is enabled and "server"
when JavaScript is disabled.
| |
|
scope | HTTPScope |
This attribute shows the Scope in which the Java-Bean with
the actual display data can be found.
-
any
=
The Bean is searched for in ever Scope.
-
page
=
The Bean exists as a local variable in the JSP Page.
-
request
=
The Bean is in the HTTP-Request.
-
session
=
The Bean is in the HTTP-Session.
-
application
=
The Bean is in the Servletkontext.
| |
|
shadow | boolean |
Specifies whether the control element should be saved with a shadow.
This function is only available in the case of specific Painterfactories.
| |
|
style | String |
An HTML-style can be directly specified with this attribute.
Annotation:
See HTML documentation for the attribute style.
| |
|
styleClass | String |
The HTML-class attribute of the element can be specified with this attribute.
Annotation:
See HTML documentation for the attribute class.
| |
|
styleId | String |
The HTML-id attribute of the element can be specified with this attribute.
Annotation:
See HTML documentation for the Attribute id.
| |
|
summary | String |
This property can be used for rendering to
non-visual media such as speech or Braille.
| |
|
tabindex | Integer |
Tabulator Index for this element.
| |
|
transaction | Boolean |
This flag directs the framework to append a transaction
token to all generated hyperlinks.
The transactio token allows the detection of form re-submissions
(multiple submission of the same HTTP form).
| |
|
value | String |
Specifies the selected crumb in the JSP page.
| |
|
width | String |
Sets the width of the control element. The height
may be specified in absolute or percent terms.
See the HTML documentation
| |
|