You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/06/04 05:12:59 UTC
svn commit: r662958 - in
/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component:
./ html/
Author: lu4242
Date: Tue Jun 3 20:12:59 2008
New Revision: 662958
URL: http://svn.apache.org/viewvc?rev=662958&view=rev
Log:
Component generation for 1.2
Added:
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/UICommand.java (with props)
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputSecret.java (with props)
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputText.java (with props)
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputTextarea.java (with props)
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessage.java (with props)
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessages.java (with props)
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputFormat.java (with props)
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLabel.java (with props)
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLink.java (with props)
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputText.java (with props)
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/UICommand.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/UICommand.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/UICommand.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/UICommand.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,391 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component;
+
+import javax.el.MethodExpression;
+import javax.el.ValueExpression;
+import javax.faces.context.FacesContext;
+import javax.faces.el.MethodBinding;
+import javax.faces.event.AbortProcessingException;
+import javax.faces.event.ActionEvent;
+import javax.faces.event.ActionListener;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.PhaseId;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
+
+/**
+ *
+ * UICommand is a base abstraction for components that implement ActionSource.
+ *
+ * <h4>Events:</h4>
+ * <table border="1" width="100%" cellpadding="3" summary="">
+ * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ * <th align="left">Type</th>
+ * <th align="left">Phases</th>
+ * <th align="left">Description</th>
+ * </tr>
+ * <tr class="TableRowColor">
+ * <td valign="top"><code>javax.faces.event.ActionEvent</code></td>
+ * <td valign="top" nowrap>Invoke Application<br>Apply Request Values</td>
+ * <td valign="top">Event delivered when the "action" of the component has been
+invoked; for example, by clicking on a button. The action may result
+in page navigation.</td>
+ * </tr>
+ * </table>
+ */
+@JSFComponent
+(defaultRendererType = "javax.faces.Button"
+)
+public class UICommand extends UIComponentBase
+ implements ActionSource2
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Command";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.Command";
+
+ /**
+ * Construct an instance of the UICommand.
+ */
+ public UICommand()
+ {
+ setRendererType("javax.faces.Button");
+ }
+
+
+ /**
+ * @deprecated Use setActionExpression instead.
+ */
+ public void setAction(MethodBinding action)
+ {
+ if(action != null)
+ {
+ setActionExpression(new _MethodBindingToMethodExpression(action));
+ }
+ else
+ {
+ setActionExpression(null);
+ }
+ }
+
+ /**
+ * @deprecated Use getActionExpression() instead.
+ */
+ public MethodBinding getAction()
+ {
+ MethodExpression actionExpression = getActionExpression();
+ if (actionExpression instanceof _MethodBindingToMethodExpression) {
+ return ((_MethodBindingToMethodExpression)actionExpression).getMethodBinding();
+ }
+ if(actionExpression != null)
+ {
+ return new _MethodExpressionToMethodBinding(actionExpression);
+ }
+ return null;
+ }
+
+ @Override
+ public void broadcast(FacesEvent event)
+ throws AbortProcessingException
+ {
+ super.broadcast(event);
+
+ if (event instanceof ActionEvent)
+ {
+ FacesContext context = getFacesContext();
+
+ MethodBinding mb = getActionListener();
+ if(mb != null)
+ {
+ mb.invoke(context, new Object[] { event });
+ }
+
+ ActionListener defaultActionListener
+ = context.getApplication().getActionListener();
+ if (defaultActionListener != null)
+ {
+ defaultActionListener.processAction((ActionEvent)event);
+ }
+ }
+ }
+
+ @Override
+ public void queueEvent(FacesEvent event)
+ {
+ if (event != null && event instanceof ActionEvent)
+ {
+ if (isImmediate())
+ {
+ event.setPhaseId(PhaseId.APPLY_REQUEST_VALUES);
+ }
+ else
+ {
+ event.setPhaseId(PhaseId.INVOKE_APPLICATION);
+ }
+ }
+ super.queueEvent(event);
+ }
+
+ // Property: immediate
+ private boolean _immediate;
+ private boolean _immediateSet;
+
+ /**
+ * Gets A boolean value that identifies the phase during which action events
+ * should fire. During normal event processing, action methods and
+ * action listener methods are fired during the "invoke application"
+ * phase of request processing. If this attribute is set to "true",
+ * these methods are fired instead at the end of the "apply request
+ * values" phase.
+ *
+ * @return the new immediate value
+ */
+ @JSFProperty
+ public boolean isImmediate()
+ {
+ if (_immediateSet)
+ {
+ return _immediate;
+ }
+ ValueExpression expression = getValueExpression("immediate");
+ if (expression != null)
+ {
+ return (Boolean)expression.getValue(getFacesContext().getELContext());
+ }
+ return false;
+ }
+
+ /**
+ * Sets A boolean value that identifies the phase during which action events
+ * should fire. During normal event processing, action methods and
+ * action listener methods are fired during the "invoke application"
+ * phase of request processing. If this attribute is set to "true",
+ * these methods are fired instead at the end of the "apply request
+ * values" phase.
+ *
+ * @param immediate the new immediate value
+ */
+ public void setImmediate(boolean immediate)
+ {
+ this._immediate = immediate;
+ this._immediateSet = true;
+ }
+
+ // Property: value
+ private Object _value;
+
+ /**
+ * Gets The initial value of this component.
+ *
+ * @return the new value value
+ */
+ @JSFProperty
+ public Object getValue()
+ {
+ if (_value != null)
+ {
+ return _value;
+ }
+ ValueExpression expression = getValueExpression("value");
+ if (expression != null)
+ {
+ return expression.getValue(getFacesContext().getELContext());
+ }
+ return null;
+ }
+
+ /**
+ * Sets The initial value of this component.
+ *
+ * @param value the new value value
+ */
+ public void setValue(Object value)
+ {
+ this._value = value;
+ }
+
+ // Property: actionExpression
+ private MethodExpression _actionExpression;
+
+ /**
+ * Gets Specifies the action to take when this command is invoked.
+ * If the value is an expression, it is expected to be a method
+ * binding EL expression that identifies an action method. An action method
+ * accepts no parameters and has a String return value, called the action
+ * outcome, that identifies the next view displayed. The phase that this
+ * event is fired in can be controlled via the immediate attribute.
+ *
+ * If the value is a string literal, it is treated as a navigation outcome
+ * for the current view. This is functionally equivalent to a reference to
+ * an action method that returns the string literal.
+ *
+ * @return the new actionExpression value
+ */
+ @JSFProperty
+ (stateHolder = true,
+ returnSignature = "java.lang.Object",
+ jspName = "action")
+ public MethodExpression getActionExpression()
+ {
+ if (_actionExpression != null)
+ {
+ return _actionExpression;
+ }
+ ValueExpression expression = getValueExpression("actionExpression");
+ if (expression != null)
+ {
+ return (MethodExpression)expression.getValue(getFacesContext().getELContext());
+ }
+ return null;
+ }
+
+ /**
+ * Sets Specifies the action to take when this command is invoked.
+ * If the value is an expression, it is expected to be a method
+ * binding EL expression that identifies an action method. An action method
+ * accepts no parameters and has a String return value, called the action
+ * outcome, that identifies the next view displayed. The phase that this
+ * event is fired in can be controlled via the immediate attribute.
+ *
+ * If the value is a string literal, it is treated as a navigation outcome
+ * for the current view. This is functionally equivalent to a reference to
+ * an action method that returns the string literal.
+ *
+ * @param actionExpression the new actionExpression value
+ */
+ public void setActionExpression(MethodExpression actionExpression)
+ {
+ this._actionExpression = actionExpression;
+ }
+
+ // Property: actionListener
+ private MethodBinding _actionListener;
+
+ /**
+ * Gets A method binding EL expression that identifies an action listener method
+ * to be invoked if this component is activated by the user. An action
+ * listener method accepts a parameter of type javax.faces.event.ActionEvent
+ * and returns void. The phase that this event is fired in can be controlled
+ * via the immediate attribute.
+ *
+ * @return the new actionListener value
+ * @deprecated
+ */
+ @JSFProperty
+ (stateHolder = true,
+ returnSignature = "void",
+ methodSignature = "javax.faces.event.ActionEvent")
+ public MethodBinding getActionListener()
+ {
+ if (_actionListener != null)
+ {
+ return _actionListener;
+ }
+ ValueExpression expression = getValueExpression("actionListener");
+ if (expression != null)
+ {
+ return (MethodBinding)expression.getValue(getFacesContext().getELContext());
+ }
+ return null;
+ }
+
+ /**
+ * Sets A method binding EL expression that identifies an action listener method
+ * to be invoked if this component is activated by the user. An action
+ * listener method accepts a parameter of type javax.faces.event.ActionEvent
+ * and returns void. The phase that this event is fired in can be controlled
+ * via the immediate attribute.
+ *
+ * @param actionListener the new actionListener value
+ * @deprecated
+ */
+ public void setActionListener(MethodBinding actionListener)
+ {
+ this._actionListener = actionListener;
+ }
+
+ /**
+ * Adds a action listener.
+ *
+ * @param listener the action listener to add
+ */
+ public void addActionListener(
+ ActionListener listener)
+ {
+ addFacesListener(listener);
+ }
+
+ /**
+ * Removes a action listener.
+ *
+ * @param listener the action listener to remove
+ */
+ public void removeActionListener(
+ ActionListener listener)
+ {
+ removeFacesListener(listener);
+ }
+
+ /**
+ * Returns an array of attached action listeners.
+ *
+ * @return an array of attached action listeners.
+ */
+ public ActionListener[] getActionListeners()
+ {
+ return (ActionListener[])getFacesListeners(ActionListener.class);
+ }
+
+ @Override
+ public Object saveState(FacesContext facesContext)
+ {
+ Object[] values = new Object[6];
+ values[0] = super.saveState(facesContext);
+ values[1] = _immediate;
+ values[2] = _immediateSet;
+ values[3] = _value;
+ values[4] = saveAttachedState(facesContext, _actionExpression);
+ values[5] = saveAttachedState(facesContext, _actionListener);
+
+ return values;
+ }
+
+ @Override
+ public void restoreState(FacesContext facesContext, Object state)
+ {
+ Object[] values = (Object[])state;
+ super.restoreState(facesContext,values[0]);
+ _immediate = (Boolean)values[1];
+ _immediateSet = (Boolean)values[2];
+ _value = values[3];
+ _actionExpression = (MethodExpression)restoreAttachedState(facesContext, values[4]);
+ _actionListener = (MethodBinding)restoreAttachedState(facesContext, values[5]);
+ }
+
+ @Override
+ public String getFamily()
+ {
+ return COMPONENT_FAMILY;
+ }
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/UICommand.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputSecret.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputSecret.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputSecret.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputSecret.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,104 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component.html;
+
+import javax.faces.component.UIInput;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
+
+/**
+ *
+ * Renders as an HTML input tag with its type set to "password".
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ *
+ * <h4>Events:</h4>
+ * <table border="1" width="100%" cellpadding="3" summary="">
+ * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ * <th align="left">Type</th>
+ * <th align="left">Phases</th>
+ * <th align="left">Description</th>
+ * </tr>
+ * <tr class="TableRowColor">
+ * <td valign="top"><code>javax.faces.event.ValueChangeEvent</code></td>
+ * <td valign="top" nowrap></td>
+ * <td valign="top">The valueChange event is delivered when the value
+ attribute is changed.</td>
+ * </tr>
+ * </table>
+ */
+@JSFComponent
+(name = "h:inputSecret",
+clazz = "javax.faces.component.html.HtmlInputSecret",
+tagClass = "org.apache.myfaces.taglib.html.HtmlInputSecretTag",
+defaultRendererType = "javax.faces.Secret"
+)
+abstract class _HtmlInputSecret extends UIInput implements _AccesskeyProperty,
+ _AltProperty, _UniversalProperties, _Focus_BlurProperties, _EventProperties,
+ _StyleProperties, _TabindexProperty, _Change_SelectProperties,
+ _Disabled_ReadonlyProperties, _LabelProperty
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Input";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.HtmlInputSecret";
+
+ /**
+ * HTML: The maximum number of characters allowed to be entered.
+ *
+ * @JSFProperty
+ * defaultValue = "Integer.MIN_VALUE"
+ */
+ public abstract int getMaxlength();
+
+ /**
+ * If true, the value will be re-sent (in plaintext) when the form
+ * is rerendered (see JSF.7.4.4). Default is false.
+ *
+ * @JSFProperty
+ * defaultValue = "false"
+ */
+ public abstract boolean isRedisplay();
+
+ /**
+ * HTML: The initial width of this control, in characters.
+ *
+ * @JSFProperty
+ * defaultValue = "Integer.MIN_VALUE"
+ */
+ public abstract int getSize();
+
+ /**
+ * If the value of this attribute is "off", render "off" as the value of the attribute.
+ * This indicates that the browser should disable its autocomplete feature for this component.
+ * This is useful for components that perform autocompletion and do not want the browser interfering.
+ * If this attribute is not set or the value is "on", render nothing.
+ *
+ * @return the new autocomplete value
+ * @since 1.2
+ */
+ @JSFProperty
+ public abstract String getAutocomplete();
+
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputSecret.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputText.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputText.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputText.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputText.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,95 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component.html;
+
+import javax.faces.component.UIInput;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFProperty;
+
+/**
+ *
+ * Renders a HTML input element.
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ *
+ * <h4>Events:</h4>
+ * <table border="1" width="100%" cellpadding="3" summary="">
+ * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ * <th align="left">Type</th>
+ * <th align="left">Phases</th>
+ * <th align="left">Description</th>
+ * </tr>
+ * <tr class="TableRowColor">
+ * <td valign="top"><code>javax.faces.event.ValueChangeEvent</code></td>
+ * <td valign="top" nowrap></td>
+ * <td valign="top">The valueChange event is delivered when the value
+ attribute is changed.</td>
+ * </tr>
+ * </table>
+ */
+@JSFComponent
+(name = "h:inputText",
+clazz = "javax.faces.component.html.HtmlInputText",
+tagClass = "org.apache.myfaces.taglib.html.HtmlInputTextTag",
+defaultRendererType = "javax.faces.Text"
+)
+abstract class _HtmlInputText extends UIInput
+ implements _AccesskeyProperty,
+ _AltProperty, _UniversalProperties, _Disabled_ReadonlyProperties,
+ _Focus_BlurProperties, _Change_SelectProperties, _EventProperties,
+ _StyleProperties, _TabindexProperty, _LabelProperty
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Input";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.HtmlInputText";
+
+ /**
+ * HTML: The maximum number of characters allowed to be entered.
+ *
+ * @JSFProperty
+ * defaultValue = "Integer.MIN_VALUE"
+ */
+ public abstract int getMaxlength();
+
+ /**
+ * HTML: The initial width of this control, in characters.
+ *
+ * @JSFProperty
+ * defaultValue = "Integer.MIN_VALUE"
+ */
+ public abstract int getSize();
+
+ /**
+ * If the value of this attribute is "off", render "off" as the value of the attribute.
+ * This indicates that the browser should disable its autocomplete feature for this component.
+ * This is useful for components that perform autocompletion and do not want the browser interfering.
+ * If this attribute is not set or the value is "on", render nothing.
+ *
+ * @return the new autocomplete value
+ */
+ @JSFProperty
+ public abstract String getAutocomplete();
+
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputText.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputTextarea.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputTextarea.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputTextarea.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputTextarea.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,82 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component.html;
+
+import javax.faces.component.UIInput;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+
+/**
+ *
+ * Renders a HTML textarea element.
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ *
+ * <h4>Events:</h4>
+ * <table border="1" width="100%" cellpadding="3" summary="">
+ * <tr bgcolor="#CCCCFF" class="TableHeadingColor">
+ * <th align="left">Type</th>
+ * <th align="left">Phases</th>
+ * <th align="left">Description</th>
+ * </tr>
+ * <tr class="TableRowColor">
+ * <td valign="top"><code>javax.faces.event.ValueChangeEvent</code></td>
+ * <td valign="top" nowrap></td>
+ * <td valign="top">The valueChange event is delivered when the value
+ attribute is changed.</td>
+ * </tr>
+ * </table>
+ */
+@JSFComponent
+(name = "h:inputTextarea",
+clazz = "javax.faces.component.html.HtmlInputTextarea",
+tagClass = "org.apache.myfaces.taglib.html.HtmlInputTextareaTag",
+defaultRendererType = "javax.faces.Textarea"
+)
+abstract class _HtmlInputTextarea extends UIInput implements _AccesskeyProperty,
+ _UniversalProperties, _Focus_BlurProperties, _Change_SelectProperties,
+ _EventProperties, _StyleProperties, _TabindexProperty,
+ _Disabled_ReadonlyProperties, _LabelProperty
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Input";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.HtmlInputTextarea";
+
+ /**
+ * HTML: The width of this element, in characters.
+ *
+ * @JSFProperty
+ * defaultValue = "Integer.MIN_VALUE"
+ */
+ public abstract int getCols();
+
+ /**
+ * HTML: The height of this element, in characters.
+ *
+ * @JSFProperty
+ * defaultValue = "Integer.MIN_VALUE"
+ */
+ public abstract int getRows();
+
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlInputTextarea.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessage.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessage.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessage.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessage.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,48 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component.html;
+
+import javax.faces.component.UIMessage;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+
+/**
+ *
+ * Renders text displaying information about the first FacesMessage
+ * that is assigned to the component referenced by the "for" attribute.
+ */
+@JSFComponent
+(name = "h:message",
+clazz = "javax.faces.component.html.HtmlMessage",
+tagClass = "org.apache.myfaces.taglib.html.HtmlMessageTag",
+defaultRendererType = "javax.faces.Message"
+)
+abstract class _HtmlMessage extends UIMessage implements _StyleProperties,
+ _MessageProperties, _UniversalProperties
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Message";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.HtmlMessage";
+
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessage.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessages.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessages.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessages.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessages.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,67 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component.html;
+
+import javax.faces.component.UIMessages;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+
+/**
+ *
+ * Renders all or some FacesMessages depending on the "for" and
+ * "globalOnly" attributes:<br>
+ * <ul>
+ * <li>If globalOnly = true, only global messages, that have no
+ * associated clientId, will be displayed.</li>
+ * <li>else if there is a "for" attribute, only messages that are
+ * assigned to the component referenced by the "for" attribute
+ * are displayed.</li>
+ * <li>else all messages are displayed.</li>
+ * </ul>
+ *
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ */
+@JSFComponent
+(name = "h:messages",
+clazz = "javax.faces.component.html.HtmlMessages",
+tagClass = "org.apache.myfaces.taglib.html.HtmlMessagesTag",
+defaultRendererType = "javax.faces.Messages"
+)
+abstract class _HtmlMessages extends UIMessages implements _StyleProperties,
+_MessageProperties, _UniversalProperties
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Messages";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.HtmlMessages";
+
+ /**
+ * The layout: "table" or "list". Default: list
+ *
+ * @JSFProperty
+ * defaultValue = "list"
+ */
+ public abstract String getLayout();
+
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlMessages.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputFormat.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputFormat.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputFormat.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputFormat.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,52 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component.html;
+
+import javax.faces.component.UIOutput;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+
+/**
+ *
+ * Renders as text, applying the child f:param values to the value
+ * attribute as a MessageFormat string. If this element has an ID
+ * or CSS style properties, the text is wrapped in a span element.
+ *
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ */
+@JSFComponent
+(name = "h:outputFormat",
+clazz = "javax.faces.component.html.HtmlOutputFormat",
+tagClass = "org.apache.myfaces.taglib.html.HtmlOutputFormatTag",
+defaultRendererType = "javax.faces.Format"
+)
+abstract class _HtmlOutputFormat extends UIOutput implements _StyleProperties,
+ _EscapeProperty, _TitleProperty, _UniversalProperties
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Output";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.HtmlOutputFormat";
+
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputFormat.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLabel.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLabel.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLabel.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLabel.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,59 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component.html;
+
+import javax.faces.component.UIOutput;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+
+/**
+ *
+ * Renders a HTML label element.
+ * In addition to the JSF specification, MyFaces allows it to directly
+ * give an output text via the "value" attribute.
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ */
+@JSFComponent
+(name = "h:outputLabel",
+clazz = "javax.faces.component.html.HtmlOutputLabel",
+tagClass = "org.apache.myfaces.taglib.html.HtmlOutputLabelTag",
+defaultRendererType = "javax.faces.Label"
+)
+abstract class _HtmlOutputLabel extends UIOutput implements _Focus_BlurProperties,
+_EventProperties, _StyleProperties, _UniversalProperties, _AccesskeyProperty,
+_TabindexProperty, _EscapeProperty
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Output";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.HtmlOutputLabel";
+
+ /**
+ * The client ID of the target input element of this label.
+ *
+ * @JSFProperty
+ */
+ public abstract String getFor();
+
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLabel.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLink.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLink.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLink.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLink.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,51 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component.html;
+
+import javax.faces.component.UIOutput;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+
+/**
+ *
+ * Renders a HTML a element. Child f:param elements are added to the href
+ * attribute as query parameters. Other children are rendered as the link text or image.
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ */
+@JSFComponent
+(name = "h:outputLink",
+clazz = "javax.faces.component.html.HtmlOutputLink",
+tagClass = "org.apache.myfaces.taglib.html.HtmlOutputLinkTag",
+defaultRendererType = "javax.faces.Link"
+)
+abstract class _HtmlOutputLink extends UIOutput implements _AccesskeyProperty,
+_UniversalProperties, _Focus_BlurProperties, _EventProperties, _StyleProperties,
+_TabindexProperty, _LinkProperties
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Output";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.HtmlOutputLink";
+
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputLink.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputText.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputText.java?rev=662958&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputText.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputText.java Tue Jun 3 20:12:59 2008
@@ -0,0 +1,51 @@
+// WARNING: This file was automatically generated. Do not edit it directly,
+// or you will lose your changes.
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+*/
+package javax.faces.component.html;
+
+import javax.faces.component.UIOutput;
+
+import org.apache.myfaces.buildtools.maven2.plugin.builder.annotation.JSFComponent;
+
+/**
+ *
+ * Renders the value of the associated UIOutput component. If this
+ * element has an ID or CSS style properties, the text is wrapped in
+ * a span element.
+ * Unless otherwise specified, all attributes accept static values
+ * or EL expressions.
+ */
+@JSFComponent
+(name = "h:outputText",
+clazz = "javax.faces.component.html.HtmlOutputText",
+tagClass = "org.apache.myfaces.taglib.html.HtmlOutputTextTag",
+defaultRendererType = "javax.faces.Text"
+)
+abstract class _HtmlOutputText extends UIOutput implements _EscapeProperty,
+_StyleProperties, _UniversalProperties
+{
+
+ static public final String COMPONENT_FAMILY =
+ "javax.faces.Output";
+ static public final String COMPONENT_TYPE =
+ "javax.faces.HtmlOutputText";
+
+}
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_1.2.x/api/src/main/java/javax/faces/component/html/_HtmlOutputText.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL