You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2014/07/23 20:59:05 UTC
svn commit: r1612920 [6/12] - /myfaces/site/publish/tobago/
Modified: myfaces/site/publish/tobago/cpd.html
URL: http://svn.apache.org/viewvc/myfaces/site/publish/tobago/cpd.html?rev=1612920&r1=1612919&r2=1612920&view=diff
==============================================================================
--- myfaces/site/publish/tobago/cpd.html (original)
+++ myfaces/site/publish/tobago/cpd.html Wed Jul 23 18:59:04 2014
@@ -14,7 +14,7 @@
<div class="date">
- Last Published: 04 Jun 2014
+ Last Published: 23 Jul 2014
</div>
<ul>
<li>
@@ -108,6 +108,10 @@
</li>
<li class="none">
+ <a href="new-2.0.html">New in Tobago 2.0</a>
+ </li>
+
+ <li class="none">
<a href="guide.html">Guide to Tobago</a>
</li>
@@ -116,7 +120,7 @@
</li>
<li class="none">
- <a href="migration-2.0.html">Migration to 2.0 (beta)</a>
+ <a href="migration-2.0.html">Migration to 2.0</a>
</li>
<li class="none">
@@ -175,10 +179,26 @@
</li>
<li class="none">
+ <a href="xref/index.html">Source Xref</a>
+ </li>
+
+ <li class="none">
+ <a href="xref-test/index.html">Test Source Xref</a>
+ </li>
+
+ <li class="none">
<a href="checkstyle-aggregate.html">Checkstyle</a>
</li>
<li class="none">
+ <a href="apidocs/index.html">JavaDocs</a>
+ </li>
+
+ <li class="none">
+ <a href="testapidocs/index.html">Test JavaDocs</a>
+ </li>
+
+ <li class="none">
<a href="surefire-report.html">Surefire Report</a>
</li>
@@ -256,18 +276,5223 @@
<div class="clear"></div>
</div>
<div id="body_column">
- <div>
- <div class="section">
- <h2>CPD Results<a name="CPD_Results"></a></h2>
-
- <p>The following document contains the results of PMD's <a class="externalLink"
- href="http://pmd.sourceforge.net/cpd.html">CPD</a>
- 5.0.2.</p></div>
- <div class="section">
- <h2>Duplications<a name="Duplications"></a></h2>
+<div>
+<div class="section">
+ <h2>CPD Results<a name="CPD_Results"></a></h2>
+
+ <p>The following document contains the results of PMD's <a class="externalLink"
+ href="http://pmd.sourceforge.net/cpd.html">CPD</a> 5.0.2.
+ </p></div>
+<div class="section">
+<h2>Duplications<a name="Duplications"></a></h2>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.html#189">189</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.html#193">193</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> requiredMessage = null;
+ fieldId = null;
+ }
+
+ /**
+ * Flag indicating that a value is required.
+ * If the value is an empty string a
+ * ValidationError occurs and a Error Message is rendered.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setRequired(final ValueExpression required) {
+ this.required = required;
+ }
+
+ /**
+ * The current value of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Object")
+ public void setValue(final ValueExpression value) {
+ this.value = value;
+ }
+
+ /**
+ * MethodBinding representing a value change listener method
+ * that will be notified when a new value has been set for this input component.
+ * The expression must evaluate to a public method that takes a ValueChangeEvent
+ * parameter, with a return type of void.
+ *
+ * @param valueChangeListener
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ public void setValueChangeListener(final MethodExpression valueChangeListener) {
+ this.valueChangeListener = valueChangeListener;
+ }
+
+ /**
+ * Flag indicating that this element is disabled.
+ */
+ @TagAttribute()
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setDisabled(final ValueExpression disabled) {
+ this.disabled = disabled;
+ }
+
+ /**
+ * Flag indicating that this component will prohibit changes by the user.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setReadonly(final ValueExpression readonly) {
+ this.readonly = readonly;
+ }
+
+ /**
+ * Clientside script function to add to this component's onchange handler.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setOnchange(final ValueExpression onchange) {
+ this.onchange = onchange;
+ }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabel(final ValueExpression label) {
+ this.label = label;
+ }
+
+ /**
+ * The accessKey of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Character")
+ public void setAccessKey(final javax.el.ValueExpression accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ /**
+ * A method binding EL expression,
+ * accepting FacesContext, UIComponent,
+ * and Object parameters, and returning void, that validates
+ * the component's local value.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION,
+ methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
+ public void setValidator(final MethodExpression validator) {
+ this.validator = validator;
+ }
+
+ /**
+ * An expression that specifies the Converter for this component.
+ * If the value binding expression is a String,
+ * the String is used as an ID to look up a Converter.
+ * If the value binding expression is a Converter,
+ * uses that instance as the converter.
+ * The value can either be a static value (ID case only)
+ * or an EL expression.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.convert.Converter",
+ expression = DynamicExpression.VALUE_EXPRESSION)
+ public void setConverter(final ValueExpression converter) {
+ this.converter = converter;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final ValueExpression binding) {
+ this.binding = binding;
+ }
+
+ /**
+ * Text value to display as tooltip.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setTip(final ValueExpression tip) {
+ this.tip = tip;
+ }
+
+ /**
+ * The width for the label component. Default: 'auto'.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabelWidth(final ValueExpression labelWidth) {
+ this.labelWidth = labelWidth;
+ }
+
+ /**
+ * Indicate markup of this component.
+ * Possible value is 'none'. But this can be overridden in the theme.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.html#178">178</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.html#188">188</a></td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> transition = null;
+ renderedPartially = null;
+ fieldId = null;
+ menuCommandTag = null;
+ facetTag = null;
+ inTag = null;
+ }
+
+ /**
+ * Action to invoke when clicked.
+ * This must be a MethodBinding or a String representing the application action to invoke when
+ * this component is activated by the user.
+ * The MethodBinding must evaluate to a public method that takes no parameters,
+ * and returns a String (the logical outcome) which is passed to the
+ * NavigationHandler for this application.
+ * The String is directly passed to the Navigationhandler.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = {}, expression = DynamicExpression.METHOD_EXPRESSION,
+ methodReturnType = "java.lang.Object")
+ public void setAction(final javax.el.MethodExpression action) {
+ this.action = action;
+ }
+
+ /**
+ * MethodBinding representing an action listener method that will be
+ * notified when this component is activated by the user.
+ * The expression must evaluate to a public method that takes an ActionEvent
+ * parameter, with a return type of void.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = {}, expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ActionEvent")
+ public void setActionListener(final javax.el.MethodExpression actionListener) {
+ this.actionListener = actionListener;
+ }
+
+ /**
+ * Script to be invoked when clicked
+ *
+ * @param onclick
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setOnclick(final javax.el.ValueExpression onclick) {
+ this.onclick = onclick;
+ }
+
+ /**
+ * Link to an arbitrary URL
+ *
+ * @param link
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLink(final javax.el.ValueExpression link) {
+ this.link = link;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final javax.el.ValueExpression binding) throws JspException {
+ this.binding = binding;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final javax.el.ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * Flag indicating that this element is disabled.
+ */
+ @TagAttribute()
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setDisabled(final javax.el.ValueExpression disabled) {
+ this.disabled = disabled;
+ }
+
+ /**
+ * The current value of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Object")
+ public void setValue(final javax.el.ValueExpression value) {
+ this.value = value;
+ }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabel(final javax.el.ValueExpression label) {
+ this.label = label;
+ }
+
+ /**
+ * Flag indicating that, if this component is activated by the user,
+ * notifications should be delivered to interested listeners and actions
+ * immediately (that is, during Apply Request Values phase) rather than
+ * waiting until Invoke Application phase.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setImmediate(final javax.el.ValueExpression immediate) {
+ this.immediate = immediate;
+ }
+
+ /**
+ * Specify, if the command calls an JSF-Action.
+ * Useful to switch off the Double-Submit-Check and Waiting-Behavior.
+ *
+ * @param transition Indicates the transition.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setTransition(final javax.el.ValueExpression transition) {
+ this.transition = transition;
+ }
+
+ /**
+ * Indicate the partially rendered Components in a case of a submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.String[]")</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/util/HtmlWriterUtils.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/util/HtmlWriterUtils.html#55">55</a></td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/util/JavascriptWriterUtils.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/util/JavascriptWriterUtils.html#53">53</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/util/JsonWriterUtils.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/util/JsonWriterUtils.html#58">58</a></td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> public HtmlWriterUtils(final Writer out, final String characterEncoding) {
+ super(out, characterEncoding);
+ }
+
+ @Override
+ protected void writeEncodedValue(final char[] text, final int start,
+ final int length, final boolean isAttribute) throws IOException {
+
+ int localIndex = -1;
+
+ final int end = start + length;
+ for (int i = start; i < end; i++) {
+ final char ch = text[i];
+ if (ch >= CHARS_TO_ESCAPE.length || CHARS_TO_ESCAPE[ch] != null) {
+ localIndex = i;
+ break;
+ }
+ }
+ final Writer out = getOut();
+
+ if (localIndex == -1) {
+ // no need to escape
+ out.write(text, start, length);
+ } else {
+ // write until localIndex and then encode the remainder
+ out.write(text, start, localIndex);
+
+ final ResponseWriterBuffer buffer = getBuffer();
+
+ for (int i = localIndex; i < end; i++) {
+ final char ch = text[i];
+
+ // Tilde or less...
+ if (ch < CHARS_TO_ESCAPE.length) {
+ if (isAttribute && ch == '&' && (i + 1 < end) && text[i + 1] == '{') {
+ // HTML 4.0, section B.7.1: ampersands followed by
+ // an open brace don't get escaped
+ buffer.addToBuffer('&');
+ } else if (CHARS_TO_ESCAPE[ch] != null) {
+ buffer.addToBuffer(CHARS_TO_ESCAPE[ch]);
+ } else {
+ buffer.addToBuffer(ch);
+ }
+ } else if (isUtf8()) {
+ buffer.addToBuffer(ch);
+ } else if (ch <= 0xff) {
+ // ISO-8859-1 entities: encode as needed
+ buffer.flushBuffer();
+
+ out.write('&');
+ final char[] chars = ISO8859_1_ENTITIES[ch - 0xA0];
+ out.write(chars, 0, chars.length);
+ out.write(';');
+ } else {
+ buffer.flushBuffer();
+
+ // Double-byte characters to encode.
+ // PENDING: when outputting to an encoding that
+ // supports double-byte characters (UTF-8, for example),
+ // we should not be encoding
+ writeDecRef(ch);
+ }
+ }
+
+ buffer.flushBuffer();
+ }
+ }
+}</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.html#277">277</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.html#255">255</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabel(final ValueExpression label) {
+ this.label = label;
+ }
+
+ /**
+ * The accessKey of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Character")
+ public void setAccessKey(final javax.el.ValueExpression accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ /*public void setHeight(String height) {
+ this.height = height;
+ } */
+
+ /**
+ * A method binding EL expression,
+ * accepting FacesContext, UIComponent,
+ * and Object parameters, and returning void, that validates
+ * the component's local value.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION,
+ methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
+ public void setValidator(final MethodExpression validator) {
+ this.validator = validator;
+ }
+
+ /**
+ * An expression that specifies the Converter for this component.
+ * If the value binding expression is a String,
+ * the String is used as an ID to look up a Converter.
+ * If the value binding expression is a Converter,
+ * uses that instance as the converter.
+ * The value can either be a static value (ID case only)
+ * or an EL expression.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.convert.Converter",
+ expression = DynamicExpression.VALUE_EXPRESSION)
+ public void setConverter(final ValueExpression converter) {
+ this.converter = converter;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final ValueExpression binding) {
+ this.binding = binding;
+ }
+
+ /**
+ * Text value to display as tooltip.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setTip(final ValueExpression tip) {
+ this.tip = tip;
+ }
+
+ /**
+ * The width for the label component. Default: 'auto'.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabelWidth(final ValueExpression labelWidth) {
+ this.labelWidth = labelWidth;
+ }
+
+ /**
+ * Indicate markup of this component.
+ * Possible value is 'none'. But this can be overridden in the theme.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
+ public void setMarkup(final ValueExpression markup) {
+ this.markup = markup;
+ }
+
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Integer")
+ public void setTabIndex(final ValueExpression tabIndex) {
+ this.tabIndex = tabIndex;
+ }
+
+ /**
+ * Flag indicating this component should receive the focus.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setFocus(final ValueExpression focus) {
+ this.focus = focus;
+ }
+
+ /**
+ * Range of items to render.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setRenderRange(final ValueExpression renderRange) {</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.html#206">206</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.html#214">214</a></td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ /**
+ * The current value of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Object")
+ public void setValue(final ValueExpression value) {
+ this.value = value;
+ }
+
+ /**
+ * MethodBinding representing a value change listener method
+ * that will be notified when a new value has been set for this input component.
+ * The expression must evaluate to a public method that takes a ValueChangeEvent
+ * parameter, with a return type of void.
+ *
+ * @param valueChangeListener
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ public void setValueChangeListener(final MethodExpression valueChangeListener) {
+ this.valueChangeListener = valueChangeListener;
+ }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabel(final ValueExpression label) {
+ this.label = label;
+ }
+
+ /**
+ * The accessKey of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Character")
+ public void setAccessKey(final javax.el.ValueExpression accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ /**
+ * Flag indicating this component should receive the focus.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setFocus(final ValueExpression focus) {
+ this.focus = focus;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final ValueExpression binding) {
+ this.binding = binding;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * An expression that specifies the Converter for this component.
+ * If the value binding expression is a String,
+ * the String is used as an ID to look up a Converter.
+ * If the value binding expression is a Converter,
+ * uses that instance as the converter.
+ * The value can either be a static value (ID case only)
+ * or an EL expression.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.convert.Converter",
+ expression = DynamicExpression.VALUE_EXPRESSION)
+ public void setConverter(final ValueExpression converter) {
+ this.converter = converter;
+ }
+
+ /**
+ * A method binding EL expression,
+ * accepting FacesContext, UIComponent,
+ * and Object parameters, and returning void, that validates
+ * the component's local value.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION,
+ methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
+ public void setValidator(final MethodExpression validator) {
+ this.validator = validator;
+ }
+
+ /**
+ * Clientside script function to add to this component's onchange handler.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setOnchange(final ValueExpression onchange) {
+ this.onchange = onchange;
+ }
+
+ /**
+ * Indicate markup of this component.
+ * Possible value is 'none'. But this can be overridden in the theme.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.html#231">231</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.html#198">198</a></td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> inTag = null;
+ labelTag = null;
+ validatorMessage = null;
+ converterMessage = null;
+ requiredMessage = null;
+ fieldId = null;
+ }
+
+ /**
+ * Indicate markup of this component.
+ * Possible value is 'none'. But this can be overridden in the theme.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
+ public void setMarkup(final ValueExpression markup) {
+ this.markup = markup;
+ }
+
+ /**
+ * The current value of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Object")
+ public void setValue(final ValueExpression value) {
+ this.value = value;
+ }
+
+ /**
+ * MethodBinding representing a value change listener method
+ * that will be notified when a new value has been set for this input component.
+ * The expression must evaluate to a public method that takes a ValueChangeEvent
+ * parameter, with a return type of void.
+ *
+ * @param valueChangeListener
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ public void setValueChangeListener(final MethodExpression valueChangeListener) {
+ this.valueChangeListener = valueChangeListener;
+ }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabel(final ValueExpression label) {
+ this.label = label;
+ }
+
+ /**
+ * The accessKey of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Character")
+ public void setAccessKey(final javax.el.ValueExpression accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ /**
+ * Flag indicating this component should receive the focus.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setFocus(final ValueExpression focus) {
+ this.focus = focus;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final ValueExpression binding) {
+ this.binding = binding;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * An expression that specifies the Converter for this component.
+ * If the value binding expression is a String,
+ * the String is used as an ID to look up a Converter.
+ * If the value binding expression is a Converter,
+ * uses that instance as the converter.
+ * The value can either be a static value (ID case only)
+ * or an EL expression.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.convert.Converter",
+ expression = DynamicExpression.VALUE_EXPRESSION)
+ public void setConverter(final ValueExpression converter) {
+ this.converter = converter;
+ }
+
+ /**
+ * Clientside script function to add to this component's onchange handler.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.html#329">329</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.html#327">327</a></td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ /**
+ * Flag indicating that this component will prohibit changes by the user.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setReadonly(final ValueExpression readonly) {
+ this.readonly = readonly;
+ }
+
+ /**
+ * Flag indicating that this element is disabled.
+ */
+ @TagAttribute()
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setDisabled(final ValueExpression disabled) {
+ this.disabled = disabled;
+ }
+
+ /**
+ * Flag indicating that a value is required.
+ * If the value is an empty string a
+ * ValidationError occurs and a Error Message is rendered.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setRequired(final ValueExpression required) {
+ this.required = required;
+ }
+
+ /**
+ * Text value to display as tooltip.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setTip(final ValueExpression tip) {
+ this.tip = tip;
+ }
+
+ /**
+ * The width for the label component. Default: 'auto'.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabelWidth(final ValueExpression labelWidth) {
+ this.labelWidth = labelWidth;
+ }
+
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Integer")
+ public void setTabIndex(final ValueExpression tabIndex) {
+ this.tabIndex = tabIndex;
+ }
+
+ /**
+ * An expression that specifies the validator message
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setValidatorMessage(final ValueExpression validatorMessage) {
+ this.validatorMessage = validatorMessage;
+ }
+
+ /**
+ * An expression that specifies the converter message
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setConverterMessage(final ValueExpression converterMessage) {
+ this.converterMessage = converterMessage;
+ }
+
+ /**
+ * An expression that specifies the required message
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setRequiredMessage(final ValueExpression requiredMessage) {
+ this.requiredMessage = requiredMessage;
+ }
+
+ /**
+ * The component identifier for the input field component inside of the container.
+ * This value must be unique within the closest parent component that is a naming container.
+ */
+ @TagAttribute(rtexprvalue = true)
+ @UIComponentTagAttribute
+ public void setFieldId(final String fieldId) {
+ this.fieldId = fieldId;
+ }
+
+ /**
+ * The component identifier for this component.
+ * This value must be unique within the closest parent component that is a naming container.
+ * For tx components the id will be set to the container (e. g. the panel).
+ * To set the id of the input field, you have to use the attribute "fieldId".
+ */
+ @TagAttribute(rtexprvalue = true)
+ @UIComponentTagAttribute
+ public void setId(final String id) {
+ super.setId(id);
+ }
+}</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/component/AbstractUIPage.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/component/AbstractUIPage.html#164">164</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/component/UIViewRoot.java</td>
+ <td>Tobago Deprecation</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/component/UIViewRoot.html#233">233</a></td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> processDecodes0(context);
+ }
+ }
+
+ private void decodeActionComponent(
+ final FacesContext facesContext, final AbstractUIPage page, final Map<String,
+ UIComponent> ajaxComponents) {
+ final String actionId = page.getActionId();
+ UIComponent actionComponent = null;
+ if (actionId != null) {
+ actionComponent = findComponent(actionId);
+ if (actionComponent == null && FacesVersion.supports20() && FacesVersion.isMyfaces()) {
+ final String bugActionId = actionId.replaceAll(":\\d+:", ":");
+ try {
+ actionComponent = findComponent(bugActionId);
+ //LOG.info("command = \"" + actionComponent + "\"", new Exception());
+ } catch (final Exception e) {
+ // ignore
+ }
+ }
+ }
+ if (actionComponent == null) {
+ return;
+ }
+ for (final UIComponent ajaxComponent : ajaxComponents.values()) {
+ UIComponent component = actionComponent;
+ while (component != null) {
+ if (component == ajaxComponent) {
+ return;
+ }
+ component = component.getParent();
+ }
+ }
+ invokeOnComponent(facesContext, actionId, APPLY_REQUEST_VALUES_CALLBACK);
+ }
+
+
+ @Override
+ public void processValidators(final FacesContext context) {
+ if (context == null) {
+ throw new NullPointerException("context");
+ }
+
+ final Map<String, UIComponent> ajaxComponents = AjaxInternalUtils.getAjaxComponents(context);
+ if (ajaxComponents != null) {
+ for (final Map.Entry<String, UIComponent> entry : ajaxComponents.entrySet()) {
+ FacesContextUtils.setAjaxComponentId(context, entry.getKey());
+ invokeOnComponent(context, entry.getKey(), PROCESS_VALIDATION_CALLBACK);
+ }
+ } else {
+ super.processValidators(context);
+ }</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.html#280">280</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.html#296">296</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.html#274">274</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ /**
+ * A method binding EL expression,
+ * accepting FacesContext, UIComponent,
+ * and Object parameters, and returning void, that validates
+ * the component's local value.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION,
+ methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
+ public void setValidator(final MethodExpression validator) {
+ this.validator = validator;
+ }
+
+ /**
+ * An expression that specifies the Converter for this component.
+ * If the value binding expression is a String,
+ * the String is used as an ID to look up a Converter.
+ * If the value binding expression is a Converter,
+ * uses that instance as the converter.
+ * The value can either be a static value (ID case only)
+ * or an EL expression.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.convert.Converter",
+ expression = DynamicExpression.VALUE_EXPRESSION)
+ public void setConverter(final ValueExpression converter) {
+ this.converter = converter;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final ValueExpression binding) {
+ this.binding = binding;
+ }
+
+ /**
+ * Text value to display as tooltip.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setTip(final ValueExpression tip) {
+ this.tip = tip;
+ }
+
+ /**
+ * The width for the label component. Default: 'auto'.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabelWidth(final ValueExpression labelWidth) {
+ this.labelWidth = labelWidth;
+ }
+
+ /**
+ * Indicate markup of this component.
+ * Possible value is 'none'. But this can be overridden in the theme.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")
+ public void setMarkup(final ValueExpression markup) {
+ this.markup = markup;
+ }
+
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Integer")
+ public void setTabIndex(final ValueExpression tabIndex) {
+ this.tabIndex = tabIndex;
+ }
+
+ /**
+ * Flag indicating this component should receive the focus.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setFocus(final ValueExpression focus) {
+ this.focus = focus;
+ }
+
+ /**
+ * Flag indicating that a value is required.
+ * If the value is an empty string a
+ * ValidationError occurs and a Error Message is rendered.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.html#189">189</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.html#201">201</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> requiredMessage = null;
+ fieldId = null;
+ }
+
+ /**
+ * Flag indicating that a value is required.
+ * If the value is an empty string a
+ * ValidationError occurs and a Error Message is rendered.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setRequired(final ValueExpression required) {
+ this.required = required;
+ }
+
+ /**
+ * The current value of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Object")
+ public void setValue(final ValueExpression value) {
+ this.value = value;
+ }
+
+ /**
+ * MethodBinding representing a value change listener method
+ * that will be notified when a new value has been set for this input component.
+ * The expression must evaluate to a public method that takes a ValueChangeEvent
+ * parameter, with a return type of void.
+ *
+ * @param valueChangeListener
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ public void setValueChangeListener(final MethodExpression valueChangeListener) {
+ this.valueChangeListener = valueChangeListener;
+ }
+
+ /**
+ * A method binding EL expression,
+ * accepting FacesContext, UIComponent,
+ * and Object parameters, and returning void, that validates
+ * the component's local value.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION,
+ methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
+ public void setValidator(final MethodExpression validator) {
+ this.validator = validator;
+ }
+
+ /**
+ * Flag indicating that this element is disabled.
+ */
+ @TagAttribute()
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setDisabled(final ValueExpression disabled) {
+ this.disabled = disabled;
+ }
+
+ /**
+ * Flag indicating that this component will prohibit changes by the user.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setReadonly(final ValueExpression readonly) {
+ this.readonly = readonly;
+ }
+
+ /**
+ * Clientside script function to add to this component's onchange handler.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setOnchange(final ValueExpression onchange) {
+ this.onchange = onchange;
+ }
+
+ /**
+ * An expression that specifies the Converter for this component.
+ * If the value binding expression is a String,
+ * the String is used as an ID to look up a Converter.
+ * If the value binding expression is a Converter,
+ * uses that instance as the converter.
+ * The value can either be a static value (ID case only)
+ * or an EL expression.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.convert.Converter",
+ expression = DynamicExpression.VALUE_EXPRESSION)
+ public void setConverter(final ValueExpression converter) {
+ this.converter = converter;
+ }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.html#74">74</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.html#80">80</a></td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> private javax.el.ValueExpression renderedPartially;
+ private String fieldId;
+
+ @Override
+ public int doStartTag() throws JspException {
+
+ menuCommandTag = new MenuCommandTag();
+ menuCommandTag.setPageContext(pageContext);
+ menuCommandTag.setParent(getParent());
+ if (id != null) {
+ menuCommandTag.setId(id);
+ }
+ if (rendered != null) {
+ menuCommandTag.setRendered(rendered);
+ }
+ if (action != null) {
+ menuCommandTag.setAction(action);
+ }
+ if (actionListener != null) {
+ menuCommandTag.setActionListener(actionListener);
+ }
+ if (onclick != null) {
+ menuCommandTag.setOnclick(onclick);
+ }
+ if (link != null) {
+ menuCommandTag.setLink(link);
+ }
+ if (disabled != null) {
+ menuCommandTag.setDisabled(disabled);
+ }
+ if (binding != null) {
+ menuCommandTag.setBinding(binding);
+ }
+ if (label != null) {
+ menuCommandTag.setLabel(label);
+ }
+ if (immediate != null) {
+ menuCommandTag.setImmediate(immediate);
+ }
+ if (transition != null) {
+ menuCommandTag.setTransition(transition);
+ }
+ if (renderedPartially != null) {
+ menuCommandTag.setRenderedPartially(renderedPartially);
+ }
+ menuCommandTag.setJspId(nextJspId());
+ menuCommandTag.doStartTag();
+
+ facetTag = new FacetTag();
+ facetTag.setPageContext(pageContext);
+ facetTag.setParent(menuCommandTag);
+ facetTag.setName(Facets.CHECKBOX);</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.html#247">247</a></td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.html#206">206</a></td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ /**
+ * The current value of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Object")
+ public void setValue(final ValueExpression value) {
+ this.value = value;
+ }
+
+ /**
+ * MethodBinding representing a value change listener method
+ * that will be notified when a new value has been set for this input component.
+ * The expression must evaluate to a public method that takes a ValueChangeEvent
+ * parameter, with a return type of void.
+ *
+ * @param valueChangeListener
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ public void setValueChangeListener(final MethodExpression valueChangeListener) {
+ this.valueChangeListener = valueChangeListener;
+ }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabel(final ValueExpression label) {
+ this.label = label;
+ }
+
+ /**
+ * The accessKey of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Character")
+ public void setAccessKey(final javax.el.ValueExpression accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ /**
+ * Flag indicating this component should receive the focus.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setFocus(final ValueExpression focus) {
+ this.focus = focus;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final ValueExpression binding) {
+ this.binding = binding;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * An expression that specifies the Converter for this component.
+ * If the value binding expression is a String,
+ * the String is used as an ID to look up a Converter.
+ * If the value binding expression is a Converter,
+ * uses that instance as the converter.
+ * The value can either be a static value (ID case only)
+ * or an EL expression.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.convert.Converter",
+ expression = DynamicExpression.VALUE_EXPRESSION)
+ public void setConverter(final ValueExpression converter) {
+ this.converter = converter;
+ }
+
+ /**
+ * Clientside script function to add to this component's onchange handler.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/MenuCheckboxExtensionTag.html#131">131</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/MenuRadioExtensionTag.html#140">140</a></td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> if (value != null) {
+ inTag.setValue(value);
+ }
+ if (fieldId != null) {
+ inTag.setId(fieldId);
+ }
+ inTag.setJspId(nextJspId());
+ inTag.doStartTag();
+
+ return super.doStartTag();
+ }
+
+ @Override
+ public int doEndTag() throws JspException {
+
+ if (renderedPartially == null) {
+ // Move attribute renderedPartially from selectOne to menuCommand component
+ final UIComponent inComponent = inTag.getComponentInstance();
+ final AbstractUICommand command = (AbstractUICommand) menuCommandTag.getComponentInstance();
+ final javax.el.ValueExpression expression = inComponent.getValueExpression(Attributes.RENDERED_PARTIALLY);
+ if (expression != null) {
+ command.setValueExpression(Attributes.RENDERED_PARTIALLY, expression);
+ } else {
+ final Object renderedPartially = inComponent.getAttributes().get(Attributes.RENDERED_PARTIALLY);
+ command.setRenderedPartially(StringUtils.split((String) renderedPartially, ", "));
+ }
+ }
+
+ inTag.doEndTag();
+ facetTag.doEndTag();
+ menuCommandTag.doEndTag();
+
+ return super.doEndTag();
+ }
+
+ public void release() {
+ super.release();
+ rendered = null;
+ value = null;
+ action = null;
+ actionListener = null;
+ onclick = null;
+ link = null;
+ disabled = null;
+ binding = null;
+ label = null;
+ immediate = null;
+ transition = null;</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.html#277">277</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.html#259">259</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabel(final ValueExpression label) {
+ this.label = label;
+ }
+
+ /**
+ * The accessKey of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Character")
+ public void setAccessKey(final javax.el.ValueExpression accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ /*public void setHeight(String height) {
+ this.height = height;
+ } */
+
+ /**
+ * A method binding EL expression,
+ * accepting FacesContext, UIComponent,
+ * and Object parameters, and returning void, that validates
+ * the component's local value.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION,
+ methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
+ public void setValidator(final MethodExpression validator) {
+ this.validator = validator;
+ }
+
+ /**
+ * An expression that specifies the Converter for this component.
+ * If the value binding expression is a String,
+ * the String is used as an ID to look up a Converter.
+ * If the value binding expression is a Converter,
+ * uses that instance as the converter.
+ * The value can either be a static value (ID case only)
+ * or an EL expression.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.convert.Converter",
+ expression = DynamicExpression.VALUE_EXPRESSION)
+ public void setConverter(final ValueExpression converter) {
+ this.converter = converter;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final ValueExpression binding) {
+ this.binding = binding;
+ }
+
+ /**
+ * Text value to display as tooltip.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setTip(final ValueExpression tip) {
+ this.tip = tip;
+ }
+
+ /**
+ * The width for the label component. Default: 'auto'.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabelWidth(final ValueExpression labelWidth) {
+ this.labelWidth = labelWidth;
+ }
+
+ /**
+ * Indicate markup of this component.
+ * Possible value is 'none'. But this can be overridden in the theme.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneChoiceExtensionTag.html#285">285</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneRadioExtensionTag.html#305">305</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabel(final ValueExpression label) {
+ this.label = label;
+ }
+
+ /**
+ * The accessKey of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Character")
+ public void setAccessKey(final javax.el.ValueExpression accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final ValueExpression binding) {
+ this.binding = binding;
+ }
+
+ /**
+ * Text value to display as tooltip.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setTip(final ValueExpression tip) {
+ this.tip = tip;
+ }
+
+ /**
+ * The width for the label component. Default: 'auto'.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabelWidth(final ValueExpression labelWidth) {
+ this.labelWidth = labelWidth;
+ }
+
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Integer")
+ public void setTabIndex(final ValueExpression tabIndex) {
+ this.tabIndex = tabIndex;
+ }
+
+ /**
+ * Flag indicating this component should receive the focus.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setFocus(final ValueExpression focus) {
+ this.focus = focus;
+ }
+
+ /**
+ * Indicate markup of this component.
+ * Possible value is 'none'. But this can be overridden in the theme.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.html#201">201</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.html#186">186</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> renderRange = null;
+ validatorMessage = null;
+ converterMessage = null;
+ requiredMessage = null;
+ fieldId = null;
+ }
+
+ /**
+ * Flag indicating that a value is required.
+ * If the value is an empty string a
+ * ValidationError occurs and a Error Message is rendered.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setRequired(final ValueExpression required) {
+ this.required = required;
+ }
+
+ /**
+ * The current value of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Object")
+ public void setValue(final ValueExpression value) {
+ this.value = value;
+ }
+
+ /**
+ * MethodBinding representing a value change listener method
+ * that will be notified when a new value has been set for this input component.
+ * The expression must evaluate to a public method that takes a ValueChangeEvent
+ * parameter, with a return type of void.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ public void setValueChangeListener(final MethodExpression valueChangeListener) {
+ this.valueChangeListener = valueChangeListener;
+ }
+
+ /**
+ * Flag indicating that this element is disabled.
+ */
+ @TagAttribute()
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setDisabled(final ValueExpression disabled) {
+ this.disabled = disabled;
+ }
+
+ /**
+ * Flag indicating that this component will prohibit changes by the user.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setReadonly(final ValueExpression readonly) {
+ this.readonly = readonly;
+ }
+
+ /**
+ * Clientside script function to add to this component's onchange handler.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setOnchange(final ValueExpression onchange) {
+ this.onchange = onchange;
+ }
+
+ /**
+ * Flag indicating this component should rendered as an inline element.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="a">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.html#204">204</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.html#208">208</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.html#212">212</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> @UIComponentTagAttribute(type = "java.lang.Boolean")
+ public void setValue(final ValueExpression value) {
+ this.value = value;
+ }
+
+ /**
+ * MethodBinding representing a value change listener method
+ * that will be notified when a new value has been set for this input component.
+ * The expression must evaluate to a public method that takes a ValueChangeEvent
+ * parameter, with a return type of void.
+ *
+ * @param valueChangeListener
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ public void setValueChangeListener(final MethodExpression valueChangeListener) {
+ this.valueChangeListener = valueChangeListener;
+ }
+
+ /**
+ * Flag indicating that this element is disabled.
+ */
+ @TagAttribute()
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setDisabled(final ValueExpression disabled) {
+ this.disabled = disabled;
+ }
+
+ /**
+ * Flag indicating that this component will prohibit changes by the user.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setReadonly(final ValueExpression readonly) {
+ this.readonly = readonly;
+ }
+
+ /**
+ * Clientside script function to add to this component's onchange handler.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setOnchange(final ValueExpression onchange) {
+ this.onchange = onchange;
+ }
+
+ /**
+ * Text value to display as label.
+ * If text contains an underscore the next character is used as accesskey.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabel(final ValueExpression label) {
+ this.label = label;
+ }
+
+ /**
+ * The accessKey of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Character")
+ public void setAccessKey(final javax.el.ValueExpression accessKey) {
+ this.accessKey = accessKey;
+ }
+
+ /**
+ * Label to be displayed to the user for this option. This label will displayed beneath the component like
+ * the label of other check box components.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyCheckboxExtensionTag.html#204">204</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.html#193">193</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> requiredMessage = null;
+ fieldId = null;
+ }
+
+ /**
+ * Flag indicating that a value is required.
+ * If the value is an empty string a
+ * ValidationError occurs and a Error Message is rendered.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setRequired(final ValueExpression required) {
+ this.required = required;
+ }
+
+ /**
+ * The current value of this component.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Object")
+ public void setValue(final ValueExpression value) {
+ this.value = value;
+ }
+
+ /**
+ * MethodBinding representing a value change listener method
+ * that will be notified when a new value has been set for this input component.
+ * The expression must evaluate to a public method that takes a ValueChangeEvent
+ * parameter, with a return type of void.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(
+ type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION_REQUIRED,
+ methodSignature = "javax.faces.event.ValueChangeEvent")
+ public void setValueChangeListener(final MethodExpression valueChangeListener) {
+ this.valueChangeListener = valueChangeListener;
+ }
+
+ /**
+ * Flag indicating that this element is disabled.
+ */
+ @TagAttribute()
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setDisabled(final ValueExpression disabled) {
+ this.disabled = disabled;
+ }
+
+ /**
+ * Flag indicating that this component will prohibit changes by the user.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setReadonly(final ValueExpression readonly) {
+ this.readonly = readonly;
+ }
+
+ /**
+ * Clientside script function to add to this component's onchange handler.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setOnchange(final ValueExpression onchange) {
+ this.onchange = onchange;
+ }
+
+ /**
+ * Flag indicating this component should rendered as an inline element.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectBooleanCheckboxExtensionTag.html#280">280</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectOneListboxExtensionTag.html#278">278</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ /**
+ * A method binding EL expression,
+ * accepting FacesContext, UIComponent,
+ * and Object parameters, and returning void, that validates
+ * the component's local value.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = {},
+ expression = DynamicExpression.METHOD_EXPRESSION,
+ methodSignature = { "javax.faces.context.FacesContext", "javax.faces.component.UIComponent", "java.lang.Object" })
+ public void setValidator(final MethodExpression validator) {
+ this.validator = validator;
+ }
+
+ /**
+ * An expression that specifies the Converter for this component.
+ * If the value binding expression is a String,
+ * the String is used as an ID to look up a Converter.
+ * If the value binding expression is a Converter,
+ * uses that instance as the converter.
+ * The value can either be a static value (ID case only)
+ * or an EL expression.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.convert.Converter",
+ expression = DynamicExpression.VALUE_EXPRESSION)
+ public void setConverter(final ValueExpression converter) {
+ this.converter = converter;
+ }
+
+ /**
+ * Flag indicating whether or not this component should be rendered
+ * (during Render Response Phase), or processed on any subsequent form submit.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "true")
+ public void setRendered(final ValueExpression rendered) {
+ this.rendered = rendered;
+ }
+
+ /**
+ * The value binding expression linking this
+ * component to a property in a backing bean.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "javax.faces.component.UIComponent")
+ public void setBinding(final ValueExpression binding) {
+ this.binding = binding;
+ }
+
+ /**
+ * Text value to display as tooltip.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setTip(final ValueExpression tip) {
+ this.tip = tip;
+ }
+
+ /**
+ * The width for the label component. Default: 'auto'.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabelWidth(final ValueExpression labelWidth) {
+ this.labelWidth = labelWidth;
+ }
+
+ /**
+ * Indicate markup of this component.
+ * Possible value is 'none'. But this can be overridden in the theme.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(defaultValue = "none", type = "java.lang.String[]")</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SelectManyCheckboxRenderer.java</td>
+ <td>Tobago Theme Standard</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SelectManyCheckboxRenderer.html#83">83</a>
+ </td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SelectOneRadioRenderer.java</td>
+ <td>Tobago Theme Standard</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SelectOneRadioRenderer.html#86">86</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> final boolean checked = RenderUtils.contains(values, item.getValue());
+ writer.writeAttribute(HtmlAttributes.CHECKED, checked);
+ writer.writeNameAttribute(id);
+ writer.writeIdAttribute(itemId);
+ final String formattedValue = RenderUtils.getFormattedValue(facesContext, select, item.getValue());
+ writer.writeAttribute(HtmlAttributes.VALUE, formattedValue, true);
+ writer.writeAttribute(HtmlAttributes.DISABLED, item.isDisabled() || disabled);
+ writer.writeAttribute(HtmlAttributes.READONLY, readonly);
+ writer.writeAttribute(HtmlAttributes.REQUIRED, required);
+ if (first) {
+ HtmlRendererUtils.renderFocus(id, select.isFocus(), ComponentUtils.isError(select), facesContext, writer);
+ first = false;
+ }
+ final Integer tabIndex = select.getTabIndex();
+ if (tabIndex != null) {
+ writer.writeAttribute(HtmlAttributes.TABINDEX, tabIndex);
+ }
+ HtmlRendererUtils.renderCommandFacet(select, itemId, facesContext, writer);
+ writer.endElement(HtmlElements.INPUT);</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/FileExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/FileExtensionTag.html#314">314</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a
+ href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/SelectManyListboxExtensionTag.html#354">354</a>
+ </td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Integer")
+ public void setTabIndex(final ValueExpression tabIndex) {
+ this.tabIndex = tabIndex;
+ }
+
+ /**
+ * Flag indicating this component should receive the focus.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute(type = "boolean", defaultValue = "false")
+ public void setFocus(final ValueExpression focus) {
+ this.focus = focus;
+ }
+
+ /**
+ * An expression that specifies the validator message
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setValidatorMessage(final ValueExpression validatorMessage) {
+ this.validatorMessage = validatorMessage;
+ }
+
+ /**
+ * An expression that specifies the converter message
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setConverterMessage(final ValueExpression converterMessage) {
+ this.converterMessage = converterMessage;
+ }
+
+ /**
+ * An expression that specifies the required message
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setRequiredMessage(final ValueExpression requiredMessage) {
+ this.requiredMessage = requiredMessage;
+ }
+
+ /**
+ * The component identifier for the input field component inside of the container.
+ * This value must be unique within the closest parent component that is a naming container.
+ */
+ @TagAttribute(rtexprvalue = true)
+ @UIComponentTagAttribute
+ public void setFieldId(final String fieldId) {
+ this.fieldId = fieldId;
+ }
+
+ /**
+ * The component identifier for this component.
+ * This value must be unique within the closest parent component that is a naming container.
+ * For tx components the id will be set to the container (e. g. the panel).
+ * To set the id of the input field, you have to use the attribute "fieldId".
+ */
+ @TagAttribute(rtexprvalue = true)
+ @UIComponentTagAttribute
+ public void setId(final String id) {
+ super.setId(id);
+ }
+}</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/renderkit/html/HtmlElements.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/renderkit/html/HtmlElements.html#22">22</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/renderkit/html/HtmlConstants.java</td>
+ <td>Tobago Deprecation</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/renderkit/html/HtmlConstants.html#26">26</a></td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre>public final class HtmlElements {
+
+ public static final String A = "a";
+ public static final String AREA = "area";
+ public static final String B = "b";
+ public static final String BASE = "base";
+ public static final String BODY = "body";
+ public static final String BR = "br";
+ public static final String BUTTON = "button";
+ public static final String COL = "col";
+ public static final String COLGROUP = "colgroup";
+ public static final String DIV = "div";
+ public static final String FIELDSET = "fieldset";
+ public static final String FORM = "form";
+ public static final String HEAD = "head";
+ public static final String HR = "hr";
+ public static final String HTML = "html";
+ public static final String IFRAME = "iframe";
+ public static final String IMG = "img";
+ public static final String INPUT = "input";
+ public static final String LABEL = "label";
+ public static final String LEGEND = "legend";
+ public static final String LI = "li";
+ public static final String LINK = "link";
+ public static final String META = "meta";
+ public static final String NOSCRIPT = "noscript";</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/component/ComponentUtil.java</td>
+ <td>Tobago Deprecation</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/component/ComponentUtil.html#450">450</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/TagUtils.java</td>
+ <td>Tobago Deprecation</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/TagUtils.html#75">75</a></td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> component.getAttributes().put(name, new Integer(value));
+ }
+ }
+ }
+
+ /**
+ * @deprecated Since Tobago 1.5 please use {@link ComponentUtils}
+ */
+ @Deprecated
+ public static void setBooleanProperty(final UIComponent component, final String name, final String value) {
+ if (value != null) {
+ if (UIComponentTag.isValueReference(value)) {
+ component.setValueBinding(name, createValueBinding(value));
+ } else {
+ component.getAttributes().put(name, Boolean.valueOf(value));
+ }
+ }
+ }
+
+ /**
+ * @deprecated Since Tobago 1.5 please use {@link ComponentUtils}
+ */
+ @Deprecated
+ public static void setStringProperty(final UIComponent component, final String name, final String value) {
+ if (value != null) {
+ if (UIComponentTag.isValueReference(value)) {
+ component.setValueBinding(name, createValueBinding(value));
+ } else {
+ component.getAttributes().put(name, value);
+ }
+ }
+ }
+
+ /**
+ * @deprecated Since Tobago 1.5 please use {@link ComponentUtils}
+ */
+ @Deprecated
+ public static void setValueForValueBinding(final String name, final Object value) {</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/component/AbstractUISheetLayout.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/component/AbstractUISheetLayout.html#65">65</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/component/AbstractUITabGroupLayout.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/component/AbstractUITabGroupLayout.html#41">41</a></td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> for (final LayoutComponent component : getLayoutContainer().getComponents()) {
+ if (component instanceof LayoutContainer && component.isRendered()) {
+ ((LayoutContainer) component).getLayoutManager().init();
+ }
+ }
+ }
+
+ public void fixRelativeInsideAuto(final Orientation orientation, final boolean auto) {
+
+ if (orientation == Orientation.HORIZONTAL) {
+ horizontalAuto = auto;
+ } else {
+ verticalAuto = auto;
+ }
+
+ for (final LayoutComponent component : getLayoutContainer().getComponents()) {
+ if (component instanceof LayoutContainer && component.isRendered()) {
+ ((LayoutContainer) component).getLayoutManager().fixRelativeInsideAuto(orientation, auto);
+ }
+ }
+ }
+
+ public void preProcessing(final Orientation orientation) {
+
+ // process auto tokens
+ final IntervalList intervals = new IntervalList();
+ for (final LayoutComponent component : getLayoutContainer().getComponents()) {
- <p>CPD found no problems in your source code.</p></div>
- </div>
+ if (component != null) {</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.html#411">411</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/context/ResourceManagerImpl.html#460">460</a></td>
+ </tr>
+ <tr class="a">
+ <td colspan='3'>
+ <div>
+<pre> if (reverseOrder) {
+ matches.add(0, result);
+ } else {
+ matches.add(result);
+ }
+ if (LOG.isTraceEnabled()) {
+ LOG.trace("testing path: {} *", path); // match
+ }
+
+ return true;
+ } else if (!returnStrings) {
+ try {
+ path = path.substring(1).replace('/', '.');
+ final Class clazz = Class.forName(path);
+ if (LOG.isTraceEnabled()) {
+ LOG.trace("testing path: " + path + " *"); // match
+ }
+ matches.add(clazz);
+ return true;
+ } catch (final ClassNotFoundException e) {
+ // not found
+ if (LOG.isTraceEnabled()) {
+ LOG.trace("testing path: " + path); // no match
+ }
+ }
+ } else {
+ if (LOG.isTraceEnabled()) {
+ LOG.trace("testing path: " + path); // no match
+ }
+ }
+ return false;
+ }
+
+ private boolean checkPath(</pre>
+ </div>
+ </td>
+ </tr>
+</table>
+<table border="0" class="bodyTable">
+ <tr class="b">
+ <th>File</th>
+ <th>Project</th>
+ <th>Line</th>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/InExtensionTag.html#462">462</a></td>
+ </tr>
+ <tr class="b">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/TextareaExtensionTag.html#367">367</a></td>
+ </tr>
+ <tr class="a">
+ <td>org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.java</td>
+ <td>Tobago Core</td>
+ <td><a href="./xref/org/apache/myfaces/tobago/internal/taglib/extension/TimeExtensionTag.html#365">365</a></td>
+ </tr>
+ <tr class="b">
+ <td colspan='3'>
+ <div>
+<pre> }
+
+ /**
+ * The width for the label component. Default: 'auto'.
+ * This value is used in the gridLayouts columns attribute.
+ * See gridLayout tag for valid values.
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setLabelWidth(final ValueExpression labelWidth) {
+ this.labelWidth = labelWidth;
+ }
+
+ @TagAttribute
+ @UIComponentTagAttribute(type = "java.lang.Integer")
+ public void setTabIndex(final ValueExpression tabIndex) {
+ this.tabIndex = tabIndex;
+ }
+
+ /**
+ * An expression that specifies the validator message
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setValidatorMessage(final ValueExpression validatorMessage) {
+ this.validatorMessage = validatorMessage;
+ }
+
+ /**
+ * An expression that specifies the converter message
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setConverterMessage(final ValueExpression converterMessage) {
+ this.converterMessage = converterMessage;
+ }
+
+ /**
+ * An expression that specifies the required message
+ */
+ @TagAttribute
+ @UIComponentTagAttribute()
+ public void setRequiredMessage(final ValueExpression requiredMessage) {
[... 2526 lines stripped ...]