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/05/23 00:12:06 UTC
svn commit: r659279 [1/2] - in
/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest:
core_trunk_11/api/src/main/java/javax/faces/component/
tomahawk_trunk/sandbox/core/
tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordi...
Author: lu4242
Date: Thu May 22 15:12:00 2008
New Revision: 659279
URL: http://svn.apache.org/viewvc?rev=659279&view=rev
Log:
documentation added and checked, all test passed successfully. Ready to start move changes to trunk
Added:
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/AbstractAjaxChildComboBox.java (with props)
Removed:
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/AjaxChildComboBox.java
Modified:
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_11/api/src/main/java/javax/faces/component/UISelectBoolean.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/pom.xml
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordion/AbstractHtmlAccordionPanel.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/autoupdatedatatable/AbstractAutoUpdateDataTable.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/captcha/AbstractCAPTCHAComponent.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/CompareToValidator.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/AbstractConversationComponent.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIConversation.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEndConversation.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEnsureConversation.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertNumber/TypedNumberConverter.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertStringUtils/StringUtilsConverter.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertboolean/BooleanConverter.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/csvvalidator/CSVValidator.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dialog/AbstractModalDialog.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoContentPane.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoSplitPane.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractFloatingPaneBase.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractTitlePane.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/FloatingPaneBaseRenderer.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/effect/AbstractEffect.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/AbstractExporter.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/ExporterActionListenerTag.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fieldset/AbstractFieldset.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractFishEyeCommandLink.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractHtmlFishEyeNavigationMenu.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/focus/AbstractHtmlFocus.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/form/AbstractHtmlForm.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/graphicimagedynamic/GraphicImageDynamic.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ifmessage/AbstractIfMessage.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractHtmlImageLoop.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractImageLoopItems.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/AbstractHtmlCommandButtonAjax.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/AbstractHtmlInputTextAjax.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/AbstractHtmlSelectBooleanCheckboxAjax.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/AbstractHtmlSelectManyCheckboxAjax.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/AbstractHtmlSelectOneRadioAjax.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/AbstractListener.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/HtmlMessage.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/isbnvalidator/ISBNValidator.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/limitrendered/AbstractUILimitRendered.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/loadbundle/AbstractLoadBundle.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/media/AbstractMediaComponent.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/outputlinkdynamic/AbstractOutputLinkDynamic.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/passwordStrength/AbstractPasswordStrengthComponent.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/picklist/AbstractHtmlSelectManyPicklist.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/AbstractPPRPanelGroup.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ppr/AbstractPPRSubmit.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/roundeddiv/AbstractHtmlRoundedDiv.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/script/AbstractScript.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/selectOneRow/AbstractSelectOneRow.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/statechangednotifier/AbstractStateChangedNotifier.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/subform/AbstractSubForm.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/submitOnEvent/AbstractSubmitOnEvent.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggest/AbstractInputSuggest.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/AbstractSuggestAjax.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/inputsuggestajax/AbstractInputSuggestAjax.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/tablesuggestajax/AbstractHtmlOutputText.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/suggestajax/tablesuggestajax/AbstractTableSuggestAjax.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/table/AbstractFilterTable.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/table/AbstractSortableColumn.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/template/AbstractXmlTemplate.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/timednotifier/AbstractTimedNotifier.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/AbstractToggleGroup.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/AbstractToggleLink.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/AbstractTogglePanel.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/urlvalidator/UrlValidator.java
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/examples/src/main/webapp/dojo/dojoDialog.jsp
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/examples/src/main/webapp/scopeshop/page1.jsp
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/examples/src/main/webapp/scopeshop/page2.jsp
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/examples/src/main/webapp/scopeshop/page3.jsp
myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/examples/src/main/webapp/scopeshop/resetscope.jsp
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_11/api/src/main/java/javax/faces/component/UISelectBoolean.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_11/api/src/main/java/javax/faces/component/UISelectBoolean.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_11/api/src/main/java/javax/faces/component/UISelectBoolean.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/core_trunk_11/api/src/main/java/javax/faces/component/UISelectBoolean.java Thu May 22 15:12:00 2008
@@ -28,6 +28,8 @@
* type = "javax.faces.SelectBoolean"
* family = "javax.faces.SelectBoolean"
* desc = "UISelectBoolean"
+ *
+ * @JSFJspProperty name = "value" returnType = "java.lang.Boolean"
*
* @author Manfred Geiler (latest modification by $Author$)
* @version $Revision$ $Date$
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/pom.xml?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/pom.xml (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/pom.xml Thu May 22 15:12:00 2008
@@ -223,7 +223,7 @@
</goals>
</execution>
<execution>
- <id>make_tags_tomahawk</id>
+ <id>maketags</id>
<goals>
<goal>make-tags</goal>
</goals>
@@ -233,7 +233,6 @@
<configuration>
<xmlFile>classes/META-INF/myfaces_sandbox.tld</xmlFile>
<xmlBaseFile>src/main/conf/META-INF/myfaces_sandbox-base.tld</xmlBaseFile>
- <!-- use the same as tomahawk -->
<templateFile>tomahawk.vm</templateFile>
<params>
<shortname>s</shortname>
@@ -249,11 +248,10 @@
<goal>make-config</goal>
</goals>
</execution>
-
</executions>
</plugin>
- <!--
+ <!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xslt-maven-plugin</artifactId>
@@ -272,7 +270,8 @@
</execution>
</executions>
</plugin>
- -->
+ -->
+
</plugins>
</build>
@@ -328,6 +327,7 @@
<id>generate-site</id>
<build>
<plugins>
+ <!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xslt-maven-plugin</artifactId>
@@ -359,6 +359,7 @@
</execution>
</executions>
</plugin>
+ -->
</plugins>
</build>
@@ -385,6 +386,7 @@
</activation>
<build>
<plugins>
+ <!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>xslt-maven-plugin</artifactId>
@@ -416,6 +418,7 @@
</execution>
</executions>
</plugin>
+ -->
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.4</version>
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordion/AbstractHtmlAccordionPanel.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordion/AbstractHtmlAccordionPanel.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordion/AbstractHtmlAccordionPanel.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/accordion/AbstractHtmlAccordionPanel.java Thu May 22 15:12:00 2008
@@ -27,6 +27,11 @@
/**
+ * A group of panels, which can be opened and closed. See attribute layout for
+ * further description on how opening and closing works.
+ *
+ * Extends standard panelGroup by user role support.
+ *
* @JSFComponent
* name = "s:accordionPanel"
* class = "org.apache.myfaces.custom.accordion.HtmlAccordionPanel"
@@ -77,52 +82,76 @@
}
/**
+ * Defines the layout of this accordionPanel. If you set this to
+ * 'accordion', opening a panel will close all other panels.
+ * If you set this to 'toggling', opening a panel doesn't
+ * affect the state of the other panels. You can close
+ * a panel by clicking on the header of this panel a second time.
+ *
* @JSFProperty
* defaultValue="accordion"
*/
public abstract String getLayout();
/**
+ * Defines the background color for expanded state.
+ *
* @JSFProperty
*/
public abstract String getExpandedBackColor();
/**
+ * Defines the text color for expanded state.
+ *
* @JSFProperty
*/
public abstract String getExpandedTextColor();
/**
+ * Defines the font weight for expanded state.
+ *
* @JSFProperty
*/
public abstract String getExpandedFontWeight();
/**
+ * Defines the background color for collapsed state.
+ *
* @JSFProperty
*/
public abstract String getCollapsedBackColor();
/**
+ * Defines the text color for collapsed state.
+ *
* @JSFProperty
*/
public abstract String getCollapsedTextColor();
/**
+ * Defines the font weight for collapsed state.
+ *
* @JSFProperty
*/
public abstract String getCollapsedFontWeight();
/**
+ * Defines the background color on hover.
+ *
* @JSFProperty
*/
public abstract String getHoverBackColor();
/**
+ * Defines the text color on hover.
+ *
* @JSFProperty
*/
public abstract String getHoverTextColor();
/**
+ * Defines the color of the border.
+ *
* @JSFProperty
*/
public abstract String getBorderColor();
Added: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/AbstractAjaxChildComboBox.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/AbstractAjaxChildComboBox.java?rev=659279&view=auto
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/AbstractAjaxChildComboBox.java (added)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/AbstractAjaxChildComboBox.java Thu May 22 15:12:00 2008
@@ -0,0 +1,118 @@
+/*
+ * 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 org.apache.myfaces.custom.ajaxchildcombobox;
+
+import java.io.IOException;
+
+import javax.faces.context.FacesContext;
+import javax.faces.el.MethodBinding;
+import javax.faces.render.Renderer;
+
+import org.apache.myfaces.component.html.ext.HtmlSelectOneMenu;
+import org.apache.myfaces.custom.ajax.api.AjaxComponent;
+import org.apache.myfaces.custom.ajax.api.AjaxRenderer;
+
+/**
+ * Refreshes contents through an ajax call when the parent combo box's value is changed.
+ *
+ * This component is to be used in conjunction with a regular combo box or list box.
+ * When the selected value of the latter changes, it executes an ajax call to the
+ * specified method to refresh its contents based on the new selected value.
+ *
+ * @JSFComponent
+ * name = "s:ajaxChildComboBox"
+ * class = "org.apache.myfaces.custom.ajaxchildcombobox.AjaxChildComboBox"
+ * superClass = "org.apache.myfaces.custom.ajaxchildcombobox.AbstractAjaxChildComboBox"
+ * tagClass = "org.apache.myfaces.custom.ajaxchildcombobox.AjaxChildComboBoxTag"
+ *
+ * @author Sharath Reddy
+ */
+public abstract class AbstractAjaxChildComboBox extends HtmlSelectOneMenu implements AjaxComponent
+{
+ public static final String COMPONENT_TYPE = "org.apache.myfaces.AjaxChildComboBox";
+ public static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.AjaxChildComboBox";
+
+ public AbstractAjaxChildComboBox()
+ {
+ super();
+ setRendererType(AbstractAjaxChildComboBox.DEFAULT_RENDERER_TYPE);
+ }
+
+ public void encodeAjax(FacesContext context)
+ throws IOException
+ {
+
+ if (context == null) throw new NullPointerException("context");
+ if (!isRendered()) return;
+ Renderer renderer = getRenderer(context);
+ if (renderer != null && renderer instanceof AjaxRenderer)
+ {
+ ((AjaxRenderer) renderer).encodeAjax(context, this);
+ }
+ }
+
+ public void decodeAjax(FacesContext context)
+ {
+ //Do Nothing
+ }
+
+ /**
+ * Method to call via ajax to reload the combo box
+ *
+ * @JSFProperty
+ * methodSignature = "java.lang.String"
+ * returnSignature = "javax.faces.model.SelectItem []"
+ * stateHolder = "true"
+ */
+ public abstract MethodBinding getAjaxSelectItemsMethod();
+
+ //
+
+ /**
+ * id of the parent combo box
+ *
+ * This is not a 'Parent' in terms of the component heirarchy;
+ * This is the component whose 'onchange' event triggers a refresh.
+ *
+ * @JSFProperty
+ * literalOnly="true"
+ */
+ public abstract String getParentComboBox();
+
+
+ /**
+ * We cannot verify that the result of converting the newly submitted value
+ * is <i>equal</i> to the value property of one of the child SelectItem
+ * objects. This is because the contents of the child combo box could have
+ * been reloaded by a change in the parent combo box.
+ *
+ * @see javax.faces.component.UIInput#validateValue(javax.faces.context.FacesContext, java.lang.Object)
+ */
+ protected void validateValue(FacesContext context, Object value)
+ {
+ return;
+ // selected value must match to one of the available options
+ /* if (!_SelectItemsUtil.matchValue(context, value, new _SelectItemsIterator(this), converter))
+ {
+ _MessageUtils.addErrorMessage(context, this, INVALID_MESSAGE_ID,
+ new Object[] {getId()});
+ setValid(false);
+ }*/
+ }
+}
\ No newline at end of file
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/AbstractAjaxChildComboBox.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajaxchildcombobox/AbstractAjaxChildComboBox.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/autoupdatedatatable/AbstractAutoUpdateDataTable.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/autoupdatedatatable/AbstractAutoUpdateDataTable.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/autoupdatedatatable/AbstractAutoUpdateDataTable.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/autoupdatedatatable/AbstractAutoUpdateDataTable.java Thu May 22 15:12:00 2008
@@ -28,6 +28,12 @@
import org.apache.myfaces.custom.ajax.api.AjaxRenderer;
/**
+ * Extended data_table that adds some additional features to the standard
+ * data_table action: see attribute descriptions for preserveDataModel,
+ * sortColumn, sortAscending and preserveSort.
+ *
+ * NOTE: This component is deprecated. Use periodicalUpdate mechanism of partial page rendering instead
+ *
* @JSFComponent
* name = "s:autoUpdateDataTable"
* class = "org.apache.myfaces.custom.autoupdatedatatable.AutoUpdateDataTable"
@@ -65,12 +71,16 @@
}
/**
+ * Defines in seconds the interval of reloads. if no value is specified 2 seconds will be default.
+ *
* @JSFProperty
* @return the frequency String
*/
public abstract String getFrequency();
/**
+ * Define javascript function to call after successful refresh.
+ *
* @JSFProperty
* @return
*/
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/captcha/AbstractCAPTCHAComponent.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/captcha/AbstractCAPTCHAComponent.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/captcha/AbstractCAPTCHAComponent.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/captcha/AbstractCAPTCHAComponent.java Thu May 22 15:12:00 2008
@@ -21,6 +21,7 @@
import javax.faces.component.UIComponentBase;
/**
+ *
* @JSFComponent
* name = "s:captcha"
* class = "org.apache.myfaces.custom.captcha.CAPTCHAComponent"
@@ -42,17 +43,23 @@
public static final String ATTRIBUTE_IMAGE_HEIGHT = "imageHeight";
/**
+ * Determines the CAPTCHA session key name.
+ *
* @JSFProperty
* @return
*/
public abstract String getCaptchaSessionKeyName();
/**
+ * Integer to indicate the CAPTCHA width. default is 290.
+ *
* @JSFProperty
*/
public abstract String getImageWidth();
/**
+ * Integer to indicate the CAPTCHA height. default is 81.
+ *
* @JSFProperty
*/
public abstract String getImageHeight();
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/CompareToValidator.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/CompareToValidator.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/CompareToValidator.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/CompareToValidator.java Thu May 22 15:12:00 2008
@@ -39,8 +39,6 @@
import org.apache.myfaces.validator.ValidatorBase;
/**
- * @author Mike Kienenberger (latest modification by $Author$)
- * @version $Revision$ $Date$
*
* Validates this component against another component.
*
@@ -126,7 +124,11 @@
* @JSFValidator
* name = "s:validateCompareTo"
* tagClass = "org.apache.myfaces.custom.comparetovalidator.ValidateCompareToTag"
+ *
+ * @JSFJspProperty name = "message" returnType = "java.lang.String" longDesc = "alternate validation error message format string"
*
+ * @author Mike Kienenberger (latest modification by $Author$)
+ * @version $Revision$ $Date$
*/
public class CompareToValidator extends ValidatorBase {
/**
@@ -360,6 +362,9 @@
// -------------------------------------------------------- GETTER & SETTER
/**
+ * The JSF id of the component with which to compare values.
+ *
+ * @JSFProperty
* @return the foreign component_id, on which a value should be validated
*/
public String getFor() {
@@ -375,6 +380,12 @@
_foreignComponentName = string;
}
+ /**
+ * Operator for comparison: equals: eq, ==, =, not equals: ne, !=, greater than: gt, >, less than: lt, <, greater than or equals: ge, >=, less than or equals: le, <=
+ *
+ * @JSFProperty
+ * @return
+ */
public String getOperator()
{
if (_operator != null) return _operator;
@@ -387,6 +398,13 @@
this._operator = operator;
}
+ /**
+ * Value binding for an alternate java.util.Comparator object if component
+ * values don't implement Comparable
+ *
+ * @JSFProperty
+ * @return
+ */
public Object getComparator()
{
if (_comparator != null) return _comparator;
@@ -399,6 +417,12 @@
this._comparator = comparator;
}
+ /**
+ * custom operator name in error message (ie "after" instead of "greater than" for dates)
+ *
+ * @JSFProperty
+ * @return
+ */
public String getAlternateOperatorName()
{
if (_alternateOperatorName != null) return _alternateOperatorName;
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/AbstractConversationComponent.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/AbstractConversationComponent.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/AbstractConversationComponent.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/AbstractConversationComponent.java Thu May 22 15:12:00 2008
@@ -65,7 +65,7 @@
}
/**
- * the conversation name
+ * the name of the conversation. Notice: required if tag not as child of startConversation tag.
*
* @JSFProperty
*/
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIConversation.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIConversation.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIConversation.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIConversation.java Thu May 22 15:12:00 2008
@@ -28,6 +28,8 @@
import javax.faces.component.UIComponent;
/**
+ * puts a bean into the conversation context
+ *
* add a bean under context control
*
* @JSFComponent
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEndConversation.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEndConversation.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEndConversation.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEndConversation.java Thu May 22 15:12:00 2008
@@ -128,6 +128,10 @@
}
/**
+ * end the conversation only if the action outcome matches the given onOutcome.
+ *
+ * This can be a comma separated list.
+ *
* @JSFProperty
* @return
*/
@@ -151,6 +155,8 @@
}
/**
+ * on exception use the given outcome for further navigation
+ *
* @JSFProperty
* @return
*/
@@ -174,6 +180,8 @@
}
/**
+ * true|false|valueBinding - true if the conversation should be restarted immediately
+ *
* @JSFProperty
* @return
*/
@@ -197,6 +205,8 @@
}
/**
+ * the action which should be called in case of a restart
+ *
* @JSFProperty
* methodSignature = "java.lang.String"
* returnSignature = "void"
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEnsureConversation.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEnsureConversation.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEnsureConversation.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIEnsureConversation.java Thu May 22 15:12:00 2008
@@ -26,6 +26,9 @@
/**
* <p>
+ * Ensures a named conversation is running
+ * </p>
+ * <p>
* check if a conversation is active.
* </p>
* <p>
@@ -37,6 +40,8 @@
* name = "s:ensureConversation"
* tagClass = "org.apache.myfaces.custom.conversation.EnsureConversationTag"
*
+ * @JSFJspProperty name="action" longDesc = "the action which should be called in case of a not running conversation"
+ *
* @author imario@apache.org
*/
public class UIEnsureConversation extends AbstractConversationComponent
@@ -141,6 +146,8 @@
}
/**
+ * redirect to the given view if the conversation is not running
+ *
* @JSFProperty
* @return
*/
@@ -164,6 +171,9 @@
}
/**
+ * Delegate the check to the action method at all. The user has to check if
+ * a conversation is running. A action method is mandatory.
+ *
* @JSFProperty
* @return
*/
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UISeparateConversationContext.java Thu May 22 15:12:00 2008
@@ -26,6 +26,9 @@
import org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils;
/**
+ * Separates the current context from the children. e.g. commandLinks will start a
+ * new conversation context
+ *
* separate the current context from the to be rendered children.
* E.g. when you render commandLinks they will start a new conversationContext
*
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/conversation/UIStartConversation.java Thu May 22 15:12:00 2008
@@ -187,6 +187,8 @@
}
/**
+ * true|false - if this conversation requires a persistence manager. Default: false
+ *
* @JSFProperty
* @return
*/
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertDateTime/DateTimeConverter.java Thu May 22 15:12:00 2008
@@ -25,16 +25,18 @@
* Simple convert that overrides the spec DateTimeConverter and uses TimeZone.getDefault() as the
* base timezone, rather than GMT.
*
+ * Convert date time using normal system timezone like it should
+ *
* @JSFConverter
* name = "s:convertDateTime"
* tagClass = "org.apache.myfaces.custom.convertDateTime.ConvertDateTimeTag"
*
- * @JSFJspProperty name = "dateStyle" returnType = "java.lang.String"
- * @JSFJspProperty name = "locale" returnType = "java.util.Locale"
- * @JSFJspProperty name = "pattern" returnType = "java.lang.String"
- * @JSFJspProperty name = "timeStyle" returnType = "java.lang.String"
- * @JSFJspProperty name = "timeZone" returnType = "java.util.TimeZone"
- * @JSFJspProperty name = "type" returnType = "java.lang.String"
+ * @JSFJspProperty name = "dateStyle" returnType = "java.lang.String" longDesc = "default|short|medium|long|full"
+ * @JSFJspProperty name = "locale" returnType = "java.util.Locale" longDesc = "locale"
+ * @JSFJspProperty name = "pattern" returnType = "java.lang.String" longDesc = "Custom formatting pattern"
+ * @JSFJspProperty name = "timeStyle" returnType = "java.lang.String" longDesc = "default|short|medium|long|full"
+ * @JSFJspProperty name = "timeZone" returnType = "java.util.TimeZone" longDesc = "timeZone"
+ * @JSFJspProperty name = "type" returnType = "java.lang.String" longDesc = "date|time|both"
*
* User: treeder
* Date: Oct 28, 2005
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertNumber/TypedNumberConverter.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertNumber/TypedNumberConverter.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertNumber/TypedNumberConverter.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertNumber/TypedNumberConverter.java Thu May 22 15:12:00 2008
@@ -37,9 +37,15 @@
import org.apache.myfaces.shared_tomahawk.util.MessageUtils;
/**
- * converter which uses either the manually set <code>destType</code> or the value binding to determine the
+ * Converter which uses either the manually set <code>destType</code> or the value binding to determine the
* correct destination type to convert the number to
- *
+ *
+ * This tag creates a number formatting converter and associates it with the nearest
+ * parent UIComponent. It uses either the manually set destType or the value
+ * binding to determine the correct destination type to convert the number to.
+ *
+ * Unless otherwise specified, all attributes accept static values or EL expressions.
+ *
* @JSFConverter
* name = "s:convertNumber"
* tagClass = "org.apache.myfaces.custom.convertNumber.TypedNumberConverterTag"
@@ -107,6 +113,10 @@
}
/**
+ * The java class name the value should be converted to.
+ *
+ * Default: automatically determined through valueBinding
+ *
* @JSFProperty
*/
public Class getDestType()
@@ -331,6 +341,8 @@
// GETTER & SETTER
/**
+ * ISO 4217 currency code
+ *
* @JSFProperty
*/
public String getCurrencyCode()
@@ -346,6 +358,10 @@
}
/**
+ * The currency symbol used to format a currency value.
+ *
+ * Defaults to the currency symbol for locale.
+ *
* @JSFProperty
*/
public String getCurrencySymbol()
@@ -361,6 +377,10 @@
}
/**
+ * Specifies whether output will contain grouping separators.
+ *
+ * Default: true.
+ *
* @JSFProperty
*/
public boolean isGroupingUsed()
@@ -374,6 +394,10 @@
}
/**
+ * Specifies whether only the integer part of the input will be parsed.
+ *
+ * Default: false.
+ *
* @JSFProperty
*/
public boolean isIntegerOnly()
@@ -387,6 +411,9 @@
}
/**
+ * The name of the locale to be used, instead of the default as specified
+ * in the faces configuration file.
+ *
* @JSFProperty
*/
public Locale getLocale()
@@ -402,6 +429,8 @@
}
/**
+ * The maximum number of digits in the fractional portion of the number.
+ *
* @JSFProperty
*/
public int getMaxFractionDigits()
@@ -416,6 +445,8 @@
}
/**
+ * The maximum number of digits in the integer portion of the number.
+ *
* @JSFProperty
*/
public int getMaxIntegerDigits()
@@ -430,6 +461,8 @@
}
/**
+ * The minimum number of digits in the fractional portion of the number.
+ *
* @JSFProperty
*/
public int getMinFractionDigits()
@@ -444,6 +477,8 @@
}
/**
+ * The minimum number of digits in the integer portion of the number.
+ *
* @JSFProperty
*/
public int getMinIntegerDigits()
@@ -458,6 +493,8 @@
}
/**
+ * A custom Date formatting pattern, in the format used by java.text.SimpleDateFormat.
+ *
* @JSFProperty
*/
public String getPattern()
@@ -481,6 +518,10 @@
}
/**
+ * The type of formatting/parsing to be performed.
+ *
+ * Values include: number, currency, and percentage. Default: number.
+ *
* @JSFProperty
*/
public String getType()
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertStringUtils/StringUtilsConverter.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertStringUtils/StringUtilsConverter.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertStringUtils/StringUtilsConverter.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertStringUtils/StringUtilsConverter.java Thu May 22 15:12:00 2008
@@ -30,6 +30,8 @@
import org.apache.commons.lang.WordUtils;
/**
+ * Converts the format of a string
+ *
* Provides runtime modification of a string. Uses Apache Lang StringUtils and WordUtils
* to peform operations.
* <p>
@@ -139,6 +141,8 @@
}
/**
+ * Specifies the output case of the string. One of uppercase | lowercase | capitalize
+ *
* @JSFProperty
*/
public String getFormat() {
@@ -150,6 +154,10 @@
}
/**
+ * Integer value for the maximum length of the rendered string.
+ * Strings longer than maxValue will be truncated at (maxValue - 3)
+ * and an ellipsis '...' will be appended.
+ *
* @JSFProperty
*/
public Integer getMaxLength() {
@@ -161,6 +169,9 @@
}
/**
+ * Boolean value determining if data should be truncated with ellipses
+ * during output conversion. Default = false
+ *
* @JSFProperty
*/
public Boolean isAppendEllipsesDuringOutput() {
@@ -172,6 +183,9 @@
}
/**
+ * Boolean value determining if data should be truncated with ellipses
+ * during input conversion. Default = false
+ *
* @JSFProperty
*/
public Boolean isAppendEllipsesDuringInput() {
@@ -183,6 +197,9 @@
}
/**
+ * Boolean value determining is the string should be trimmed before any
+ * other formatting takes place. Default = false
+ *
* @JSFProperty
*/
public Boolean getTrim() {
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertboolean/BooleanConverter.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertboolean/BooleanConverter.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertboolean/BooleanConverter.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/convertboolean/BooleanConverter.java Thu May 22 15:12:00 2008
@@ -61,6 +61,8 @@
}
/**
+ * Value representing a boolean false, e.g. FALSE, no, 0, etc.
+ *
* @JSFProperty
*/
public String getFalseValue()
@@ -74,6 +76,8 @@
}
/**
+ * Value representing a boolean true, e.g. TRUE, yes, 1, etc.
+ *
* @JSFProperty
*/
public String getTrueValue()
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/csvvalidator/CSVValidator.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/csvvalidator/CSVValidator.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/csvvalidator/CSVValidator.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/csvvalidator/CSVValidator.java Thu May 22 15:12:00 2008
@@ -27,6 +27,8 @@
import org.apache.myfaces.validator.ValidatorBase;
/**
+ * Validation by validating comma separated values individually.
+ *
* @JSFValidator
* name = "s:validateCSV"
* tagClass = "org.apache.myfaces.custom.csvvalidator.ValidateCSVTag"
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dialog/AbstractModalDialog.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dialog/AbstractModalDialog.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dialog/AbstractModalDialog.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dialog/AbstractModalDialog.java Thu May 22 15:12:00 2008
@@ -24,6 +24,7 @@
import org.apache.myfaces.custom.dojo.DojoWidget;
/**
+ * Modal Dojo Dialog (is not working with overridden 'onload')
*
* @JSFComponent
* name = "s:modalDialog"
@@ -31,7 +32,6 @@
* superClass = "org.apache.myfaces.custom.dialog.AbstractModalDialog"
* tagClass = "org.apache.myfaces.custom.dialog.ModalDialogTag"
*
- *
*/
public abstract class AbstractModalDialog extends UIPanel implements DojoWidget {
@@ -40,16 +40,22 @@
public static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.ModalDialog";
/**
+ * A space separated list with attribute='value' pairs, which control the behaviour of the dojo dialog.
+ *
* @JSFProperty
*/
public abstract String getDialogAttr();
/**
+ * The id to control the dialog (dojo widget) with javascript.
+ *
* @JSFProperty
*/
public abstract String getDialogId();
/**
+ * The name of the variable to control the dialog (dojo widget) with javascript.
+ *
* @JSFProperty
*/
public abstract String getDialogVar();
@@ -57,11 +63,15 @@
public abstract void setDialogVar(String dialogVar);
/**
+ * A comma separated list with ids of input-elements, which can tell (by javascript-code) the dialog to hide.
+ *
* @JSFProperty
*/
public abstract String getHiderIds();
/**
+ * The URL of the view to show within the content area of the dialog
+ *
* @JSFProperty
*/
public abstract String getViewId();
@@ -72,30 +82,44 @@
}
/**
+ * HTML: CSS styling instructions.
+ *
* @JSFProperty
*/
public abstract String getStyle();
/**
+ * The CSS class for this element. Corresponds to the HTML 'class' attribute.
+ *
* @JSFProperty
*/
public abstract String getStyleClass();
/**
+ * Optional enforced dojo widgetId
+ *
* @JSFProperty
*/
public abstract String getWidgetId();
/**
+ * The title text to show in the title area
+ *
* @JSFProperty
*/
public abstract String getDialogTitle();
/**
+ * true|false - Set to true if a close button should be rendere within the
+ * title area (requires a dialogTitle)
+ *
* @JSFProperty
*/
public abstract Boolean getCloseButton();
+
/**
+ * optional widget var name, if this is not used only an autogenerated value is set
+ *
* @JSFProperty
*/
public String getWidgetVar() {
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoContentPane.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoContentPane.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoContentPane.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoContentPane.java Thu May 22 15:12:00 2008
@@ -24,6 +24,8 @@
import org.apache.myfaces.custom.dojo.DojoWidget;
/**
+ * Base content pane for the dojo layouts
+ *
* jsfed dojo content pane
*
* @see http://www.dojotoolkit.org for further references to this control and
@@ -47,6 +49,8 @@
public static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.DojoContentPaneRenderer";
/**
+ * Path adjustment as defined by dojo
+ *
* @JSFProperty
*/
public abstract Boolean getAdjustPaths();
@@ -57,11 +61,15 @@
public abstract Boolean getCacheContent();
/**
+ * If true scripts will be evaled after rendering
+ *
* @JSFProperty
*/
public abstract Boolean getExecuteScripts();
/**
+ * Defined by dojo, see the examples
+ *
* @JSFProperty
*/
public abstract Boolean getExtractContent();
@@ -71,61 +79,86 @@
}
/**
+ * Javascript function which should generate the content
+ *
* @JSFProperty
*/
public abstract String getHandler();
/**
+ * Remote href for iframe simulation
+ *
* @JSFProperty
*/
public abstract String getHref();
/**
+ * Layoutalignment usable in conjunction with a layout container
+ *
* @JSFProperty
*/
public abstract String getLayoutAlign();
/**
+ * Defined by dojo see the examples
+ *
* @JSFProperty
*/
public abstract Boolean getParseContent();
/**
+ * Content Preloading
+ *
* @JSFProperty
*/
public abstract Boolean getPreload();
/**
+ * Description for the attribute
+ *
* @JSFProperty
*/
public abstract Boolean getRefreshOnShow();
/**
+ * Size share value describing the place the content pane wants from its parent
+ *
* @JSFProperty
*/
public abstract Integer getSizeShare();
/**
+ * The CSS class for this element. Corresponds to the HTML 'class' attribute.
+ *
* @JSFProperty
*/
public abstract String getStyle();
/**
+ * The CSS class for this element. Corresponds to the HTML 'class' attribute.
+ *
* @JSFProperty
*/
public abstract String getStyleClass();
/**
+ * Optional enforced dojo widgetId
+ *
* @JSFProperty
*/
public abstract String getWidgetId();
/**
+ * optional widget var name, if this is not used only an autogenerated value
+ * is set
+ *
* @JSFProperty
*/
public abstract String getWidgetVar();
/**
+ * Scopecontainer for downloaded Scripts
+ *
* @JSFProperty
*/
public abstract String getScriptScope();
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoSplitPane.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoSplitPane.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoSplitPane.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractDojoSplitPane.java Thu May 22 15:12:00 2008
@@ -22,6 +22,7 @@
import org.apache.myfaces.custom.dojo.DojoWidget;
/**
+ * PanelGroup which supports a partialTriggers Attribute similar to the one in Trinidad
*
* @JSFComponent
* name = "s:layoutingSplitPane"
@@ -41,46 +42,64 @@
public static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.DojoSplitPaneRenderer";
/**
+ * Optional enforced dojo widgetId
+ *
* @JSFProperty
*/
public abstract String getWidgetId();
/**
+ * optional widget var name, if this is not used only an autogenerated value is set
+ *
* @JSFProperty
*/
public abstract java.lang.String getWidgetVar();
/**
+ * horizontal or vertical
+ *
* @JSFProperty
*/
public abstract String getOrientation();
/**
+ * width of the sizer bar
+ *
* @JSFProperty
*/
public abstract Integer getSizerWidth();
/**
+ * Size share value describing the place the content pane wants from its parent
+ *
* @JSFProperty
*/
public abstract Integer getActiveSizing();
/**
+ * If true, cookie persisting of the split pane is enabled
+ *
* @JSFProperty
*/
public abstract Boolean getPersist();
/**
+ * Last point of the split pane
+ *
* @JSFProperty
*/
public abstract Integer getLastPoint();
/**
+ * Starting Point of the split pane as defined by dojo
+ *
* @JSFProperty
*/
public abstract Integer getStartPoint();
/**
+ * The CSS class for this element. Corresponds to the HTML 'class' attribute.
+ *
* @JSFProperty
*/
public String getStyle(){
@@ -88,6 +107,8 @@
}
/**
+ * The CSS class for this element. Corresponds to the HTML 'class' attribute.
+ *
* @JSFProperty
*/
public String getStyleClass(){
@@ -95,6 +116,8 @@
}
/**
+ * Size share value describing the place the content pane wants from its parent
+ *
* @JSFProperty
*/
public Integer getSizeShare(){
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractFloatingPaneBase.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractFloatingPaneBase.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractFloatingPaneBase.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractFloatingPaneBase.java Thu May 22 15:12:00 2008
@@ -22,6 +22,7 @@
import org.apache.myfaces.custom.dojo.DojoWidget;
/**
+ * PanelGroup which supports a partialTriggers Attribute similar to the one in Trinidad
*
* @JSFComponent
* name = "s:floatingPane"
@@ -40,93 +41,93 @@
public static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.FloatingPaneBaseRenderer";
- private Boolean _constrainToContainer = null;
-
- private Boolean _displayCloseAction = null;
-
- private Boolean _displayMinimizeAction = null;
-
- private Boolean _hasShadow = null;
-
- private String _iconSrc = null;
-
- private Boolean _modal = null;
-
- private Boolean _resizable = null;
-
- private String _taskBarId = null;
-
- private String _title = null;
-
- private Boolean _titleBarDisplay = null;
-
- private String _widgetId = null;
-
- private String _widgetVar = null;
-
- private String _windowState = null;
-
/**
+ * limit to parent container
+ *
* @JSFProperty
*/
public abstract Boolean getConstrainToContainer();
/**
+ * if true a close button is displayed
+ *
* @JSFProperty
*/
public abstract Boolean getDisplayCloseAction();
/**
+ * if true a minimize button is displayed
+ *
* @JSFProperty
*/
public abstract Boolean getDisplayMinimizeAction();
/**
+ * Shadow drawn or not
+ *
* @JSFProperty
*/
public abstract Boolean getHasShadow();
/**
+ * The pane icon source
+ *
* @JSFProperty
*/
public abstract String getIconSrc();
/**
+ * Description for the attribute
+ *
* @JSFProperty
*/
public abstract Boolean getModal();
/**
+ * Window resizable
+ *
* @JSFProperty
*/
public abstract Boolean getResizable();
/**
+ * The taskbar id
+ *
* @JSFProperty
*/
public abstract String getTaskBarId();
/**
+ * the floating pane Title
+ *
* @JSFProperty
*/
public abstract String getTitle();
/**
+ * Displays the title bar of the Window
+ *
* @JSFProperty
*/
public abstract Boolean getTitleBarDisplay();
/**
+ * Optional enforced dojo widgetId
+ *
* @JSFProperty
*/
public abstract String getWidgetId();
/**
+ * optional widget var name, if this is not used only an autogenerated value is set
+ *
* @JSFProperty
*/
public abstract String getWidgetVar();
/**
+ * Display state of the window
+ *
* @JSFProperty
*/
public abstract String getWindowState();
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractTitlePane.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractTitlePane.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractTitlePane.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/AbstractTitlePane.java Thu May 22 15:12:00 2008
@@ -19,9 +19,6 @@
package org.apache.myfaces.custom.dojolayouts;
-import javax.faces.context.FacesContext;
-import javax.faces.el.ValueBinding;
-
import org.apache.myfaces.custom.dojo.DojoWidget;
/*
@@ -36,8 +33,10 @@
*/
/**
+ * Title Pane layouting element.
+ *
* TitlePane Component class
- *
+ *
* @JSFComponent
* name = "s:layoutingTitlePane"
* class = "org.apache.myfaces.custom.dojolayouts.TitlePane"
@@ -47,8 +46,6 @@
*
*/
public abstract class AbstractTitlePane extends DojoContentPane implements DojoWidget {
- // ------------------ GENERATED CODE BEGIN (do not modify!)
- // --------------------
public static final String COMPONENT_FAMILY = "javax.faces.Output";
@@ -57,26 +54,36 @@
public static final String DEFAULT_RENDERER_TYPE = "org.apache.myfaces.TitlePaneRenderer";
/**
+ * Optional enforced dojo widgetId
+ *
* @JSFProperty
*/
public abstract String getWidgetId();
/**
+ * optional widget var name, if this is not used only an autogenerated value is set
+ *
* @JSFProperty
*/
public abstract String getWidgetVar();
/**
+ * the css node class for the container part of the element
+ *
* @JSFProperty
*/
public abstract String getContainerNodeClass();
/**
+ * Label for the titled paned element
+ *
* @JSFProperty
*/
public abstract String getLabel();
/**
+ * the css node class for the label part of the pane
+ *
* @JSFProperty
*/
public abstract String getLabelNodeClass();
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/FloatingPaneBaseRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/FloatingPaneBaseRenderer.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/FloatingPaneBaseRenderer.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/dojolayouts/FloatingPaneBaseRenderer.java Thu May 22 15:12:00 2008
@@ -33,6 +33,7 @@
import org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRendererUtils;
/**
+ * PanelGroup which supports a partialTriggers Attribute similar to the one in Trinidad
*
* @JSFRenderer
* renderKitId = "HTML_BASIC"
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/effect/AbstractEffect.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/effect/AbstractEffect.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/effect/AbstractEffect.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/effect/AbstractEffect.java Thu May 22 15:12:00 2008
@@ -21,6 +21,8 @@
import org.apache.myfaces.custom.div.Div;
/**
+ * provides javascript effects which are from the script.aculo.us library
+ * and from the fat fade anything technique library
*
* @JSFComponent
* name = "s:effect"
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/AbstractExporter.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/AbstractExporter.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/AbstractExporter.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/AbstractExporter.java Thu May 22 15:12:00 2008
@@ -21,6 +21,7 @@
import javax.faces.component.UIComponentBase;
/**
+ * Export datatable contents to an excel file or a pdf file.
*
* @JSFComponent
* name = "s:exporter"
@@ -40,16 +41,22 @@
}
/**
+ * Id of the datatable component whose values to be exported
+ *
* @JSFProperty
*/
public abstract String getFor();
/**
+ * Default name of the generated excel or pdf file, if not specified value of the "for" attribute will be used
+ *
* @JSFProperty
*/
public abstract String getFilename();
/**
+ * "PDF" or "XLS"
+ *
* @JSFProperty
*/
public abstract String getFileType();
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/ExporterActionListenerTag.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/ExporterActionListenerTag.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/ExporterActionListenerTag.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/exporter/ExporterActionListenerTag.java Thu May 22 15:12:00 2008
@@ -26,6 +26,7 @@
import javax.servlet.jsp.tagext.TagSupport;
/**
+ * Export datatable contents to an excel file or a pdf file.
*
* @JSFJspTag
* name="s:exporterActionListener"
@@ -97,6 +98,8 @@
}
/**
+ * Default name of the generated excel or pdf file, if not specified value of the "for" attribute will be used
+ *
* @JSFJspAttribute
*/
public void setFilename(String _filename) {
@@ -108,6 +111,8 @@
}
/**
+ * "PDF" or "XLS"
+ *
* @JSFJspAttribute
*/
public void setFileType(String type) {
@@ -119,6 +124,8 @@
}
/**
+ * Id of the datatable component whose values to be exported
+ *
* @JSFJspAttribute
*/
public void setFor(String _for) {
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fieldset/AbstractFieldset.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fieldset/AbstractFieldset.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fieldset/AbstractFieldset.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fieldset/AbstractFieldset.java Thu May 22 15:12:00 2008
@@ -21,12 +21,17 @@
import org.apache.myfaces.custom.htmlTag.HtmlTag;
/**
+ * Renders an HTML Fieldset
+ *
* @JSFComponent
* name = "s:fieldset"
* class = "org.apache.myfaces.custom.fieldset.Fieldset"
* superClass = "org.apache.myfaces.custom.fieldset.AbstractFieldset"
* tagClass = "org.apache.myfaces.custom.fieldset.FieldsetTag"
*
+ * @JSFJspProperty name="value" tagExcluded = "true"
+ * @JSFJspProperty name="converter" tagExcluded = "true"
+ *
* @author svieujot (latest modification by $Author$)
* @version $Revision$ $Date$
*/
@@ -44,6 +49,8 @@
}
/**
+ * The fieldset's legend.
+ *
* @JSFProperty
*/
public abstract String getLegend();
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractFishEyeCommandLink.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractFishEyeCommandLink.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractFishEyeCommandLink.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractFishEyeCommandLink.java Thu May 22 15:12:00 2008
@@ -22,6 +22,8 @@
import javax.faces.component.UICommand;
/**
+ * CommandLink component that can be used in nodeStamp facet
+ *
* @JSFComponent
* name = "s:fishEyeCommandLink"
* class = "org.apache.myfaces.custom.fisheye.FishEyeCommandLink"
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractHtmlFishEyeNavigationMenu.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractHtmlFishEyeNavigationMenu.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractHtmlFishEyeNavigationMenu.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/fisheye/AbstractHtmlFishEyeNavigationMenu.java Thu May 22 15:12:00 2008
@@ -26,6 +26,8 @@
import javax.faces.el.ValueBinding;
/**
+ * Provide a FishEye toolbar component from the DOJO toolkit
+ *
* A Mac OSX-style toolbar, using the DOJO toolkit.
*
* @see <a href="http://dojotoolkit.org/">http://dojotoolkit.org/</a>
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/focus/AbstractHtmlFocus.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/focus/AbstractHtmlFocus.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/focus/AbstractHtmlFocus.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/focus/AbstractHtmlFocus.java Thu May 22 15:12:00 2008
@@ -45,6 +45,8 @@
private static Log log = LogFactory.getLog(AbstractHtmlFocus.class);
/**
+ * The JSF id of the component to receive focus.
+ *
* @JSFProperty
*/
public abstract String getFor();
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/form/AbstractHtmlForm.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/form/AbstractHtmlForm.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/form/AbstractHtmlForm.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/form/AbstractHtmlForm.java Thu May 22 15:12:00 2008
@@ -24,6 +24,9 @@
import org.apache.myfaces.component.html.util.HtmlComponentUtils;
/**
+ * Renders a HTML form element which allow defining a different scheme,
+ * servername or port for the action url to which the form is submited
+ *
* @JSFComponent
* name = "s:form"
* class = "org.apache.myfaces.custom.form.HtmlForm"
@@ -56,26 +59,38 @@
}
/**
+ * This attribute can be used to set the port for the action attribute
+ *
* @JSFProperty
*/
public abstract Integer getPort();
/**
+ * This attribute can be used to set the url scheme for the action attribute
+ *
* @JSFProperty
*/
public abstract String getScheme();
/**
+ * This attribute can be used to set the url server name or ip address for the action attribute
+ *
* @JSFProperty
*/
public abstract String getServerName();
/**
+ * This attribute can be used to set an entirely different action
+ * (might be something JSF-unspecific) to the form.
+ *
* @JSFProperty
*/
public abstract String getAction();
/**
+ * This attribute can be used to set a method to the form which is
+ * different to the regular POST method used.
+ *
* @JSFProperty
*/
public abstract String getMethod();
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/graphicimagedynamic/GraphicImageDynamic.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/graphicimagedynamic/GraphicImageDynamic.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/graphicimagedynamic/GraphicImageDynamic.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/graphicimagedynamic/GraphicImageDynamic.java Thu May 22 15:12:00 2008
@@ -28,6 +28,8 @@
import javax.faces.el.ValueBinding;
/**
+ * Extends standard graphicImage.
+ *
* @JSFComponent
* name = "s:graphicImageDynamic"
* tagClass = "org.apache.myfaces.custom.graphicimagedynamic.GraphicImageDynamicTag"
@@ -77,6 +79,16 @@
}
/**
+ * The class which implements
+ * org.apache.myfaces.custom.graphicimagedynamic.ImageRenderer.
+ * The image renderer is responsible for loading the image.
+ * The class must have a default constructor.
+ * Any request scoped attribute or managed bean is not available
+ * when this image renderer is instantiated and used.
+ * The image renderer must render the binary data for the image by
+ * using the parameters passed by nested f:param elements and/or
+ * using session or application scoped beans.
+ *
* @JSFProperty
*/
public void setImageRendererClass(Class imageRendererClass)
@@ -132,4 +144,15 @@
}
return null;
}
+
+ /**
+ * A value binding which will be called to get the instance of an
+ * org.apache.myfaces.custom.graphicimagedynamic.ImageRenderer.
+ *
+ * @JSFProperty
+ */
+ public Object getValue()
+ {
+ return super.getValue();
+ }
}
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ifmessage/AbstractIfMessage.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ifmessage/AbstractIfMessage.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ifmessage/AbstractIfMessage.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ifmessage/AbstractIfMessage.java Thu May 22 15:12:00 2008
@@ -26,6 +26,8 @@
import javax.faces.context.FacesContext;
/**
+ * Provide a component that will optionally render its children if the specified component(s) specified has a message.
+ *
* Renders children if any of the component(s) specified in "for" has a message in the context.
*
* @JSFComponent
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractHtmlImageLoop.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractHtmlImageLoop.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractHtmlImageLoop.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractHtmlImageLoop.java Thu May 22 15:12:00 2008
@@ -26,14 +26,26 @@
/**
* HTML image loop component.
*
+ * Image loop/slide show component.
+ *
+ * Provides Javascript methods to control image loop behaviour.
+ * Methods: getImageLoop(id) - get image loop object with id,
+ * play() - play loop,
+ * stop() - stop loop,
+ * accelerate() - accelerate loop until minDelay reached,
+ * decelerate() - decelerate loop until maxDelay reached,
+ * setImageIndex(index) - show image with index,
+ * reset() - reset settings to origin values,
+ * getImageCount() - get number of images loaded
+ *
* @JSFComponent
* name = "s:imageLoop"
* class = "org.apache.myfaces.custom.imageloop.HtmlImageLoop"
* superClass = "org.apache.myfaces.custom.imageloop.AbstractHtmlImageLoop"
* tagClass = "org.apache.myfaces.custom.imageloop.HtmlImageLoopTag"
*
- * @author Felix Röthenbacher (latest modification by $Author:$)
- * @version $Revision:$ $Date:$
+ * @author Felix Röthenbacher (latest modification by $Author$)
+ * @version $Revision$ $Date$
*/
public abstract class AbstractHtmlImageLoop extends UIComponentBase {
@@ -63,31 +75,43 @@
}
/**
+ * The delay between transitions
+ *
* @JSFProperty
*/
public abstract Integer getDelay();
/**
+ * The minimum delay allowed when decreasing delay time
+ *
* @JSFProperty
*/
public abstract Integer getMinDelay();
/**
+ * The maximum delay allowed when increasing delay time
+ *
* @JSFProperty
*/
public abstract Integer getMaxDelay();
/**
+ * Transition time in milliseconds. Set to -1 for immediate image switch.
+ *
* @JSFProperty
*/
public abstract Integer getTransitionTime();
/**
+ * Width
+ *
* @JSFProperty
*/
public abstract Integer getWidth();
/**
+ * Height
+ *
* @JSFProperty
*/
public abstract Integer getHeight();
Modified: myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractImageLoopItems.java
URL: http://svn.apache.org/viewvc/myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractImageLoopItems.java?rev=659279&r1=659278&r2=659279&view=diff
==============================================================================
--- myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractImageLoopItems.java (original)
+++ myfaces/myfaces-build-tools/branches/builder_plugin/bigtest/tomahawk_trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/imageloop/AbstractImageLoopItems.java Thu May 22 15:12:00 2008
@@ -29,8 +29,8 @@
* superClass = "org.apache.myfaces.custom.imageloop.AbstractImageLoopItems"
* tagClass = "org.apache.myfaces.custom.imageloop.ImageLoopItemsTag"
*
- * @author Felix Röthenbacher (latest modification by $Author:$)
- * @version $Revision:$ $Date:$
+ * @author Felix Röthenbacher (latest modification by $Author$)
+ * @version $Revision$ $Date$
*/
public abstract class AbstractImageLoopItems extends UIComponentBase {
@@ -41,6 +41,15 @@
private static final String VB_VALUE = "value";
/**
+ * An EL expression that specifies the elements of the image loop.
+ * The expression can refer to one of the following:
+ * <ol>
+ * <li>A single GraphicItem</li>
+ * <li>An array or Collection of GraphicItem instances</li>
+ * </ol>
+ * The value properties of each of the ImageLoopItems must be of the same
+ * basic type as the parent component's value.
+ *
* @JSFProperty
*/
public abstract Object getValue();