Parent Directory | Revision Log | Patch
--- myfaces/site/tlddoc/x/messages.html 2005/05/08 15:47:03 169137 +++ myfaces/site/tlddoc/x/messages.html 2005/05/08 15:50:34 169138 @@ -73,126 +73,128 @@ <td><b>Name</b></td><td><b>Required</b></td><td><b>Request-time</b></td><td><b>Type</b></td><td><b>Description</b></td> </tr> <tr valign="top"> -<td>id</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Every component may have an unique id. Automatically created if omitted.</td> -</tr> -<tr valign="top"> -<td>rendered</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>If false, this component will not be rendered.</td> -</tr> -<tr valign="top"> <td>binding</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Component binding.</td> </tr> <tr valign="top"> -<td>showSummary</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Indicates whether the summary of the message(s) should be displayed. - Default is: true</td> +<td>detailFormat</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + If present, instead of rendering the message detail, a MessageFormat with this + attribute as pattern is created. The format method of this MessageFormat is + called with the message detail as the first argument and the label of the + associated component (if any) as the second argument. + Example: "The input in field {1} is wrong: {0}" + </td> </tr> <tr valign="top"> -<td>showDetail</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Indicates whether the detail of the message(s) should be displayed. - Default is: false</td> +<td>dir</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>globalOnly</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Indicates whether only global messages (that is, messages with no associated client identifier) should be rendered. - Default is: false</td> +<td>enabledOnUserRole</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + If user is in given role, this component will be rendered + normally. If not, no hyperlink is rendered but all nested + tags (=body) are rendered. + </td> </tr> <tr valign="top"> -<td>dir</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>errorClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS class to be used for messages with severity "ERROR".</td> </tr> <tr valign="top"> -<td>lang</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>errorStyle</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS style to be used for messages with severity "ERROR".</td> </tr> <tr valign="top"> -<td>style</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>fatalClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS class to be used for messages with severity "FATAL".</td> </tr> <tr valign="top"> -<td>title</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>fatalStyle</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS style to be used for messages with severity "FATAL".</td> </tr> <tr valign="top"> -<td>styleClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Corresponds to the HTML class attribute.</td> +<td>forceId</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>If true, this component will force the use of the specified id when rendering.</td> </tr> <tr valign="top"> -<td>onclick</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>forceIdIndex</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components + that are contained within a "list." This value will be true by default and the value will be ignored if + the value of forceId is false (or not specified.) + </td> </tr> <tr valign="top"> -<td>ondblclick</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>globalOnly</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Indicates whether only global messages (that is, messages with no associated client identifier) should be rendered. + Default is: false</td> </tr> <tr valign="top"> -<td>onmousedown</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>globalSummaryFormat</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + Like summaryFormat, but applies to global messages (i.e. messages not associated + with a component). If no globalSummaryFormat is given, the summaryFormat is used for + global messages. + Example: "{0}:" + </td> </tr> <tr valign="top"> -<td>onmouseup</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>id</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Every component may have an unique id. Automatically created if omitted.</td> </tr> <tr valign="top"> -<td>onmouseover</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>infoClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS class to be used for messages with severity "INFO".</td> </tr> <tr valign="top"> -<td>onmousemove</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>infoStyle</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS style to be used for messages with severity "INFO".</td> </tr> <tr valign="top"> -<td>onmouseout</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>lang</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>onkeypress</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>layout</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>The layout: "table" or "list". Default: list</td> </tr> <tr valign="top"> -<td>onkeydown</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>onclick</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>onkeyup</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> +<td>ondblclick</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>infoClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS class to be used for messages with severity "INFO".</td> +<td>onkeydown</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>infoStyle</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS style to be used for messages with severity "INFO".</td> +<td>onkeypress</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>warnClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS class to be used for messages with severity "WARN".</td> +<td>onkeyup</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>warnStyle</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS style to be used for messages with severity "WARN".</td> +<td>onmousedown</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>errorClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS class to be used for messages with severity "ERROR".</td> +<td>onmousemove</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>errorStyle</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS style to be used for messages with severity "ERROR".</td> +<td>onmouseout</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>fatalClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS class to be used for messages with severity "FATAL".</td> +<td>onmouseover</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>fatalStyle</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS style to be used for messages with severity "FATAL".</td> +<td>onmouseup</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>layout</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>The layout: "table" or "list". Default: list</td> +<td>rendered</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>If false, this component will not be rendered.</td> </tr> <tr valign="top"> -<td>tooltip</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute). +<td>replaceIdWithLabel</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + If present, all occurrences of the id of the component for which the message + is rendered will be replaced by the label. </td> </tr> <tr valign="top"> -<td>enabledOnUserRole</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - If user is in given role, this component will be rendered - normally. If not, no hyperlink is rendered but all nested - tags (=body) are rendered. - </td> +<td>showDetail</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Indicates whether the detail of the message(s) should be displayed. + Default is: false</td> </tr> <tr valign="top"> -<td>visibleOnUserRole</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - If user is in given role, this component will be rendered - normally. If not, nothing is rendered and the body of this tag - will be skipped. - </td> +<td>showSummary</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Indicates whether the summary of the message(s) should be displayed. + Default is: true</td> </tr> <tr valign="top"> -<td>forceId</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>If true, this component will force the use of the specified id when rendering.</td> +<td>style</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>forceIdIndex</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - If false, this component will not append a '[n]' suffix (where 'n' is the row index) to components - that are contained within a "list." This value will be true by default and the value will be ignored if - the value of forceId is false (or not specified.) - </td> +<td>styleClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>Corresponds to the HTML class attribute.</td> </tr> <tr valign="top"> <td>summaryFormat</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> @@ -204,28 +206,26 @@ </td> </tr> <tr valign="top"> -<td>globalSummaryFormat</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - Like summaryFormat, but applies to global messages (i.e. messages not associated - with a component). If no globalSummaryFormat is given, the summaryFormat is used for - global messages. - Example: "{0}:" - </td> +<td>title</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td><i>No Description</i></td> </tr> <tr valign="top"> -<td>detailFormat</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - If present, instead of rendering the message detail, a MessageFormat with this - attribute as pattern is created. The format method of this MessageFormat is - called with the message detail as the first argument and the label of the - associated component (if any) as the second argument. - Example: "The input in field {1} is wrong: {0}" +<td>tooltip</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + If true, the message summary will be rendered as a tooltip (i.e. HTML title attribute). </td> </tr> <tr valign="top"> -<td>replaceIdWithLabel</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> - If present, all occurrences of the id of the component for which the message - is rendered will be replaced by the label. +<td>visibleOnUserRole</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td> + If user is in given role, this component will be rendered + normally. If not, nothing is rendered and the body of this tag + will be skipped. </td> </tr> +<tr valign="top"> +<td>warnClass</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS class to be used for messages with severity "WARN".</td> +</tr> +<tr valign="top"> +<td>warnStyle</td><td>false</td><td>false</td><td><code>java.lang.String</code></td><td>CSS style to be used for messages with severity "WARN".</td> +</tr> </table> <br> <p></p>
infrastructure at apache.org | ViewVC Help |
Powered by ViewVC 1.1.26 |