You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/12/04 23:12:34 UTC
svn commit: r601107 [1/5] - in /myfaces/tobago/trunk:
core/src/main/java/org/apache/myfaces/tobago/
core/src/main/java/org/apache/myfaces/tobago/ajax/api/
core/src/main/java/org/apache/myfaces/tobago/application/
core/src/main/java/org/apache/myfaces/t...
Author: bommel
Date: Tue Dec 4 14:12:14 2007
New Revision: 601107
URL: http://svn.apache.org/viewvc?rev=601107&view=rev
Log:
checkstyle
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxComponent.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxPhaseListener.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxRenderer.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/application/ViewHandlerImpl.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/FixedLayoutToken.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/HideLayoutToken.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/LayoutTokens.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/OnComponentCreated.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Pager.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PercentLayoutToken.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PixelLayoutToken.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Sorter.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/SupportsMarkup.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIBox.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIButtonCommand.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICell.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumn.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumnEvent.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICommand.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIData.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDateInput.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIGridLayout.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIHiddenInput.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILabel.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILayout.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILinkCommand.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIOutput.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPage.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanel.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPanelBase.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIPopup.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIProgress.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIReload.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBoolean.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectBooleanCommand.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UISelectOneCommand.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITabGroup.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITimeInput.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIToolBar.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UITreeListbox.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/MappingRule.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/config/TobagoConfigParser.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/FacesContextFactoryWrapper.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/MarkupConfig.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RendererConfig.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/RenderersConfigImpl.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceLocator.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ResourceManagerUtil.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeImpl.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/ThemeParser.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/context/TransientStateHolder.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/DurationConverter.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/convert/LocaleConverter.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/ConstantMethodBinding.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/el/UserVariableResolverImpl.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/DatePickerController.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageAction.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionEvent.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PageActionUtil.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/PopupActionListener.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeListener.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SheetStateChangeSource.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionEvent.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/SortActionSource.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeListenerValueBindingDelegate.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/event/TabChangeSource.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/ApplyRequestValuesExecutor.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/InvokeApplicationExecutor.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseExecutor.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/PhaseListenerManager.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RenderResponseExecutor.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/RestoreViewExecutor.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycle.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/lifecycle/TobagoLifecycleFactory.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/DateModel.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/PageState.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SelectItem.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SheetState.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/SortableByApplication.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreeState.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/HtmlUtils.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LabelWithAccessKey.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutManager.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutRenderer.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/LayoutableRendererBase.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RenderUtil.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/RendererBase.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SelectManyRendererBase.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetRendererWorkaround.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/SheetUtils.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoRenderKit.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/TobagoResponseStateManager.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/CommandRendererHelper.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlAttributes.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlRendererUtil.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/StyleClasses.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/servlet/ResourceServlet.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/AttributeTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/BoxTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ButtonTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ButtonTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CalendarTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnSelectorTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ColumnTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CommandTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CommandTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CommandTagExtraInfo.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ConverterTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/DatePickerTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/DatePickerTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/FileItemValidatorTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/FileTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ForEachTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/FormTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/FormTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/HiddenTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ImageTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/LabelTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/LinkTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/LoadBundleTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuBarTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuCommandTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectBooleanTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSelectOneTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuSeparatorTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MenuTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MessageTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/MessagesTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ObjectTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/OutTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PageTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PanelTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/PopupReferenceTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ProgressTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ReloadTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ReloadTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCheckboxTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCheckboxTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectItemTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyCheckboxTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyCheckboxTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectManyListboxTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectOneRadioTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectReferenceTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SeparatorTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SeparatorTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SheetTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/SubmittedValueLengthValidatorTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TabChangeListenerTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TabGroupTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TabGroupTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TabTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TextAreaTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TextAreaTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TextInputTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TimeTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TobagoBodyTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TobagoBodyTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TobagoTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarCommandTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectOneTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TreeListboxTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TreeOldTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/TreeOldTagDeclaration.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/package-info.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/Component.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasAction.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasActionListener.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBooleanValue.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasBorder.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCellspacing.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasColumnLayout.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasCommandType.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasConverter.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedDimension.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedHeight.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDeprecatedWidth.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasDimension.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasFor.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasHeight.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasId.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasIdReference.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasImage.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabel.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWidth.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLabelWithAccessKey.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasLink.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargin.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasMargins.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasNameReference.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasOnclick.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRenderRange.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasRowLayout.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasState.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStateBinding.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasStringValue.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasSuggestMethod.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTabChangeListenerType.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTarget.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasTip.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValidator.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValue.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasValueChangeListener.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/HasWidth.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDefaultCommand.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsDisabled.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsFocus.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsImmediateCommand.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsInline.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsReadonly.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsRendered.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/decl/IsTransition.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/DateExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/FileExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/InExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/LabelExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuCheckboxExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/MenuRadioExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectBooleanCheckboxExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectManyListboxExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneListboxExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneRadioExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TextAreaExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/TimeExtensionTag.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/package-info.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BeanComparator.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/BundleMapWrapper.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ComparatorBase.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ContentType.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugActionListener.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugNavigationHandler.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/DebugPhaseListener.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/HtmlWriterUtil.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutInfo.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/LayoutUtil.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/MessageFactory.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/RequestUtils.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ResponseUtils.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/ValueBindingComparator.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/VariableResolverUtil.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/XmlUtils.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/ClearValidatorsActionListener.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/FileItemValidator.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/validator/SubmittedValueLengthValidator.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoMultipartFormdataFilter.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoMultipartFormdataRequest.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponse.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriter.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/TobagoResponseWriterImpl.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/webapp/WeblogicWorkaroundServlet.java
myfaces/tobago/trunk/example/addressbook/src/main/java/org/apache/myfaces/tobago/example/addressbook/Picture.java
myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/model/Salutation.java
myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/demo/model/SalutationConverter.java
myfaces/tobago/trunk/example/demo/src/main/java/org/apache/myfaces/tobago/example/reference/Progress.java
myfaces/tobago/trunk/extension/facelets/src/main/java/org/apache/myfaces/tobago/facelets/ConverterHandler.java
myfaces/tobago/trunk/extension/security/src/main/java/org/apache/myfaces/tobago/security/ApplicationFactoryImpl.java
myfaces/tobago/trunk/extension/security/src/main/java/org/apache/myfaces/tobago/security/CheckAuthorisationMethodBinding.java
myfaces/tobago/trunk/sandbox/src/main/java/org/apache/myfaces/tobago/application/FoViewHandlerImpl.java
myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/CommandRenderer.java
myfaces/tobago/trunk/theme/scarborough/src/main/java/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/tag/DatePickerRenderer.java
myfaces/tobago/trunk/tobago-tool/maven-theme-plugin/src/main/java/org/apache/myfaces/tobago/maven/plugin/AbstractThemeMojo.java
myfaces/tobago/trunk/tobago-tool/maven-theme-plugin/src/main/java/org/apache/myfaces/tobago/maven/plugin/PackThemeMojo.java
myfaces/tobago/trunk/tobago-tool/maven-theme-plugin/src/main/java/org/apache/myfaces/tobago/maven/plugin/UnPackThemeMojo.java
myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Converter.java
myfaces/tobago/trunk/tobago-tool/tobago-tool-annotation/src/main/java/org/apache/myfaces/tobago/apt/annotation/Validator.java
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/AbstractAnnotationVisitor.java
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/FaceletAnnotationProcessor.java
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/FaceletAnnotationVisitor.java
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/FacesConfigAnnotationProcessor.java
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/FacesConfigAnnotationProcessorFactory.java
myfaces/tobago/trunk/tobago-tool/tobago-tool-apt/src/main/java/org/apache/myfaces/tobago/apt/FacesConfigAnnotationVisitor.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/TobagoConstants.java Tue Dec 4 14:12:14 2007
@@ -21,7 +21,7 @@
public static final String SUBCOMPONENT_SEP = "::";
-// public static final String ATTR_ACCESS_KEY = "accessKey";
+ // public static final String ATTR_ACCESS_KEY = "accessKey";
public static final String ATTR_ACTION = "action";
public static final String ATTR_ACTION_ONCLICK = "onclick";
public static final String ATTR_ACTION_LINK = "link";
@@ -80,7 +80,7 @@
public static final String ATTR_LABEL = "label";
public static final String ATTR_LABEL_POSITION = "labelPosition";
-// public static final String ATTR_LABEL_WITH_ACCESS_KEY = "labelWithAccessKey";
+ // public static final String ATTR_LABEL_WITH_ACCESS_KEY = "labelWithAccessKey";
public static final String ATTR_LAYOUT_HEIGHT = "layoutHeight";
public static final String ATTR_MARGIN = "margin";
public static final String ATTR_MARGIN_BOTTOM = "marginBottom";
@@ -135,7 +135,7 @@
public static final String ATTR_SCROLLBARS = "scrollbars";
public static final String ATTR_SELECTED_INDEX = "selectedIndex";
public static final String ATTR_SELECTED_LIST_STRING = "selectedListString";
-// public static final String ATTR_SERVER_SIDE_TABS = "serverSideTab";
+ // public static final String ATTR_SERVER_SIDE_TABS = "serverSideTab";
public static final String ATTR_SORTABLE = "sortable";
public static final String ATTR_CREATE_SPAN = "createSpan";
public static final String ATTR_SELECTABLE = "selectable";
@@ -159,7 +159,7 @@
public static final String ATTR_STYLE_CLASS = "styleClass";
public static final String ATTR_STYLE_HEADER = "style_header";
public static final String ATTR_STYLE_INNER = "style_inner";
- public static final String ATTR_STYLE_FILES = "styleFiles";
+ public static final String ATTR_STYLE_FILES = "styleFiles";
public static final String ATTR_SUPPPRESS_TOOLBAR_CONTAINER = "suppressToolbarContainer";
public static final String ATTR_SWITCH_TYPE = "switchType";
public static final String ATTR_TARGET = "target";
@@ -200,7 +200,7 @@
public static final String FACET_PICKER_POPUP = "pickerPopup";
public static final String FACET_POPUP = "popup";
public static final String FACET_RELOAD = "reload";
- public static final String FACET_TOOL_BAR= "toolBar";
+ public static final String FACET_TOOL_BAR = "toolBar";
public static final String FACET_TOOL_BAR_COMMAND = "toolBarCommand";
// Command types
@@ -233,7 +233,7 @@
public static final String RENDERER_TYPE_SELECT_MANY_LISTBOX = "SelectManyListbox";
public static final String RENDERER_TYPE_SELECT_ONE_CHOICE = "SelectOneChoice";
public static final String RENDERER_TYPE_SELECT_ONE_RADIO = "SelectOneRadio";
- public static final String RENDERER_TYPE_SELECT_ONE_LISTBOX = "SelectOneListbox";
+ public static final String RENDERER_TYPE_SELECT_ONE_LISTBOX = "SelectOneListbox";
public static final String RENDERER_TYPE_TEXT_AREA = "TextArea";
public static final String RENDERER_TYPE_TIME = "Time";
public static final String RENDERER_TYPE_TOOL_BAR = "ToolBar";
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxComponent.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxComponent.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxComponent.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxComponent.java Tue Dec 4 14:12:14 2007
@@ -21,8 +21,7 @@
import java.io.IOException;
/**
- * !! copy of sandbox org.apache.myfaces.custom.ajax.api.AjaxComponent !!
- *
+ * !! copy of sandbox org.apache.myfaces.custom.ajax.api.AjaxComponent !!
*/
public interface AjaxComponent {
void encodeAjax(FacesContext context) throws IOException;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxPhaseListener.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxPhaseListener.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxPhaseListener.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxPhaseListener.java Tue Dec 4 14:12:14 2007
@@ -46,9 +46,7 @@
import java.util.Map;
/**
- *
- * !! adapted copy of sandbox org.apache.myfaces.custom.ajax.api.AjaxPhaseListener !!
- *
+ * !! adapted copy of sandbox org.apache.myfaces.custom.ajax.api.AjaxPhaseListener !!
*/
public class AjaxPhaseListener implements PhaseListener {
private static final Log LOG = LogFactory.getLog(AjaxPhaseListener.class);
@@ -103,7 +101,7 @@
RequestUtils.ensureEncoding(externalContext);
ResponseUtils.ensureNoCacheHeader(externalContext);
final UIViewRoot viewRoot = facesContext.getViewRoot();
- FastStringWriter content = new FastStringWriter(1024*10);
+ FastStringWriter content = new FastStringWriter(1024 * 10);
RenderKitFactory renderFactory = (RenderKitFactory)
FactoryFinder.getFactory(FactoryFinder.RENDER_KIT_FACTORY);
RenderKit renderKit = renderFactory.getRenderKit(
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxRenderer.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxRenderer.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxRenderer.java Tue Dec 4 14:12:14 2007
@@ -22,9 +22,8 @@
import java.io.IOException;
/**
- * !! copy of sandbox org.apache.myfaces.custom.ajax.api.AjaxRenderer !!
- *
+ * !! copy of sandbox org.apache.myfaces.custom.ajax.api.AjaxRenderer !!
*/
public interface AjaxRenderer {
- void encodeAjax(FacesContext context, UIComponent component) throws IOException;
+ void encodeAjax(FacesContext context, UIComponent component) throws IOException;
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxResponseRenderer.java Tue Dec 4 14:12:14 2007
@@ -71,7 +71,7 @@
Context ctx = (Context) ic.lookup("java:comp/env");
contentType = (String) ctx.lookup("tobago.ajax.contentType");
} catch (NamingException e) { /*ignore*/ }
-
+
if (StringUtils.isBlank(contentType)) {
contentType = "text/html";
}
@@ -147,7 +147,7 @@
}
private void writeResponse(FacesContext facesContext, RenderKit renderKit,
- List<FastStringWriter> parts, String state)
+ List<FastStringWriter> parts, String state)
throws IOException {
writeResponse(facesContext, renderKit, CODE_SUCCESS, parts, state);
}
@@ -202,7 +202,7 @@
}
private void writeResponse(FacesContext facesContext, RenderKit renderKit,
- String responseCode, List<FastStringWriter> responseParts, String jsfState)
+ String responseCode, List<FastStringWriter> responseParts, String jsfState)
throws IOException {
ExternalContext externalContext = facesContext.getExternalContext();
RequestUtils.ensureEncoding(externalContext);
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/ajax/api/AjaxUtils.java Tue Dec 4 14:12:14 2007
@@ -32,12 +32,6 @@
import java.util.StringTokenizer;
import java.util.HashMap;
-/*
- * Created by IntelliJ IDEA.
- * User: weber
- * Date: 12.10.2005
- * Time: 13:11:05
- */
public class AjaxUtils {
private static final Log LOG = LogFactory.getLog(AjaxUtils.class);
@@ -61,8 +55,6 @@
}
-
-
public static void encodeAjaxComponent(FacesContext facesContext, UIComponent component) throws IOException {
if (facesContext == null) {
throw new NullPointerException("facesContext");
@@ -87,7 +79,7 @@
}
public static void processActiveAjaxComponent(FacesContext facesContext,
- UIComponent component)
+ UIComponent component)
throws IOException {
if (component instanceof AjaxComponent) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/application/ViewHandlerImpl.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/application/ViewHandlerImpl.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/application/ViewHandlerImpl.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/application/ViewHandlerImpl.java Tue Dec 4 14:12:14 2007
@@ -94,7 +94,7 @@
public void renderView(FacesContext facesContext, UIViewRoot viewRoot)
throws IOException, FacesException {
- // standard
+ // standard
base.renderView(facesContext, viewRoot);
if (LOG.isDebugEnabled()) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/ComponentUtil.java Tue Dec 4 14:12:14 2007
@@ -104,7 +104,7 @@
private static final String RENDER_KEY_PREFIX
= "org.apache.myfaces.tobago.component.ComponentUtil.RendererKeyPrefix_";
-
+
public static final Class[] ACTION_ARGS = {};
public static final Class[] ACTION_LISTENER_ARGS = {ActionEvent.class};
public static final Class[] VALUE_CHANGE_LISTENER_ARGS = {ValueChangeEvent.class};
@@ -125,8 +125,8 @@
}
public static boolean containsPopupActionListener(UICommand command) {
- ActionListener [] actionListeners = command.getActionListeners();
- for(ActionListener actionListener: actionListeners) {
+ ActionListener[] actionListeners = command.getActionListeners();
+ for (ActionListener actionListener : actionListeners) {
if (actionListener instanceof PopupActionListener) {
return true;
}
@@ -165,6 +165,7 @@
view.getAttributes().remove(UIPage.COMPONENT_TYPE);
}
}
+
@SuppressWarnings(value = "unchecked")
public static UIPage findPage(FacesContext context, UIComponent component) {
javax.faces.component.UIViewRoot view = context.getViewRoot();
@@ -180,6 +181,7 @@
return findPage(component);
}
}
+
public static UIPage findPage(UIComponent component) {
while (component != null) {
if (component instanceof UIPage) {
@@ -194,10 +196,12 @@
UIPage uiPage = ComponentUtil.findPage(component);
uiPage.getStyleFiles().addAll(Arrays.asList(styles));
}
+
public static void addScripts(UIComponent component, String[] scripts) {
UIPage uiPage = ComponentUtil.findPage(component);
uiPage.getScriptFiles().addAll(Arrays.asList(scripts));
}
+
public static void addOnloadCommands(UIComponent component, String[] cmds) {
UIPage uiPage = ComponentUtil.findPage(component);
uiPage.getOnloadScripts().addAll(Arrays.asList(cmds));
@@ -316,7 +320,7 @@
public static boolean isError(UIComponent component) {
if (component instanceof UIInput) {
- return isError((UIInput) component);
+ return isError((UIInput) component);
}
return false;
}
@@ -328,7 +332,7 @@
public static boolean mayValidate(UIComponent component) {
return !isOutputOnly(component)
- && ComponentUtil.isInActiveForm(component);
+ && ComponentUtil.isInActiveForm(component);
}
public static boolean mayUpdateModel(UIComponent component) {
@@ -365,7 +369,7 @@
if (UIComponentTag.isValueReference(renderers)) {
command.setValueBinding(ATTR_RENDERED_PARTIALLY, createValueBinding(renderers));
} else {
- String [] components = renderers.split(",");
+ String[] components = renderers.split(",");
command.setRenderedPartially(components);
}
}
@@ -376,10 +380,10 @@
if (UIComponentTag.isValueReference(styleClasses)) {
component.setValueBinding(ATTR_STYLE_CLASS, createValueBinding(styleClasses));
} else {
- String [] classes = styleClasses.split("[, ]");
+ String[] classes = styleClasses.split("[, ]");
if (classes.length > 0) {
StyleClasses styles = StyleClasses.ensureStyleClasses(component);
- for (String clazz: classes) {
+ for (String clazz : classes) {
styles.addFullQualifiedClass(clazz);
}
}
@@ -393,7 +397,7 @@
if (UIComponentTag.isValueReference(markup)) {
markupComponent.setValueBinding(ATTR_MARKUP, createValueBinding(markup));
} else {
- String [] markups = markup.split(",");
+ String[] markups = markup.split(",");
((SupportsMarkup) markupComponent).setMarkup(markups);
}
} else {
@@ -440,9 +444,9 @@
}
/**
- * @deprecated please use the method {@link #getCharacterAttribute(javax.faces.component.UIComponent, String)}
* @param component
* @param name
+ * @deprecated please use the method {@link #getCharacterAttribute(javax.faces.component.UIComponent, String)}
*/
@Deprecated
public static Character getCharakterAttribute(UIComponent component, String name) {
@@ -638,7 +642,7 @@
}
Map facets = component.getFacets();
if (facets.size() > 0) {
- for (Map.Entry<String, UIComponent> entry: (Set<Map.Entry<String, UIComponent>>) facets.entrySet()) {
+ for (Map.Entry<String, UIComponent> entry : (Set<Map.Entry<String, UIComponent>>) facets.entrySet()) {
UIComponent facet = entry.getValue();
result.append('\n');
result.append(spaces(offset + 1));
@@ -740,7 +744,7 @@
}
public static String removePx(String value) {
- if (value!=null&&value.endsWith("px")) {
+ if (value != null && value.endsWith("px")) {
value = value.substring(0, value.length() - 2);
}
return value;
@@ -757,7 +761,7 @@
}
}
- public static void setBooleanProperty(UIComponent component,
+ public static void setBooleanProperty(UIComponent component,
String name, String value) {
if (value != null) {
if (UIComponentTag.isValueReference(value)) {
@@ -778,11 +782,13 @@
}
}
}
+
public static void setValueForValueBinding(String name, Object value) {
FacesContext context = FacesContext.getCurrentInstance();
ValueBinding valueBinding = context.getApplication().createValueBinding(name);
valueBinding.setValue(context, value);
}
+
public static ValueBinding createValueBinding(String value) {
return FacesContext.getCurrentInstance().getApplication()
.createValueBinding(value);
@@ -891,7 +897,7 @@
public static String getComponentId(FacesContext facesContext, UIComponent component) {
String id = component.getId();
//if (id == null) {
- // XXX What is this?
+ // XXX What is this?
// id = component.getClientId(facesContext).substring(id.lastIndexOf('_'));
//}
return id;
@@ -904,7 +910,7 @@
if (label == null) {
final Map attributes = component.getAttributes();
Object labelText = component.getValueBinding(ATTR_LABEL);
- if (labelText ==null) {
+ if (labelText == null) {
labelText = attributes.get(ATTR_LABEL);
}
@@ -941,7 +947,7 @@
debug((UIComponent)it.next());
}
} */
-
+
public static List<SelectItem> getItemsToRender(javax.faces.component.UISelectOne component) {
return getItems(component);
@@ -980,6 +986,7 @@
}
return items;
}
+
public static void setValidator(EditableValueHolder editableValueHolder, String validator) {
if (validator != null && editableValueHolder.getValidator() == null) {
if (UIComponentTag.isValueReference(validator)) {
@@ -991,9 +998,9 @@
}
/**
- * @deprecated please use the typesave method {@link #setConverter(javax.faces.component.ValueHolder, String)}
* @param component
* @param converterId
+ * @deprecated please use the typesave method {@link #setConverter(javax.faces.component.ValueHolder, String)}
*/
@Deprecated
public static void setConverter(UIComponent component, String converterId) {
@@ -1019,10 +1026,10 @@
}
/**
- * @deprecated please use the typesave method {@link #setAction(javax.faces.component.UICommand, String, String)}
* @param component
* @param type
* @param action
+ * @deprecated please use the typesave method {@link #setAction(javax.faces.component.UICommand, String, String)}
*/
@Deprecated
public static void setAction(UIComponent component, String type, String action) {
@@ -1030,7 +1037,7 @@
setAction((UICommand) component, type, action);
}
}
-
+
public static void setAction(UICommand component, String type, String action) {
String commandType;
final FacesContext facesContext = FacesContext.getCurrentInstance();
@@ -1042,8 +1049,8 @@
}
if (commandType != null
&& (commandType.equals(COMMAND_TYPE_NAVIGATE)
- || commandType.equals(COMMAND_TYPE_RESET)
- || commandType.equals(COMMAND_TYPE_SCRIPT))) {
+ || commandType.equals(COMMAND_TYPE_RESET)
+ || commandType.equals(COMMAND_TYPE_SCRIPT))) {
if (commandType.equals(COMMAND_TYPE_NAVIGATE)) {
setStringProperty(component, ATTR_ACTION_LINK, action);
} else if (commandType.equals(COMMAND_TYPE_SCRIPT)) {
@@ -1065,9 +1072,9 @@
}
/**
- * @deprecated please use the typesave method {@link #setSuggestMethodBinding(UIInput, String)}
* @param component
* @param suggestMethod
+ * @deprecated please use the typesave method {@link #setSuggestMethodBinding(UIInput, String)}
*/
@Deprecated
public static void setSuggestMethodBinding(UIComponent component, String suggestMethod) {
@@ -1075,11 +1082,12 @@
setSuggestMethodBinding((UIInput) component, suggestMethod);
}
}
+
public static void setSuggestMethodBinding(UIInput component, String suggestMethod) {
if (suggestMethod != null) {
if (UIComponentTag.isValueReference(suggestMethod)) {
final MethodBinding methodBinding = FacesContext.getCurrentInstance().getApplication()
- .createMethodBinding(suggestMethod, new Class[] {String.class});
+ .createMethodBinding(suggestMethod, new Class[]{String.class});
component.setSuggestMethod(methodBinding);
} else {
throw new IllegalArgumentException(
@@ -1087,7 +1095,7 @@
}
}
}
-
+
public static void setActionListener(ActionSource command, String actionListener) {
final FacesContext facesContext = FacesContext.getCurrentInstance();
final Application application = facesContext.getApplication();
@@ -1104,19 +1112,19 @@
}
public static void setValueChangeListener(EditableValueHolder valueHolder, String valueChangeListener) {
- final FacesContext facesContext = FacesContext.getCurrentInstance();
- final Application application = facesContext.getApplication();
- if (valueChangeListener != null) {
- if (UIComponentTag.isValueReference(valueChangeListener)) {
- MethodBinding binding
- = application.createMethodBinding(valueChangeListener, VALUE_CHANGE_LISTENER_ARGS);
- valueHolder.setValueChangeListener(binding);
- } else {
- throw new IllegalArgumentException(
- "Must be a valueReference (valueChangeListener): " + valueChangeListener);
- }
- }
- }
+ final FacesContext facesContext = FacesContext.getCurrentInstance();
+ final Application application = facesContext.getApplication();
+ if (valueChangeListener != null) {
+ if (UIComponentTag.isValueReference(valueChangeListener)) {
+ MethodBinding binding
+ = application.createMethodBinding(valueChangeListener, VALUE_CHANGE_LISTENER_ARGS);
+ valueHolder.setValueChangeListener(binding);
+ } else {
+ throw new IllegalArgumentException(
+ "Must be a valueReference (valueChangeListener): " + valueChangeListener);
+ }
+ }
+ }
public static void setSortActionListener(UIData data, String actionListener) {
@@ -1160,7 +1168,6 @@
}
-
public static String[] getMarkupBinding(FacesContext facesContext, SupportsMarkup component) {
ValueBinding vb = ((UIComponent) component).getValueBinding(ATTR_MARKUP);
if (vb != null) {
@@ -1191,7 +1198,6 @@
* colonCount == 1: absolute (still normal findComponent syntax)
* colonCount > 1: for each extra colon after 1, go up a naming container
* (to the view root, if naming containers run out)
- *
*/
public static UIComponent findComponent(UIComponent from, String relativeId) {
@@ -1293,7 +1299,7 @@
LOG.info("set rowIndex = \"" + rowIndex + "\"");
uiData.setRowIndex(rowIndex);
} catch (NumberFormatException e) {
- LOG.error("idRemainder = \"" + idRemainder + "\"" , e);
+ LOG.error("idRemainder = \"" + idRemainder + "\"", e);
}
} else {
LOG.info("no match for \"^:\\d+:.*\"");
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/FixedLayoutToken.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/FixedLayoutToken.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/FixedLayoutToken.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/FixedLayoutToken.java Tue Dec 4 14:12:14 2007
@@ -23,6 +23,7 @@
*/
public final class FixedLayoutToken extends LayoutToken {
public static final FixedLayoutToken INSTANCE = new FixedLayoutToken();
+
public String toString() {
return "fixed";
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/HideLayoutToken.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/HideLayoutToken.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/HideLayoutToken.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/HideLayoutToken.java Tue Dec 4 14:12:14 2007
@@ -17,9 +17,7 @@
* limitations under the License.
*/
-/**
- * Created by IntelliJ IDEA.
- * User: bommel
+/*
* Date: May 2, 2007
* Time: 7:17:34 PM
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/LayoutTokens.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/LayoutTokens.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/LayoutTokens.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/LayoutTokens.java Tue Dec 4 14:12:14 2007
@@ -50,7 +50,7 @@
}
public void shrinkSizeTo(int size) {
- for (int i = getSize()-1; i >= size; i--) {
+ for (int i = getSize() - 1; i >= size; i--) {
tokens.remove(i);
}
}
@@ -65,10 +65,10 @@
tokens.add(token);
}
- public static LayoutTokens parse(String[] tokens) {
+ public static LayoutTokens parse(String[] tokens) {
LayoutTokens layoutTokens = new LayoutTokens();
- for (String token: tokens) {
+ for (String token : tokens) {
parseToken(token, layoutTokens);
}
return layoutTokens;
@@ -79,7 +79,6 @@
}
-
public static LayoutTokens parse(String tokens, LayoutToken defaultToken) {
LayoutTokens layoutTokens = new LayoutTokens();
if (tokens == null) {
@@ -105,7 +104,7 @@
public static LayoutToken parseToken(String token) {
try {
- // TODO optimize me
+ // TODO optimize me
if ("*".equals(token)) {
return RelativeLayoutToken.DEFAULT_INSTANCE;
} else if (token.equals("fixed")) {
@@ -129,7 +128,7 @@
public String toString() {
StringBuilder str = new StringBuilder();
- for (LayoutToken token: tokens) {
+ for (LayoutToken token : tokens) {
str.append(token);
str.append(";");
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/OnComponentCreated.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/OnComponentCreated.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/OnComponentCreated.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/OnComponentCreated.java Tue Dec 4 14:12:14 2007
@@ -18,8 +18,6 @@
*/
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 09.06.2006
* Time: 15:46:20
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Pager.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Pager.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Pager.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Pager.java Tue Dec 4 14:12:14 2007
@@ -50,7 +50,7 @@
}
int start;
- switch(pageEvent.getAction()) {
+ switch (pageEvent.getAction()) {
case FIRST:
first = 0;
break;
@@ -74,7 +74,7 @@
first = sheet.getLastPageIndex();
break;
case TO_ROW:
- start = pageEvent.getValue() -1;
+ start = pageEvent.getValue() - 1;
if (start > sheet.getLastPageIndex()) {
start = sheet.getLastPageIndex();
} else if (start < 0) {
@@ -83,7 +83,7 @@
first = start;
break;
case TO_PAGE:
- start = pageEvent.getValue() -1;
+ start = pageEvent.getValue() - 1;
if (LOG.isDebugEnabled()) {
LOG.debug("start = " + start + " sheet.getRows() = "
+ sheet.getRows() + " => start = " + (start * sheet.getRows()));
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PercentLayoutToken.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PercentLayoutToken.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PercentLayoutToken.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PercentLayoutToken.java Tue Dec 4 14:12:14 2007
@@ -32,6 +32,7 @@
public int getPercent() {
return percent;
}
+
public String toString() {
return percent + "%";
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PixelLayoutToken.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PixelLayoutToken.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PixelLayoutToken.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/PixelLayoutToken.java Tue Dec 4 14:12:14 2007
@@ -29,6 +29,7 @@
public int getPixel() {
return pixel;
}
+
public String toString() {
return pixel + "px";
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Sorter.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Sorter.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Sorter.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Sorter.java Tue Dec 4 14:12:14 2007
@@ -48,7 +48,7 @@
* Date: Mar 7, 2005
* Time: 4:01:27 PM
*/
-public class Sorter extends MethodBinding {
+public class Sorter extends MethodBinding {
private static final Log LOG = LogFactory.getLog(Sorter.class);
@@ -118,20 +118,20 @@
return null;
}
- // TODO: locale / comparator parameter?
- // don't compare numbers with Collator.getInstance() comparator
+ // TODO: locale / comparator parameter?
+ // don't compare numbers with Collator.getInstance() comparator
// Comparator comparator = Collator.getInstance();
// comparator = new RowComparator(ascending, method);
- if (value instanceof List) {
- Collections.sort((List) value, actualComparator);
- } else { // value is instanceof Object[]
- Arrays.sort((Object[]) value, actualComparator);
- }
+ if (value instanceof List) {
+ Collections.sort((List) value, actualComparator);
+ } else { // value is instanceof Object[]
+ Arrays.sort((Object[]) value, actualComparator);
+ }
} else { // DataModel?, ResultSet, Result or Object
LOG.warn("Sorting not supported for type "
- + (value != null ? value.getClass().toString() : "null"));
+ + (value != null ? value.getClass().toString() : "null"));
}
}
return null;
@@ -152,12 +152,12 @@
for (Iterator iter = children.iterator(); iter.hasNext();) {
child = (UIComponent) iter.next();
if (child instanceof UICommand
- || child instanceof javax.faces.component.UIPanel) {
+ || child instanceof javax.faces.component.UIPanel) {
child = getFirstSortableChild(child.getChildren());
}
if (child instanceof UISelectMany
- || child instanceof UISelectOne
- || child instanceof UISelectBoolean) {
+ || child instanceof UISelectOne
+ || child instanceof UISelectBoolean) {
continue;
} else if (child instanceof UIInput
&& TobagoConstants.RENDERER_TYPE_HIDDEN.equals(child.getRendererType())) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/SupportsMarkup.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/SupportsMarkup.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/SupportsMarkup.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/SupportsMarkup.java Tue Dec 4 14:12:14 2007
@@ -18,8 +18,6 @@
*/
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Sep 24, 2006
* Time: 12:10:58 PM
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIBox.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIBox.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIBox.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIBox.java Tue Dec 4 14:12:14 2007
@@ -18,8 +18,6 @@
*/
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Nov 4, 2006
* Time: 3:10:46 PM
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIButtonCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIButtonCommand.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIButtonCommand.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIButtonCommand.java Tue Dec 4 14:12:14 2007
@@ -23,8 +23,6 @@
import javax.faces.el.ValueBinding;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Feb 17, 2007
* Time: 8:53:17 AM
*/
@@ -73,7 +71,7 @@
return Integer.valueOf(number.intValue());
}
}
- return null;
+ return null;
}
public void setTabIndex(Integer tabIndex) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICell.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICell.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICell.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICell.java Tue Dec 4 14:12:14 2007
@@ -20,13 +20,12 @@
import javax.faces.context.FacesContext;
-
/*
- * Created by IntelliJ IDEA.
- * User: bommel
- * Date: 10.02.2006
- * Time: 21:20:10
- */
+* Created by IntelliJ IDEA.
+* User: bommel
+* Date: 10.02.2006
+* Time: 21:20:10
+*/
public class UICell extends UIPanelBase {
public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.Cell";
@@ -68,7 +67,7 @@
}
public Object saveState(FacesContext context) {
- Object[] values = new Object[4];
+ Object[] values = new Object[4];
values[0] = super.saveState(context);
values[1] = spanX;
values[2] = spanY;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumn.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumn.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumn.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumn.java Tue Dec 4 14:12:14 2007
@@ -27,8 +27,6 @@
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 18.04.2006
* Time: 21:50:29
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumnEvent.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumnEvent.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumnEvent.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIColumnEvent.java Tue Dec 4 14:12:14 2007
@@ -27,7 +27,7 @@
* @since 1.0.13
*/
public class UIColumnEvent extends UIColumn {
-
+
public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.ColumnEvent";
private String event;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICommand.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICommand.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UICommand.java Tue Dec 4 14:12:14 2007
@@ -43,7 +43,7 @@
public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.Command";
private static final Log LOG = LogFactory.getLog(UICommand.class);
- private static final String [] RENDERED_PARTIALLY_DEFAULT = {};
+ private static final String[] RENDERED_PARTIALLY_DEFAULT = {};
private Boolean defaultCommand;
private Boolean disabled;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIData.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIData.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIData.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIData.java Tue Dec 4 14:12:14 2007
@@ -245,7 +245,7 @@
}
public LayoutTokens getColumnLayout() {
- if (columnLayout==null) {
+ if (columnLayout == null) {
String columns = getColumns();
if (columns != null) {
columnLayout = LayoutTokens.parse(columns);
@@ -283,7 +283,7 @@
if (allColumns.size() > 0) {
for (int i = 0; i < allColumns.size(); i++) {
UIColumn column = allColumns.get(i);
- if (column.isRendered()) {
+ if (column.isRendered()) {
if (tokens == null) {
if (column instanceof org.apache.myfaces.tobago.component.UIColumn) {
newTokens.addToken(
@@ -303,7 +303,6 @@
}
-
int space = LayoutUtil.getInnerSpace(facesContext, this, true);
SheetRendererWorkaround renderer
= (SheetRendererWorkaround) ComponentUtil.getRenderer(facesContext, this);
@@ -332,14 +331,14 @@
LayoutTokens tokens = layoutInfo.getLayoutTokens();
for (int i = 0; i < tokens.getSize(); i++) {
LayoutToken token = tokens.get(i);
- if (token instanceof FixedLayoutToken) {
+ if (token instanceof FixedLayoutToken) {
int width = 0;
if (!rendereredColumns.isEmpty()) {
if (i < rendereredColumns.size()) {
UIColumn column = rendereredColumns.get(i);
if (column instanceof UIColumnSelector) {
- LayoutInformationProvider renderer
- = ComponentUtil.getRenderer(facesContext, column);
+ LayoutInformationProvider renderer
+ = ComponentUtil.getRenderer(facesContext, column);
if (renderer == null) {
LOG.warn("can't find renderer for " + column.getClass().getName());
renderer = ComponentUtil.getRenderer(facesContext, UIPanel.COMPONENT_FAMILY, RENDERER_TYPE_OUT);
@@ -385,7 +384,7 @@
child.getAttributes().put(
ATTR_LAYOUT_WIDTH, width - cellPaddingWidth);
child.getAttributes().remove(ATTR_INNER_WIDTH);
- } else {
+ } else {
LOG.warn("More or less than 1 child in column! "
+ "Can't set width for column " + i + " to " + width);
}
@@ -446,7 +445,7 @@
public boolean isAtEnd() {
if (!hasRowCount()) {
- setRowIndex(getFirst()+getRows()+1);
+ setRowIndex(getFirst() + getRows() + 1);
return !isRowAvailable();
} else {
return getFirst() >= getLastPageIndex();
@@ -487,7 +486,6 @@
}
-
public Object saveState(FacesContext context) {
Object[] saveState = new Object[12];
saveState[0] = super.saveState(context);
@@ -596,7 +594,7 @@
private void invokeMethodBinding(MethodBinding methodBinding, FacesEvent event) {
if (methodBinding != null && event != null) {
try {
- Object[] objects = new Object [] {event};
+ Object[] objects = new Object[]{event};
methodBinding.invoke(getFacesContext(), objects);
} catch (EvaluationException e) {
Throwable cause = e.getCause();
@@ -614,7 +612,7 @@
}
public SheetStateChangeListener[] getStateChangeListeners() {
- return (SheetStateChangeListener[]) getFacesListeners(SheetStateChangeListener.class);
+ return (SheetStateChangeListener[]) getFacesListeners(SheetStateChangeListener.class);
}
public void removeStateChangeListener(SheetStateChangeListener listener) {
@@ -670,15 +668,15 @@
prepareDimensions(facesContext);
// TODO neets more testing!!!
//if (!facesContext.getRenderResponse() && !ComponentUtil.hasErrorMessages(facesContext)) {
- // in encodeBegin of superclass is some logic which clears the DataModel
- // this must here also done.
- // in RI and myfaces this could done via setValue(null)
- ValueBinding binding = getValueBinding("value");
- if (binding != null) {
- setValue(null);
- } else {
- setValue(getValue());
- }
+ // in encodeBegin of superclass is some logic which clears the DataModel
+ // this must here also done.
+ // in RI and myfaces this could done via setValue(null)
+ ValueBinding binding = getValueBinding("value");
+ if (binding != null) {
+ setValue(null);
+ } else {
+ setValue(getValue());
+ }
//}
AjaxUtils.encodeAjaxComponent(facesContext, this);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDateInput.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDateInput.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDateInput.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDateInput.java Tue Dec 4 14:12:14 2007
@@ -18,8 +18,6 @@
*/
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 22.05.2006
* Time: 21:00:07
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIDatePicker.java Tue Dec 4 14:12:14 2007
@@ -45,8 +45,6 @@
import java.util.Map;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 30.05.2006
* Time: 19:22:40
*/
@@ -200,7 +198,6 @@
cell.setId("cell2");
timePanel.getChildren().add(cell);
-
UIComponent buttonPanel = ComponentUtil.createComponent(
facesContext, UIPanel.COMPONENT_TYPE, RENDERER_TYPE_PANEL);
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIForm.java Tue Dec 4 14:12:14 2007
@@ -29,7 +29,7 @@
private static final Log LOG = LogFactory.getLog(UIForm.class);
public static final String COMPONENT_TYPE = "org.apache.myfaces.tobago.Form";
- public static final String SUBMITTED_MARKER = COMPONENT_TYPE+".InSubmitted";
+ public static final String SUBMITTED_MARKER = COMPONENT_TYPE + ".InSubmitted";
public void processDecodes(FacesContext facesContext) {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIGridLayout.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIGridLayout.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIGridLayout.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIGridLayout.java Tue Dec 4 14:12:14 2007
@@ -67,14 +67,14 @@
private List<Row> layoutRows;
public LayoutTokens getRowLayout() {
- if (rowLayout==null) {
+ if (rowLayout == null) {
rowLayout = LayoutTokens.parse(getRows());
}
return rowLayout;
}
public LayoutTokens getColumnLayout() {
- if (columnLayout==null) {
+ if (columnLayout == null) {
columnLayout = LayoutTokens.parse(getColumns());
}
return columnLayout;
@@ -251,7 +251,7 @@
marginTop = (String) values[6];
marginBottom = (String) values[7];
border = (String) values[8];
- cellspacing = (String) values[9];
+ cellspacing = (String) values[9];
}
@Override
@@ -430,7 +430,7 @@
public static class Marker implements Serializable {
private static final long serialVersionUID = 2505999420762504893L;
private final String name;
- private boolean rendered;
+ private boolean rendered;
private Marker(String name) {
this.name = name;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIHiddenInput.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIHiddenInput.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIHiddenInput.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIHiddenInput.java Tue Dec 4 14:12:14 2007
@@ -21,8 +21,6 @@
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 10.02.2006
* Time: 19:13:51
*/
@@ -39,7 +37,7 @@
}
public Object saveState(FacesContext context) {
- Object[] values = new Object[2];
+ Object[] values = new Object[2];
values[0] = super.saveState(context);
values[1] = inline;
return values;
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIInput.java Tue Dec 4 14:12:14 2007
@@ -95,20 +95,20 @@
}
public boolean isDisabled() {
- if (disabled != null) {
- return disabled;
- }
- ValueBinding vb = getValueBinding(ATTR_DISABLED);
- if (vb != null) {
- return (Boolean.TRUE.equals(vb.getValue(getFacesContext())));
- } else {
- return false;
- }
+ if (disabled != null) {
+ return disabled;
}
-
- public void setDisabled(boolean disabled) {
- this.disabled = disabled;
+ ValueBinding vb = getValueBinding(ATTR_DISABLED);
+ if (vb != null) {
+ return (Boolean.TRUE.equals(vb.getValue(getFacesContext())));
+ } else {
+ return false;
}
+ }
+
+ public void setDisabled(boolean disabled) {
+ this.disabled = disabled;
+ }
public boolean isPassword() {
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILabel.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILabel.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILabel.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILabel.java Tue Dec 4 14:12:14 2007
@@ -88,7 +88,7 @@
LOG.debug("for = '" + forComponent + "'");
}
if ("@auto".equals(forComponent)) {
- for(Object object : getParent().getChildren()) {
+ for (Object object : getParent().getChildren()) {
UIComponent child = (UIComponent) object;
if (child instanceof javax.faces.component.UIInput) {
forComponent = child.getId();
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILayout.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILayout.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILayout.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILayout.java Tue Dec 4 14:12:14 2007
@@ -41,7 +41,6 @@
}
-
public static void prepareDimension(FacesContext facesContext, UIComponent component) {
// LOG.info("prepareDimension for " + component.getClientId(facesContext) + " is " + component.getRendererType());
setInnerWidth(facesContext, component);
@@ -49,7 +48,7 @@
}
private static void setInnerWidth(FacesContext facesContext, UIComponent component) {
- Integer layoutWidth = LayoutUtil.getLayoutWidth(component);
+ Integer layoutWidth = LayoutUtil.getLayoutWidth(component);
if (layoutWidth != null) {
int space = layoutWidth.intValue();
int innerSpace = LayoutUtil.getInnerSpace(facesContext, component, space, true);
@@ -58,7 +57,7 @@
}
private static void setInnerHeight(FacesContext facesContext, UIComponent component) {
- Integer layoutHeight = LayoutUtil.getLayoutHeight(component);
+ Integer layoutHeight = LayoutUtil.getLayoutHeight(component);
if (layoutHeight != null) {
int space = layoutHeight.intValue();
int innerSpace = LayoutUtil.getInnerSpace(facesContext, component, space, false);
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILinkCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILinkCommand.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILinkCommand.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UILinkCommand.java Tue Dec 4 14:12:14 2007
@@ -23,8 +23,6 @@
import javax.faces.el.ValueBinding;
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: Feb 17, 2007
* Time: 8:51:48 AM
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenu.java Tue Dec 4 14:12:14 2007
@@ -18,8 +18,6 @@
*/
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 31.03.2006
* Time: 21:36:15
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuCommand.java Tue Dec 4 14:12:14 2007
@@ -18,8 +18,6 @@
*/
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 31.03.2006
* Time: 20:19:19
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIMenuSeparator.java Tue Dec 4 14:12:14 2007
@@ -18,8 +18,6 @@
*/
/*
- * Created by IntelliJ IDEA.
- * User: bommel
* Date: 31.03.2006
* Time: 20:47:00
*/
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIOutput.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIOutput.java?rev=601107&r1=601106&r2=601107&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIOutput.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/UIOutput.java Tue Dec 4 14:12:14 2007
@@ -44,11 +44,11 @@
markup = (String[]) values[2];
tip = (String) values[3];
createSpan = (Boolean) values[4];
- }
+ }
@Override
public Object saveState(FacesContext context) {
- Object[] values = new Object[5];
+ Object[] values = new Object[5];
values[0] = super.saveState(context);
values[1] = escape;
values[2] = markup;