You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mb...@apache.org on 2007/03/16 14:24:21 UTC
svn commit: r518967 [1/20] - in /myfaces/core/branches/jsf12:
api/src/main/java-templates/javax/faces/component/
api/src/main/java/javax/faces/application/
api/src/main/java/javax/faces/component/
api/src/main/java/javax/faces/context/ api/src/main/jav...
Author: mbr
Date: Fri Mar 16 06:24:10 2007
New Revision: 518967
URL: http://svn.apache.org/viewvc?view=rev&rev=518967
Log:
apply svn properties from http://www.apache.org/dev/svn-eol-style.txt
Modified:
myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIDataTemplate.java (props changed)
myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIGraphicTemplate.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIInputTemplate.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UINamingContainerTemplate.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIOutputTemplate.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UISelectBooleanTemplate.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UISelectManyTemplate.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UISelectOneTemplate.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIViewRootTemplate.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/application/StateManagerWrapper.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/application/ViewExpiredException.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/application/ViewHandlerWrapper.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/ActionSource2.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/ContextCallback.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_MethodBindingToActionListener.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_MethodBindingToListener.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_MethodBindingToMethodExpression.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_MethodBindingToValueChangeListener.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_MethodExpressionToMethodBinding.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_PrimitiveArrayIterator.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_ValueBindingToValueExpression.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/component/_ValueExpressionToValueBinding.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/context/ResponseWriterWrapper.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/convert/EnumConverter.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/event/MethodExpressionActionListener.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/event/MethodExpressionValueChangeListener.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/validator/MethodExpressionValidator.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentClassicTagBase.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/java/javax/faces/webapp/UIComponentTagBase.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/resources/LICENSE.txt (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/resources/NOTICE.txt (contents, props changed)
myfaces/core/branches/jsf12/api/src/main/resources/javax/faces/component/UIViewRoot.xml (props changed)
myfaces/core/branches/jsf12/api/src/site/resources/css/site.css (contents, props changed)
myfaces/core/branches/jsf12/api/src/site/resources/images/easter.png (props changed)
myfaces/core/branches/jsf12/api/src/site/resources/images/h3.jpg (props changed)
myfaces/core/branches/jsf12/api/src/site/resources/images/myfaces-logo.png (props changed)
myfaces/core/branches/jsf12/api/src/site/site.xml (contents, props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/FacesExceptionTest.java (props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/FactoryFinderTest.java (props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/application/FacesMessageTest.java (props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/application/StateManagerTest.java (props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/UIComponentBaseTest.java (props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/UIComponentMock.java (props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/UISelectManyTest.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/_AttachedListStateWrapperTest.java (props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/component/_AttachedStateWrapperTest.java (props changed)
myfaces/core/branches/jsf12/api/src/test/java/javax/faces/convert/DateTimeConverterTest.java (contents, props changed)
myfaces/core/branches/jsf12/api/src/test/java/org/apache/myfaces/mock/api/Mock2ApplicationFactory.java (props changed)
myfaces/core/branches/jsf12/api/src/test/java/org/apache/myfaces/mock/api/MockApplicationFactory.java (props changed)
myfaces/core/branches/jsf12/assembly/src/main/assembly/dep.xml (contents, props changed)
myfaces/core/branches/jsf12/assembly/src/main/resources/LICENSE.txt (contents, props changed)
myfaces/core/branches/jsf12/assembly/src/main/resources/NOTICE.txt (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/AccesskeyProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/AlignProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/AltProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/BgcolorProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/BorderProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/CharsetProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/CoordsProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/DisabledClassProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/DisabledProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/EnabledClassProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/EscapeProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/Focus_BlurProperties.xml (props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/HreflangProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/ImageProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/LabelProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/LayoutProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/OnchangeProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/OnselectProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/ReadonlyProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/RelProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/RevProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/ShapeProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/SizeProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/StyleClassProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/StyleProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/TabindexProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/TargetProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/TypeProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/_Datafld_Datasrc_DataformatasProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/_EventHandlerProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/_Focus_BlurProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/_InputProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/_InputTextFieldsProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/_LinkProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/_MessageProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/_TableProperties.xml (props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/_UniversalProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/accesskey.xml (props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/html/hreflang.xml (props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesBindingProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesIdOptionalProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesImmediateProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesLableProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRenderedProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/FacesRequiredProperty.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_CommandProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_ComponentProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_DataProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/includes/ui/_TableRendererProperties.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIColumn.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIData.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIForm.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIGrapic.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIInput.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessage.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIMessages.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UINamingContainer.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIOutput.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIPanel.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIParameter.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UISelectBoolean.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UISelectItem.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UISelectItems.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UISelectMany.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UISelectOne.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/UIViewRoot.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlColumn.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlCommandButton.xml (props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlCommandLink.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlDataTable.xml (props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlForm.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlGraphicImage.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlInputHidden.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlInputSecret.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlInputText.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlInputTextarea.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlMessage.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlMessages.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlOutputFormat.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlOutputLabel.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlOutputLink.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlOutputText.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGrid.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlPanelGroup.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectBooleanCheckbox.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyCheckbox.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyListbox.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectManyMenu.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneListbox.xml (props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneMenu.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/components/javax/faces/html/HtmlSelectOneRadio.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/config/myfaces/faces-config.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlCommandButton.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlCommandLink.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlDataTable.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlForm.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlGraphicImage.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlGrid.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlGroup.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlHidden.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlInputSecret.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlInputText.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlInputTextarea.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlMessage.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlMessages.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlOutputFormat.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlOutputLabel.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlOutputLink.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlOutputText.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlSelectBooleanCheckbox.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlSelectManyCheckbox.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlSelectManyListbox.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlSelectManyMenu.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlSelectOneListbox.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlSelectOneMenu.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderers/javax/faces/html/HtmlSelectOneRadio.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/renderkits/javax/faces/html_basic.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/validators/javax/faces/DoubleRange.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/validators/javax/faces/Length.xml (contents, props changed)
myfaces/core/branches/jsf12/build/src/main/resources/META-INF/maven-faces-plugin/validators/javax/faces/LongRange.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/application/jsp/ViewResponseWrapper.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/FacesConfigValidator.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/LastVariableResolverInChain.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/AllAnnotationLifecycleProvider.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/AnnotatedManagedBeanHandler.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/DefaultLifecycleProviderFactory.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/DiscoverableLifecycleProvider.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/LifecycleProvider.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/LifecycleProviderFactory.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/NoAnnotationLifecyleProvider.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/NoInjectionAnnotationLifecycleProvider.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/ResourceAnnotationLifecycleProvider.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/config/annotation/TomcatAnnotationLifecycleProvider.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/NullPropertyResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/NullVariableResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/convert/ELResolverToPropertyResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/convert/ELResolverToVariableResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/convert/MethodExpressionToMethodBinding.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/convert/PropertyResolverToELResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/convert/ValueBindingToValueExpression.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/convert/ValueExpressionToValueBinding.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/convert/VariableResolverToELResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/FacesELContext.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/ManagedBeanResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/ResourceBundleResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/ScopedAttributeResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationScopeImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CookieImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/FacesContextImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderValuesImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ImplicitObjectResolver.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/InitParamImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamValuesImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestScopeImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionScopeImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewImplicitObject.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/event/SetPropertyActionListener.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/lifecycle/PhaseListenerManager.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/portlet/PortletUtil.java (props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/taglib/core/SetPropertyActionListenerTag.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/webapp/AbstractMyFacesListener.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/webapp/MyFacesHttpSessionAttributeListener.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/webapp/MyFacesHttpSessionListener.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServletContextListener.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/webapp/MyFacesServletRequestListener.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/java/org/apache/myfaces/webapp/MyfacesServletRequestAttributeListener.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/resources/LICENSE.txt (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/resources/META-INF/myfaces_core.tld (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/resources/NOTICE.txt (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/resources/javax/faces/Messages_nl.properties (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/resources/javax/faces/Messages_pl.properties (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/resources/licenses/sundtd-LICENSE.txt (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/resources/org/apache/myfaces/resource/web-facesconfig_1_2.xsd (props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/ext_actionfor_attribute.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/ext_ajax_attributes.xml (props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/ext_escape_attribute.xml (props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/ext_textarea_attribute.xml (props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/extended_command_link_attributes.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/extended_data_table_attributes.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/html_escape_attribute.xml (props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/html_input_help_attributes.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/standard_input_secret_attributes.xml (props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/standard_select_boolean_checkbox_attributes.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/standard_select_many_listbox_attributes.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/standard_select_many_menu_attributes.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/entities/standard_select_one_listbox_attributes.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/main/tld/misc/resolve_entities-tlddoc.xsl (props changed)
myfaces/core/branches/jsf12/impl/src/site/resources/css/site.css (contents, props changed)
myfaces/core/branches/jsf12/impl/src/site/resources/images/easter.png (props changed)
myfaces/core/branches/jsf12/impl/src/site/resources/images/h3.jpg (props changed)
myfaces/core/branches/jsf12/impl/src/site/resources/images/myfaces-logo.png (props changed)
myfaces/core/branches/jsf12/impl/src/site/site.xml (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/application/NavigationHandlerImplTest.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/application/jsp/JspStateManagerImplTest.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/AbstractManagedBeanBuilderTestCase.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/FacesConfigValidatorTestCase.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/MangedBeanExample.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/Myfaces889TestCase.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/annotation/AnnotatedExceptionManagedBeanHandlerTestCase.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/annotation/AnnotatedManagedBean.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/annotation/AnnotatedManagedBeanHandlerTestCase.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/annotation/AnnotatedRuntimeExceptionManagedBeanHandlerTestCase.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/annotation/AnnotationProcessorTestCase.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/annotation/OwnAnnotationProcessorTestCase.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/annotation/TestDiscoverableLifecycleProvider.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/config/annotation/TestLifecycleProvider.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/el/DummyBean.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/el/ValueBindingImplCactus.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/lifecycle/InstrumentingPhaseListener.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/lifecycle/LifecycleImplCactus.java (props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/renderkit/html/HtmTextRendererTest.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/test/AbstractClassElementTestCase.java (contents, props changed)
myfaces/core/branches/jsf12/impl/src/test/java/org/apache/myfaces/test/ImplClassElementTestCase.java (contents, props changed)
Propchange: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIDataTemplate.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIGraphicTemplate.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIGraphicTemplate.java?view=diff&rev=518967&r1=518966&r2=518967
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIGraphicTemplate.java (original)
+++ myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIGraphicTemplate.java Fri Mar 16 06:24:10 2007
@@ -1,93 +1,93 @@
-/*
-* Copyright 2004-2006 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package javax.faces.component;
-
-import javax.faces.el.ValueBinding;
-import javax.el.ValueExpression;
-
-/**
- * @author Andreas Berger (latest modification by $Author$)
- * @version $Revision$ $Date$
- * @since 1.2
- */
-public class UIGraphicTemplate extends UIComponentBase
-{
- private static final String URL_PROPERTY = "url";
- private static final String VALUE_PROPERTY = "value";
-
- /**/ public String getFamily() { return null;}
-
- /**
- * @deprecated Use getValueExpression instead
- */
- @Override
- public ValueBinding getValueBinding(String name)
- {
- if (URL_PROPERTY.equals(name))
- {
- return super.getValueBinding(VALUE_PROPERTY);
- }
- else
- {
- return super.getValueBinding(name);
- }
- }
-
- /**
- * @deprecated Use setValueExpression instead
- */
- @Override
- public void setValueBinding(String name,
- ValueBinding binding)
- {
- if (URL_PROPERTY.equals(name))
- {
- super.setValueBinding(VALUE_PROPERTY, binding);
- }
- else
- {
- super.setValueBinding(name, binding);
- }
- }
-
- @Override
- public ValueExpression getValueExpression(String name)
- {
- if (URL_PROPERTY.equals(name))
- {
- return super.getValueExpression(VALUE_PROPERTY);
- }
- else
- {
- return super.getValueExpression(name);
- }
- }
-
- @Override
- public void setValueExpression(String name,
- ValueExpression binding)
- {
- if (URL_PROPERTY.equals(name))
- {
- super.setValueExpression(VALUE_PROPERTY, binding);
- }
- else
- {
- super.setValueExpression(name, binding);
- }
- }
-}
-
+/*
+* Copyright 2004-2006 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package javax.faces.component;
+
+import javax.faces.el.ValueBinding;
+import javax.el.ValueExpression;
+
+/**
+ * @author Andreas Berger (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ * @since 1.2
+ */
+public class UIGraphicTemplate extends UIComponentBase
+{
+ private static final String URL_PROPERTY = "url";
+ private static final String VALUE_PROPERTY = "value";
+
+ /**/ public String getFamily() { return null;}
+
+ /**
+ * @deprecated Use getValueExpression instead
+ */
+ @Override
+ public ValueBinding getValueBinding(String name)
+ {
+ if (URL_PROPERTY.equals(name))
+ {
+ return super.getValueBinding(VALUE_PROPERTY);
+ }
+ else
+ {
+ return super.getValueBinding(name);
+ }
+ }
+
+ /**
+ * @deprecated Use setValueExpression instead
+ */
+ @Override
+ public void setValueBinding(String name,
+ ValueBinding binding)
+ {
+ if (URL_PROPERTY.equals(name))
+ {
+ super.setValueBinding(VALUE_PROPERTY, binding);
+ }
+ else
+ {
+ super.setValueBinding(name, binding);
+ }
+ }
+
+ @Override
+ public ValueExpression getValueExpression(String name)
+ {
+ if (URL_PROPERTY.equals(name))
+ {
+ return super.getValueExpression(VALUE_PROPERTY);
+ }
+ else
+ {
+ return super.getValueExpression(name);
+ }
+ }
+
+ @Override
+ public void setValueExpression(String name,
+ ValueExpression binding)
+ {
+ if (URL_PROPERTY.equals(name))
+ {
+ super.setValueExpression(VALUE_PROPERTY, binding);
+ }
+ else
+ {
+ super.setValueExpression(name, binding);
+ }
+ }
+}
+
Propchange: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIGraphicTemplate.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIInputTemplate.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIInputTemplate.java?view=diff&rev=518967&r1=518966&r2=518967
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIInputTemplate.java (original)
+++ myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIInputTemplate.java Fri Mar 16 06:24:10 2007
@@ -1,376 +1,376 @@
-/*
-* Copyright 2004-2006 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package javax.faces.component;
-
-import javax.el.ELException;
-import javax.el.ValueExpression;
-import javax.faces.validator.Validator;
-import javax.faces.el.MethodBinding;
-import javax.faces.el.EvaluationException;
-import javax.faces.el.ValueBinding;
-import javax.faces.context.FacesContext;
-import javax.faces.event.FacesEvent;
-import javax.faces.event.AbortProcessingException;
-import javax.faces.event.ValueChangeEvent;
-import javax.faces.render.Renderer;
-import javax.faces.convert.Converter;
-import javax.faces.convert.ConverterException;
-import javax.faces.application.FacesMessage;
-
-
-/**
- * @author Andreas Berger (latest modification by $Author$)
- * @version $Revision$ $Date$
- * @since 1.2
- */
-public class UIInputTemplate extends UIOutput implements EditableValueHolder
-{
- public static final String CONVERSION_MESSAGE_ID = "javax.faces.component.UIInput.CONVERSION";
- public static final String REQUIRED_MESSAGE_ID = "javax.faces.component.UIInput.REQUIRED";
- public static final String UPDATE_MESSAGE_ID = "javax.faces.component.UIInput.UPDATE";
-
- /**
- * Store the specified object as the "local value" of this component.
- * The value-binding named "value" (if any) is ignored; the object is
- * only stored locally on this component. During the "update model"
- * phase, if there is a value-binding named "value" then this local
- * value will be stored via that value-binding and the "local value"
- * reset to null.
- */
- /**///setValue
- public void setValue(Object value)
- {
- setLocalValueSet(true);
- super.setValue(value);
- }
-
- /**
- * Set the "submitted value" of this component from the relevant data
- * in the current servet request object.
- * <p>
- * If this component is not rendered, then do nothing; no output would
- * have been sent to the client so no input is expected.
- * <p>
- * Invoke the inherited functionality, which typically invokes the
- * renderer associated with this component to extract and set this
- * component's "submitted value".
- * <p>
- * If this component is marked "immediate", then immediately apply
- * validation to the submitted value found. On error, call context
- * method "renderResponse" which will force processing to leap to
- * the "render response" phase as soon as the "decode" step has
- * completed for all other components.
- */
- public void processDecodes(FacesContext context)
- {
- if (context == null) throw new NullPointerException("context");
- if (!isRendered()) return;
- super.processDecodes(context);
- if (isImmediate())
- {
- try
- {
- validate(context);
- }
- catch (RuntimeException e)
- {
- context.renderResponse();
- throw e;
- }
- if (!isValid())
- {
- context.renderResponse();
- }
- }
- }
-
- public void processValidators(FacesContext context)
- {
- if (context == null) throw new NullPointerException("context");
- if (!isRendered()) return;
-
- super.processValidators(context);
-
- if (!isImmediate())
- {
- try
- {
- validate(context);
- }
- catch (RuntimeException e)
- {
- context.renderResponse();
- throw e;
- }
- if (!isValid())
- {
- context.renderResponse();
- }
- }
- }
-
- public void processUpdates(FacesContext context)
- {
- if (context == null) throw new NullPointerException("context");
- if (!isRendered()) return;
-
- super.processUpdates(context);
-
- try
- {
- updateModel(context);
- }
- catch (RuntimeException e)
- {
- context.renderResponse();
- throw e;
- }
- if (!isValid())
- {
- context.renderResponse();
- }
- }
-
- public void decode(FacesContext context)
- {
- //We (re)set to valid, so that component automatically gets (re)validated
- setValid(true);
- super.decode(context);
- }
-
- public void broadcast(FacesEvent event)
- throws AbortProcessingException
- {
- if (!(event instanceof ValueChangeEvent))
- {
- throw new IllegalArgumentException("FacesEvent of class " + event.getClass().getName() + " not supported by UIInput");
- }
-
- // invoke standard listeners attached to this component first
- super.broadcast(event);
-
- // invoke the single listener defined directly on the component
- MethodBinding valueChangeListenerBinding = getValueChangeListener();
- if (valueChangeListenerBinding != null)
- {
- try
- {
- valueChangeListenerBinding.invoke(getFacesContext(),
- new Object[]{event});
- }
- catch (EvaluationException e)
- {
- Throwable cause = e.getCause();
- if (cause != null && cause instanceof AbortProcessingException)
- {
- throw (AbortProcessingException)cause;
- }
- else
- {
- throw e;
- }
- }
- }
- }
-
- public void updateModel(FacesContext context)
- {
- if (!isValid()) return;
- if (!isLocalValueSet()) return;
- ValueExpression expression = getValueExpression("value");
- if (expression == null) return;
- try
- {
- expression.setValue(context.getELContext(), getLocalValue());
- setValue(null);
- setLocalValueSet(false);
- }
- catch (ELException elException)
- {
- String exceptionMessage = elException.getMessage();
- if (exceptionMessage == null)
- {
- _MessageUtils.addErrorMessage(context, this, UPDATE_MESSAGE_ID, new Object[]{_MessageUtils.getLabel(context,this)});
- }
- else
- {
- _MessageUtils.addErrorMessage(context, this, elException);
- }
- setValid(false);
- }
- catch (Exception e)
- {
- context.getExternalContext().log(e.getMessage(), e);
- _MessageUtils.addErrorMessage(context, this, UPDATE_MESSAGE_ID, new Object[]{_MessageUtils.getLabel(context,this)});
- setValid(false);
- }
- }
-
- protected void validateValue(FacesContext context,Object convertedValue)
- {
- boolean empty = convertedValue == null ||
- (convertedValue instanceof String
- && ((String)convertedValue).length() == 0);
-
- if (isRequired() && empty)
- {
- if(getRequiredMessage() != null) {
- String requiredMessage = getRequiredMessage();
- context.addMessage(this.getClientId(context),new FacesMessage(FacesMessage.SEVERITY_ERROR,requiredMessage,requiredMessage));
- } else {
- _MessageUtils.addErrorMessage(context, this, REQUIRED_MESSAGE_ID,new Object[]{_MessageUtils.getLabel(context,this)});
- }
- setValid(false);
- return;
- }
-
- if (!empty)
- {
- _ComponentUtils.callValidators(context, this, convertedValue);
- }
-
- }
-
- /**
- * Determine whether the new value is valid, and queue a ValueChangeEvent
- * if necessary.
- * <p>
- * The "submitted value" is converted to the necessary type; conversion
- * failure is reported as an error and validation processing terminates
- * for this component. See documentation for method getConvertedValue
- * for details on the conversion process.
- * <p>
- * Any validators attached to this component are then run, passing
- * the converted value.
- * <p>
- * The old value of this component is then fetched (possibly involving
- * the evaluation of a value-binding expression, ie invoking a method
- * on a user object). The old value is compared to the new validated
- * value, and if they are different then a ValueChangeEvent is queued
- * for later processing.
- * <p>
- * On successful completion of this method:
- * <ul>
- * <li> isValid() is true
- * <li> isLocalValueSet() is true
- * <li> submittedValue is reset to null
- * <li> a ValueChangeEvent is queued if the new value != old value
- * </ul>
- */
- public void validate(FacesContext context)
- {
- if (context == null) throw new NullPointerException("context");
- Object submittedValue = getSubmittedValue();
- if (submittedValue == null) return;
-
- Object convertedValue = getConvertedValue(context, submittedValue);
-
- if (!isValid()) return;
-
- validateValue(context, convertedValue);
-
- if (!isValid()) return;
-
- Object previousValue = getValue();
- setValue(convertedValue);
- setSubmittedValue(null);
- if (compareValues(previousValue, convertedValue))
- {
- queueEvent(new ValueChangeEvent(this, previousValue, convertedValue));
- }
- }
-
- /**
- * Convert the provided object to the desired value.
- * <p>
- * If there is a renderer for this component, then call the renderer's
- * getConvertedValue method. While this can of course be implemented in
- * any way the renderer desires, it typically performs exactly the same
- * processing that this method would have done anyway (ie that described
- * below for the no-renderer case).
- * <p>
- * Otherwise:
- * <ul>
- * <li>If the submittedValue is not a String then just return the
- * submittedValue unconverted.
- * <li>If there is no "value" value-binding then just return the
- * submittedValue unconverted.
- * <li>Use introspection to determine the type of the target
- * property specified by the value-binding, and then use
- * Application.createConverter to find a converter that can
- * map from String to the required type. Apply the converter
- * to the submittedValue and return the result.
- * </ul>
- */
- protected Object getConvertedValue(FacesContext context, Object submittedValue)
- {
- try
- {
- Renderer renderer = getRenderer(context);
- if (renderer != null)
- {
- return renderer.getConvertedValue(context, this, submittedValue);
- }
- else if (submittedValue instanceof String)
- {
- Converter converter = _SharedRendererUtils.findUIOutputConverter(context, this);
- if (converter != null)
- {
- return converter.getAsObject(context, this, (String)submittedValue);
- }
- }
- }
- catch (ConverterException e)
- {
- String converterMessage = getConverterMessage();
- if(converterMessage != null) {
- context.addMessage(getClientId(context),new FacesMessage(FacesMessage.SEVERITY_ERROR,converterMessage,converterMessage));
- } else {
- FacesMessage facesMessage = e.getFacesMessage();
- if (facesMessage != null)
- {
- context.addMessage(getClientId(context), facesMessage);
- }
- else
- {
- _MessageUtils.addErrorMessage(context, this, CONVERSION_MESSAGE_ID,new Object[]{_MessageUtils.getLabel(context,this)});
- }
- }
- setValid(false);
- }
- return submittedValue;
- }
-
-
-
- protected boolean compareValues(Object previous,
- Object value)
- {
- return previous==null?(value!=null):(!previous.equals(value));
- }
-
-
- /**
- * @since 1.2
- */
- public void resetValue()
- {
- setValue(null);
- setSubmittedValue(null);
- setLocalValueSet(false);
- setValid(true);
- }
-}
+/*
+* Copyright 2004-2006 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package javax.faces.component;
+
+import javax.el.ELException;
+import javax.el.ValueExpression;
+import javax.faces.validator.Validator;
+import javax.faces.el.MethodBinding;
+import javax.faces.el.EvaluationException;
+import javax.faces.el.ValueBinding;
+import javax.faces.context.FacesContext;
+import javax.faces.event.FacesEvent;
+import javax.faces.event.AbortProcessingException;
+import javax.faces.event.ValueChangeEvent;
+import javax.faces.render.Renderer;
+import javax.faces.convert.Converter;
+import javax.faces.convert.ConverterException;
+import javax.faces.application.FacesMessage;
+
+
+/**
+ * @author Andreas Berger (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ * @since 1.2
+ */
+public class UIInputTemplate extends UIOutput implements EditableValueHolder
+{
+ public static final String CONVERSION_MESSAGE_ID = "javax.faces.component.UIInput.CONVERSION";
+ public static final String REQUIRED_MESSAGE_ID = "javax.faces.component.UIInput.REQUIRED";
+ public static final String UPDATE_MESSAGE_ID = "javax.faces.component.UIInput.UPDATE";
+
+ /**
+ * Store the specified object as the "local value" of this component.
+ * The value-binding named "value" (if any) is ignored; the object is
+ * only stored locally on this component. During the "update model"
+ * phase, if there is a value-binding named "value" then this local
+ * value will be stored via that value-binding and the "local value"
+ * reset to null.
+ */
+ /**///setValue
+ public void setValue(Object value)
+ {
+ setLocalValueSet(true);
+ super.setValue(value);
+ }
+
+ /**
+ * Set the "submitted value" of this component from the relevant data
+ * in the current servet request object.
+ * <p>
+ * If this component is not rendered, then do nothing; no output would
+ * have been sent to the client so no input is expected.
+ * <p>
+ * Invoke the inherited functionality, which typically invokes the
+ * renderer associated with this component to extract and set this
+ * component's "submitted value".
+ * <p>
+ * If this component is marked "immediate", then immediately apply
+ * validation to the submitted value found. On error, call context
+ * method "renderResponse" which will force processing to leap to
+ * the "render response" phase as soon as the "decode" step has
+ * completed for all other components.
+ */
+ public void processDecodes(FacesContext context)
+ {
+ if (context == null) throw new NullPointerException("context");
+ if (!isRendered()) return;
+ super.processDecodes(context);
+ if (isImmediate())
+ {
+ try
+ {
+ validate(context);
+ }
+ catch (RuntimeException e)
+ {
+ context.renderResponse();
+ throw e;
+ }
+ if (!isValid())
+ {
+ context.renderResponse();
+ }
+ }
+ }
+
+ public void processValidators(FacesContext context)
+ {
+ if (context == null) throw new NullPointerException("context");
+ if (!isRendered()) return;
+
+ super.processValidators(context);
+
+ if (!isImmediate())
+ {
+ try
+ {
+ validate(context);
+ }
+ catch (RuntimeException e)
+ {
+ context.renderResponse();
+ throw e;
+ }
+ if (!isValid())
+ {
+ context.renderResponse();
+ }
+ }
+ }
+
+ public void processUpdates(FacesContext context)
+ {
+ if (context == null) throw new NullPointerException("context");
+ if (!isRendered()) return;
+
+ super.processUpdates(context);
+
+ try
+ {
+ updateModel(context);
+ }
+ catch (RuntimeException e)
+ {
+ context.renderResponse();
+ throw e;
+ }
+ if (!isValid())
+ {
+ context.renderResponse();
+ }
+ }
+
+ public void decode(FacesContext context)
+ {
+ //We (re)set to valid, so that component automatically gets (re)validated
+ setValid(true);
+ super.decode(context);
+ }
+
+ public void broadcast(FacesEvent event)
+ throws AbortProcessingException
+ {
+ if (!(event instanceof ValueChangeEvent))
+ {
+ throw new IllegalArgumentException("FacesEvent of class " + event.getClass().getName() + " not supported by UIInput");
+ }
+
+ // invoke standard listeners attached to this component first
+ super.broadcast(event);
+
+ // invoke the single listener defined directly on the component
+ MethodBinding valueChangeListenerBinding = getValueChangeListener();
+ if (valueChangeListenerBinding != null)
+ {
+ try
+ {
+ valueChangeListenerBinding.invoke(getFacesContext(),
+ new Object[]{event});
+ }
+ catch (EvaluationException e)
+ {
+ Throwable cause = e.getCause();
+ if (cause != null && cause instanceof AbortProcessingException)
+ {
+ throw (AbortProcessingException)cause;
+ }
+ else
+ {
+ throw e;
+ }
+ }
+ }
+ }
+
+ public void updateModel(FacesContext context)
+ {
+ if (!isValid()) return;
+ if (!isLocalValueSet()) return;
+ ValueExpression expression = getValueExpression("value");
+ if (expression == null) return;
+ try
+ {
+ expression.setValue(context.getELContext(), getLocalValue());
+ setValue(null);
+ setLocalValueSet(false);
+ }
+ catch (ELException elException)
+ {
+ String exceptionMessage = elException.getMessage();
+ if (exceptionMessage == null)
+ {
+ _MessageUtils.addErrorMessage(context, this, UPDATE_MESSAGE_ID, new Object[]{_MessageUtils.getLabel(context,this)});
+ }
+ else
+ {
+ _MessageUtils.addErrorMessage(context, this, elException);
+ }
+ setValid(false);
+ }
+ catch (Exception e)
+ {
+ context.getExternalContext().log(e.getMessage(), e);
+ _MessageUtils.addErrorMessage(context, this, UPDATE_MESSAGE_ID, new Object[]{_MessageUtils.getLabel(context,this)});
+ setValid(false);
+ }
+ }
+
+ protected void validateValue(FacesContext context,Object convertedValue)
+ {
+ boolean empty = convertedValue == null ||
+ (convertedValue instanceof String
+ && ((String)convertedValue).length() == 0);
+
+ if (isRequired() && empty)
+ {
+ if(getRequiredMessage() != null) {
+ String requiredMessage = getRequiredMessage();
+ context.addMessage(this.getClientId(context),new FacesMessage(FacesMessage.SEVERITY_ERROR,requiredMessage,requiredMessage));
+ } else {
+ _MessageUtils.addErrorMessage(context, this, REQUIRED_MESSAGE_ID,new Object[]{_MessageUtils.getLabel(context,this)});
+ }
+ setValid(false);
+ return;
+ }
+
+ if (!empty)
+ {
+ _ComponentUtils.callValidators(context, this, convertedValue);
+ }
+
+ }
+
+ /**
+ * Determine whether the new value is valid, and queue a ValueChangeEvent
+ * if necessary.
+ * <p>
+ * The "submitted value" is converted to the necessary type; conversion
+ * failure is reported as an error and validation processing terminates
+ * for this component. See documentation for method getConvertedValue
+ * for details on the conversion process.
+ * <p>
+ * Any validators attached to this component are then run, passing
+ * the converted value.
+ * <p>
+ * The old value of this component is then fetched (possibly involving
+ * the evaluation of a value-binding expression, ie invoking a method
+ * on a user object). The old value is compared to the new validated
+ * value, and if they are different then a ValueChangeEvent is queued
+ * for later processing.
+ * <p>
+ * On successful completion of this method:
+ * <ul>
+ * <li> isValid() is true
+ * <li> isLocalValueSet() is true
+ * <li> submittedValue is reset to null
+ * <li> a ValueChangeEvent is queued if the new value != old value
+ * </ul>
+ */
+ public void validate(FacesContext context)
+ {
+ if (context == null) throw new NullPointerException("context");
+ Object submittedValue = getSubmittedValue();
+ if (submittedValue == null) return;
+
+ Object convertedValue = getConvertedValue(context, submittedValue);
+
+ if (!isValid()) return;
+
+ validateValue(context, convertedValue);
+
+ if (!isValid()) return;
+
+ Object previousValue = getValue();
+ setValue(convertedValue);
+ setSubmittedValue(null);
+ if (compareValues(previousValue, convertedValue))
+ {
+ queueEvent(new ValueChangeEvent(this, previousValue, convertedValue));
+ }
+ }
+
+ /**
+ * Convert the provided object to the desired value.
+ * <p>
+ * If there is a renderer for this component, then call the renderer's
+ * getConvertedValue method. While this can of course be implemented in
+ * any way the renderer desires, it typically performs exactly the same
+ * processing that this method would have done anyway (ie that described
+ * below for the no-renderer case).
+ * <p>
+ * Otherwise:
+ * <ul>
+ * <li>If the submittedValue is not a String then just return the
+ * submittedValue unconverted.
+ * <li>If there is no "value" value-binding then just return the
+ * submittedValue unconverted.
+ * <li>Use introspection to determine the type of the target
+ * property specified by the value-binding, and then use
+ * Application.createConverter to find a converter that can
+ * map from String to the required type. Apply the converter
+ * to the submittedValue and return the result.
+ * </ul>
+ */
+ protected Object getConvertedValue(FacesContext context, Object submittedValue)
+ {
+ try
+ {
+ Renderer renderer = getRenderer(context);
+ if (renderer != null)
+ {
+ return renderer.getConvertedValue(context, this, submittedValue);
+ }
+ else if (submittedValue instanceof String)
+ {
+ Converter converter = _SharedRendererUtils.findUIOutputConverter(context, this);
+ if (converter != null)
+ {
+ return converter.getAsObject(context, this, (String)submittedValue);
+ }
+ }
+ }
+ catch (ConverterException e)
+ {
+ String converterMessage = getConverterMessage();
+ if(converterMessage != null) {
+ context.addMessage(getClientId(context),new FacesMessage(FacesMessage.SEVERITY_ERROR,converterMessage,converterMessage));
+ } else {
+ FacesMessage facesMessage = e.getFacesMessage();
+ if (facesMessage != null)
+ {
+ context.addMessage(getClientId(context), facesMessage);
+ }
+ else
+ {
+ _MessageUtils.addErrorMessage(context, this, CONVERSION_MESSAGE_ID,new Object[]{_MessageUtils.getLabel(context,this)});
+ }
+ }
+ setValid(false);
+ }
+ return submittedValue;
+ }
+
+
+
+ protected boolean compareValues(Object previous,
+ Object value)
+ {
+ return previous==null?(value!=null):(!previous.equals(value));
+ }
+
+
+ /**
+ * @since 1.2
+ */
+ public void resetValue()
+ {
+ setValue(null);
+ setSubmittedValue(null);
+ setLocalValueSet(false);
+ setValid(true);
+ }
+}
Propchange: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIInputTemplate.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UINamingContainerTemplate.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UINamingContainerTemplate.java?view=diff&rev=518967&r1=518966&r2=518967
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UINamingContainerTemplate.java (original)
+++ myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UINamingContainerTemplate.java Fri Mar 16 06:24:10 2007
@@ -1,27 +1,27 @@
-/*
-* Copyright 2004-2006 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package javax.faces.component;
-
-/**
- * @author Andreas Berger (latest modification by $Author$)
- * @version $Revision$ $Date$
- * @since 1.2
- */
-public class UINamingContainerTemplate
- extends UIComponentBase
- implements NamingContainer
-{
-}
+/*
+* Copyright 2004-2006 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package javax.faces.component;
+
+/**
+ * @author Andreas Berger (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ * @since 1.2
+ */
+public class UINamingContainerTemplate
+ extends UIComponentBase
+ implements NamingContainer
+{
+}
Propchange: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UINamingContainerTemplate.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIOutputTemplate.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIOutputTemplate.java?view=diff&rev=518967&r1=518966&r2=518967
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIOutputTemplate.java (original)
+++ myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIOutputTemplate.java Fri Mar 16 06:24:10 2007
@@ -1,30 +1,30 @@
-/*
-* Copyright 2004-2006 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package javax.faces.component;
-
-/**
- * @author Andreas Berger (latest modification by $Author$)
- * @version $Revision$ $Date$
- * @since 1.2
- */
-public class UIOutputTemplate extends UIComponentBase
- implements ValueHolder
-{
- public Object getLocalValue()
- {
- return _value;
- }
-}
+/*
+* Copyright 2004-2006 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package javax.faces.component;
+
+/**
+ * @author Andreas Berger (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ * @since 1.2
+ */
+public class UIOutputTemplate extends UIComponentBase
+ implements ValueHolder
+{
+ public Object getLocalValue()
+ {
+ return _value;
+ }
+}
Propchange: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UIOutputTemplate.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UISelectBooleanTemplate.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UISelectBooleanTemplate.java?view=diff&rev=518967&r1=518966&r2=518967
==============================================================================
--- myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UISelectBooleanTemplate.java (original)
+++ myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UISelectBooleanTemplate.java Fri Mar 16 06:24:10 2007
@@ -1,102 +1,102 @@
-/*
-* Copyright 2004-2006 The Apache Software Foundation.
-*
-* Licensed under the Apache License, Version 2.0 (the "License");
-* you may not use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-* http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.
-*/
-package javax.faces.component;
-
-import javax.faces.el.ValueBinding;
-import javax.el.ValueExpression;
-
-/**
- * @author Andreas Berger (latest modification by $Author$)
- * @version $Revision$ $Date$
- * @since 1.2
- */
-public class UISelectBooleanTemplate extends UIInput
-{
-
- public void setSelected(boolean selected)
- {
- setValue(Boolean.valueOf(selected));
- }
-
- public boolean isSelected()
- {
- Boolean value = (Boolean)getSubmittedValue();
- if( value == null )
- value = (Boolean)getValue();
-
- return value != null ? value.booleanValue() : false;
- }
-
- /**
- * @deprecated Use getValueExpression instead
- */
- public ValueBinding getValueBinding(String name)
- {
- if (name == null) throw new NullPointerException("name");
- if (name.equals("selected"))
- {
- return super.getValueBinding("value");
- }
- else
- {
- return super.getValueBinding(name);
- }
- }
-
- /**
- * @deprecated Use setValueExpression instead
- */
- public void setValueBinding(String name,
- ValueBinding binding)
- {
- if (name == null) throw new NullPointerException("name");
- if (name.equals("selected"))
- {
- super.setValueBinding("value", binding);
- }
- else
- {
- super.setValueBinding(name, binding);
- }
- }
-
- public ValueExpression getValueExpression(String name)
- {
- if (name == null) throw new NullPointerException("name");
- if (name.equals("selected"))
- {
- return super.getValueExpression("value");
- }
- else
- {
- return super.getValueExpression(name);
- }
- }
-
- public void setValueExpression(String name,
- ValueExpression binding)
- {
- if (name == null) throw new NullPointerException("name");
- if (name.equals("selected"))
- {
- super.setValueExpression("value", binding);
- }
- else
- {
- super.setValueExpression(name, binding);
- }
- }
+/*
+* Copyright 2004-2006 The Apache Software Foundation.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+package javax.faces.component;
+
+import javax.faces.el.ValueBinding;
+import javax.el.ValueExpression;
+
+/**
+ * @author Andreas Berger (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ * @since 1.2
+ */
+public class UISelectBooleanTemplate extends UIInput
+{
+
+ public void setSelected(boolean selected)
+ {
+ setValue(Boolean.valueOf(selected));
+ }
+
+ public boolean isSelected()
+ {
+ Boolean value = (Boolean)getSubmittedValue();
+ if( value == null )
+ value = (Boolean)getValue();
+
+ return value != null ? value.booleanValue() : false;
+ }
+
+ /**
+ * @deprecated Use getValueExpression instead
+ */
+ public ValueBinding getValueBinding(String name)
+ {
+ if (name == null) throw new NullPointerException("name");
+ if (name.equals("selected"))
+ {
+ return super.getValueBinding("value");
+ }
+ else
+ {
+ return super.getValueBinding(name);
+ }
+ }
+
+ /**
+ * @deprecated Use setValueExpression instead
+ */
+ public void setValueBinding(String name,
+ ValueBinding binding)
+ {
+ if (name == null) throw new NullPointerException("name");
+ if (name.equals("selected"))
+ {
+ super.setValueBinding("value", binding);
+ }
+ else
+ {
+ super.setValueBinding(name, binding);
+ }
+ }
+
+ public ValueExpression getValueExpression(String name)
+ {
+ if (name == null) throw new NullPointerException("name");
+ if (name.equals("selected"))
+ {
+ return super.getValueExpression("value");
+ }
+ else
+ {
+ return super.getValueExpression(name);
+ }
+ }
+
+ public void setValueExpression(String name,
+ ValueExpression binding)
+ {
+ if (name == null) throw new NullPointerException("name");
+ if (name.equals("selected"))
+ {
+ super.setValueExpression("value", binding);
+ }
+ else
+ {
+ super.setValueExpression(name, binding);
+ }
+ }
}
Propchange: myfaces/core/branches/jsf12/api/src/main/java-templates/javax/faces/component/UISelectBooleanTemplate.java
------------------------------------------------------------------------------
svn:eol-style = native