You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by al...@apache.org on 2010/07/31 00:37:34 UTC

svn commit: r980988 [8/8] - in /myfaces/gsoc/html5-comp-lib/trunk: ./ html5-comp-lib-core/ html5-comp-lib-core/src/ html5-comp-lib-core/src/main/ html5-comp-lib-core/src/main/java/ html5-comp-lib-core/src/main/java/META-INF/ html5-comp-lib-core/src/mai...

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText02.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText02.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText02.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText02.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,72 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>inputText types</h1>
+	    </ui:define>
+
+		<ui:define name="content">
+			<p>
+				Notes:
+				<ul>
+					<li>The form won't be submitted until spaces breaking the URL are deleted from url input.(Chrome and Opera)</li>
+				</ul>
+			</p>
+			<h:form>
+				<h:panelGrid cols="2" >
+					<label>text:</label>
+			    	<hx:inputText id="textIT" value="#{inputTextBean.firstNumber}" type="text" cols="15"/>
+			    	
+			    	<label>search (Chrome):</label>
+			    	<hx:inputText id="searchIT" value="#{inputTextBean.keyword}" type="search" cols="15"/>
+			    	
+			    	<label>url (Chrome and Opera):</label>
+			    	<hx:inputText id="emailIT" value="#{inputTextBean.url}" type="url" oninvalid="alert('Invalid URL');" cols="15"/>
+			    	
+			    	<label>tel (Need to try it on Iphone's browser or other mobile browser):</label>
+			    	<hx:inputText id="telIT" value="#{inputTextBean.tel}" type="tel" cols="15" />
+			    	
+			    	<label>textarea:</label>
+			    	<hx:inputText id="textareaIT" value="#{inputTextBean.longText}" type="textarea" cols="15" rows="3"/>
+			    	
+			    	<label>textarea determined from rows property:</label>
+			    	<hx:inputText id="anotherTextareaIT" value="#{inputTextBean.longText}" cols="15" rows="3"/>
+			    	
+			    	<label>password:</label>
+			    	<hx:inputText id="passwordIT" value="#{inputTextBean.topSecret}" type="password" cols="15"/>
+			    	
+			    	<h:outputText />
+			    	<h:commandButton action="none"/>
+			    	
+				</h:panelGrid>
+			</h:form>
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText03.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText03.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText03.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText03.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,75 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>inputText types</h1>
+	    </ui:define>
+
+		<ui:define name="content">
+			<p>
+				Notes:
+				<ul>
+					<li>Ajax suggestions is working on Opera. However, even if the options of datalist is changed, Opera just doesn't 
+						update the list shown on screen immediately. 
+						After second input, the suggestions will be updated --> A ticket to the Opera tracker!</li>
+				</ul>
+			</p>
+			<h:form id="myForm">
+				<h:panelGrid cols="2" >
+					<label>Static suggestions:</label>
+			    	<hx:inputText id="textIT" value="#{inputTextBean.keyword}" type="text" cols="45" 
+			    		suggestions="#{inputTextBean.staticSuggestionItems}">
+			    	</hx:inputText>
+			    	
+			    	<label>Ajax suggestions (works on Opera. see the note above), start typing a movie name(case sensitive):</label>
+			    	
+			    	<h:panelGroup>
+				    	
+				    	<hx:inputText id="otherTextIT" value="#{inputTextBean.movieName}" type="text" cols="45" 
+				    		datalist="myForm:dynamicDataList">
+				    		<f:ajax event="input" render="dynamicDataList"/>
+				    	</hx:inputText>
+				    	
+				    	<hx:dataList id="dynamicDataList">
+				    		<f:selectItems value="#{inputTextBean.suggestionItems}" />
+				    	</hx:dataList>
+			    	
+			    	</h:panelGroup>
+			    	
+			    		
+			    	
+			    	<h:outputText />
+			    	<h:commandButton action="none"/>
+			    	
+				</h:panelGrid>
+			</h:form>
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText04.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText04.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText04.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText04.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,77 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Pattern</h1>
+	    </ui:define>
+
+		<ui:define name="content">
+		
+			<script>
+				function handleValidationError(event,element){
+					alert('Second input is not in correct format!');
+				}
+			</script>
+		
+			<p>
+				Notes:
+				<ul>
+					<li>Examples in this page work in Chrome and Opera.</li>
+					<li>Opera displays an error message on validation errors, where Chrome simply marks the invalid input.</li>
+				</ul>
+			</p>
+			<h:form id="myForm">
+				<h:panelGrid cols="2" >
+					<label>Simple pattern usage:</label>
+			    	<hx:inputText id="textIT" value="#{inputTextBean.someParam}" title="A part number is a digit followed by three uppercase letters.">
+			    		<f:validateRegex pattern="[0-9][A-Z]{3}" />
+			    	</hx:inputText>
+		    	
+		    		<h:outputText />
+			    	<h:commandButton action="none"/>
+		    	</h:panelGrid>
+			</h:form>
+				
+			<h:form id="myOtherForm">
+				<h:panelGrid cols="2" >
+			    	<label>Custom validation error handling:</label>
+			    	<hx:inputText id="otherTextIT" value="#{inputTextBean.someParam}" oninvalid="handleValidationError(event, this);" 
+			    		title="A part number is a digit followed by three uppercase letters.">
+			    		<f:validateRegex pattern="[0-9][A-Z]{3}" />
+			    	</hx:inputText>
+			    	
+			    	<h:outputText />
+			    	<h:commandButton action="none"/>
+			    	
+				</h:panelGrid>
+			</h:form>
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText05.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText05.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText05.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/inputText/inputText05.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,91 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Complex example</h1>
+	    </ui:define>
+
+		<ui:define name="content">
+			<p>
+				Notes:
+				<ul>
+					<li>Examples in this page work in Chrome and Opera.</li>
+					<li>Placeholders will be visible on Chrome. Opera doesn't support those.</li>
+					<li>Opera displays an error message on validation errors, where Chrome simply marks the invalid input.</li>
+				</ul>
+			</p>
+			<h:form id="myForm">
+				<h:panelGrid cols="2" >
+					<label>Name:</label>
+			    	<hx:inputText id="nameIT" value="#{registerBean.name}" required="true" placeholder="Enter your name" cols="45" />
+			    	
+			    	<label>Username:</label>
+			    	<hx:inputText id="usernameIT" value="#{registerBean.username}" required="true" placeholder="Enter your username"
+			    		title="Username must consist of alphanumeric chars and underscore char; and it must be between 6 and 16 chars." cols="45" >
+			    		<f:validateRegex pattern="^[a-zA-Z0-9_]{6,16}" />
+			    	</hx:inputText>
+			    	
+			    	<label>Password:</label>
+			    	<hx:inputText id="passwordIT" value="#{registerBean.password}" required="true" type="password" cols="45"  placeholder="Enter your password"
+			    		title="Password must be a 6 digit number.">
+			    		<f:validateRegex pattern="^[0-9]{6}" />
+			    	</hx:inputText>
+			    	
+			    	<label>Website(optional):</label>
+			    	<hx:inputText id="websiteIT" value="#{registerBean.webSite}" type="url" placeholder="Enter your website url" cols="45"  />
+			    	
+			    	<label>Comment(optional):</label>
+			    	<hx:inputText id="commentIT" value="#{registerBean.comment}" type="textarea" placeholder="Free text" cols="45" rows="3"/>
+		    	
+		    		<label>Favorite Movie(optional) (uses case sensitive suggestions):</label>
+		    		<h:panelGroup>
+				    	
+				    	<hx:inputText id="favoriteMovieNameIT" value="#{registerBean.favoriteMovieName}" type="text" cols="45" 
+				    		datalist="myForm:movieSuggestionsDataList">
+				    		<f:ajax event="input" render="movieSuggestionsDataList"/>
+				    	</hx:inputText>
+				    	
+				    	<hx:dataList id="movieSuggestionsDataList">
+				    		<f:selectItems value="#{registerBean.movieSuggestionItems}" />
+				    	</hx:dataList>
+			    	
+			    	</h:panelGroup>
+			    	
+			    	<label>Eye color(optional):</label>
+			    	<hx:inputText id="eyeColorIT" value="#{registerBean.eyeColor}" suggestions="Brown,Green,Blue,Red" cols="45"  />
+		    	
+		    		<h:outputText />
+			    	<h:commandButton action="none"/>
+		    	</h:panelGrid>
+			</h:form>
+				
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets">
+      
+<h:body>
+	
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Video Index</h1>
+	    </ui:define>
+
+		<ui:define name="content">
+	    	<ul>
+				<li><h:link outcome="video/video01" value="Simple Video"/></li>
+				<li><h:link outcome="video/video02" value="Video Basic Attrs"/></li>
+				<li><h:link outcome="video/video03" value="Video with fallback"/></li>
+				<li><h:link outcome="video/video04" value="Video with custom controls and poster"/></li>
+				<li><h:link outcome="video/video05" value="Video with different media source options and autoplay"/></li>
+				<li><h:link outcome="video/video06" value="Video with fx:mediaSources"/></li>
+				<li><h:link outcome="video/video07" value="Demo of other features"/></li>
+			</ul>
+	    </ui:define>		
+			
+	</ui:composition>
+	
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video01.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video01.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video01.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video01.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Simple Video Demo</h1>
+	    </ui:define>
+
+		<ui:define name="content">
+	    	<hx:video value="http://diveintohtml5.org/i/pr6.ogv" />
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video02.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video02.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video02.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video02.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:head>
+</h:head>
+<h:body>
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Video Basic Attrs</h1>
+	    	<p>
+				<ul>
+					<li>Fetches the video on the page load</li>
+					<li>Loops in the end</li>
+					<li>Has custom height and width</li>
+				</ul>
+			</p>
+	    </ui:define>
+
+		<ui:define name="content">
+			<hx:video value="http://diveintohtml5.org/i/pr6.ogv" preload="auto" 
+				loop="true" width="300" height="100" />
+	    </ui:define>		
+			
+	</ui:composition>
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video03.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video03.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video03.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video03.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,70 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:head>
+</h:head>
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Video with fallback</h1>
+			<p>
+				<ul>
+					<li>Try on different browsers. You will see a Javascript alert on IE and other(?) not supporting browsers.</li>
+				</ul>
+			</p>
+	    </ui:define>
+
+		<ui:define name="content">
+	    	<hx:video value="http://diveintohtml5.org/i/pr6.ogv">
+				<f:facet name="fallback">
+					<script>
+						if(!(!!document.createElement('video').canPlayType))
+							alert('No Html5 Video');
+					</script>
+					<p>NO Html5 video support here!</p>
+				</f:facet>
+			</hx:video>	
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video04.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video04.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video04.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video04.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,53 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Video with custom controls</h1>
+	    	<h3>If you don't see the poster, clear your browser's cache.</h3>
+	    </ui:define>
+
+		<ui:define name="content">
+			<script>
+				function play(){
+					document.getElementById('myVideo').play();
+				}
+				function pause(){
+					document.getElementById('myVideo').pause();
+				}
+			</script>
+		
+	    	<hx:video id="myVideo" 
+	    		value="http://diveintohtml5.org/i/pr6.ogv" showControls="false" preload="none" poster="http://cs.anu.edu.au/students/comp2750-6700/icons/DukeWithHelmet.png"/>
+	    	
+	    	<button onclick="play()">Play</button>
+	    	<button onclick="pause()">Pause</button>
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video05.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video05.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video05.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video05.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,50 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Video with different media source options and autoplay</h1>
+	    	<ul>
+	    	<li>Browser will choose the best option for itself.</li>
+	    	<li>Video will start playing when the page is loaded..</li>
+	    	</ul>
+	    </ui:define>
+
+		<ui:define name="content">
+
+			<h3>Using fx:mediaSource</h3>		
+	    	<hx:video autoplay="true">
+	    		<fx:mediaSource src="http://diveintohtml5.org/i/pr6.mp4" contentType="video/mp4" codec="avc1.42E01E, mp4a.40.2"/>
+	    		<fx:mediaSource src="http://diveintohtml5.org/i/pr6.webm" contentType="video/webm" codec="vp8, vorbis"/>
+	    		<fx:mediaSource src="http://diveintohtml5.org/i/pr6.ogv" contentType="video/ogg" codec="theora, vorbis"/>
+	    	</hx:video>
+	    	
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video06.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video06.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video06.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video06.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Video with fx:mediaSources</h1>
+	    </ui:define>
+
+		<ui:define name="content">
+
+			<h3>Using fx:mediaSources</h3>		
+	    	<hx:video>
+	    		<fx:mediaSource src="http://diveintohtml5.org/i/pr6.ogv" contentType="video/ogg" codec="theora, vorbis"/>
+	    		<fx:mediaSource src="http://somevideo.ogg" disabled="true"/>
+
+	    		<fx:mediaSources items="#{videoBean.items}"/>
+	    	</hx:video>
+	    	
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video07.xhtml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video07.xhtml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video07.xhtml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/html5-comp-lib-examples/src/main/webapp/video/video07.xhtml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<html lang="en"
+      xmlns:h="http://java.sun.com/jsf/html"
+      xmlns:f="http://java.sun.com/jsf/core"
+      xmlns:ui="http://java.sun.com/jsf/facelets"
+      xmlns:hx="http://myfaces.apache.org/html5/html"
+      xmlns:fx="http://myfaces.apache.org/html5/core">
+      
+<h:body>
+
+	 <ui:composition template="/_template.xhtml">
+	    <ui:define name="pageName">
+	    	<h1>Demo of other features</h1>
+	    </ui:define>
+
+		<ui:define name="content">
+
+	    	<hx:video draggable="true" onpause="alert('paused!');" 
+	    		onvolumechange="alert('Volume changed!')" style="border: 10px solid red;">
+	    		<fx:mediaSource src="http://diveintohtml5.org/i/pr6.ogv" contentType="video/ogg" codec="theora, vorbis"/>
+	    		<fx:mediaSource src="http://somevideo.ogg" disabled="true"/>
+
+	    		<fx:mediaSources items="#{videoBean.items}"/>
+	    	</hx:video>
+	    	
+	    </ui:define>		
+			
+	</ui:composition>
+
+</h:body>
+</html>

Added: myfaces/gsoc/html5-comp-lib/trunk/myfaces-shared-html5/build.xml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/myfaces-shared-html5/build.xml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/myfaces-shared-html5/build.xml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/myfaces-shared-html5/build.xml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="iso-8859-1" ?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<project name="myfaces_shared_tasks">
+
+  <target name="refactor-java-sources">
+      <!-- 1. Create output dir  -->
+      <mkdir dir="${refactor.output.dir}" />
+      <!-- 2. Move and rename package dir "shared" to new name -->
+      <move todir="${refactor.output.dir}/org/apache/myfaces/${refactor.package.new}">
+        <fileset dir="${refactor.src.dir}/org/apache/myfaces/shared"> 
+          <include name="**/*.java"/>
+        </fileset>
+      </move>
+      <!-- 3. Rename occurrences of package "shared" by new name -->
+      <replace dir="${refactor.output.dir}"
+            token="org.apache.myfaces.shared."
+            value="org.apache.myfaces.${refactor.package.new}.">
+        <include name="**/*.java"/>
+      </replace>
+  </target>       
+
+  <target name="refactor-resources">
+      <!-- 1. Create output dir  -->
+      <mkdir dir="${refactor.output.dir}" />
+      <!-- 2. Move and rename package dir "shared" to new name -->
+      <move todir="${refactor.output.dir}/org/apache/myfaces/${refactor.package.new}">
+        <fileset dir="${refactor.src.dir}/org/apache/myfaces/shared"> 
+          <include name="**/*.properties"/>
+          <include name="**/*.xml"/>
+        </fileset>
+      </move>
+      <!-- 3. Rename occurrences of package "shared" new name -->
+      <replace dir="${refactor.output.dir}"
+            token="org.apache.myfaces.shared."
+            value="org.apache.myfaces.${refactor.package.new}.">
+        <include name="**/*.properties"/>
+        <include name="**/*.xml"/>
+      </replace>
+  </target>       
+
+</project>

Added: myfaces/gsoc/html5-comp-lib/trunk/myfaces-shared-html5/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/myfaces-shared-html5/pom.xml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/myfaces-shared-html5/pom.xml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/myfaces-shared-html5/pom.xml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <artifactId>html5-comp-lib-project</artifactId>
+        <groupId>org.apache.myfaces.html5-comp-lib</groupId>
+        <version>0.0.3-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.myfaces.html5-comp-lib</groupId>
+    <artifactId>myfaces-shared-html5</artifactId>
+    <version>0.0.3-SNAPSHOT</version>
+    <name>MyFaces Shared for Html5 RenderKit</name>
+
+    <build>
+
+        <resources>
+            <resource>
+                <!-- because adding an additional resourceRoot not possible 
+                    with antrun yet -->
+                <directory>target/refactored-shared-sources/main/resources</directory>
+            </resource>
+        </resources>
+
+        <plugins>
+
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>unpack-sources</id>
+                        <phase>generate-sources</phase>
+                        <goals>
+                            <goal>unpack</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.myfaces.shared</groupId>
+                                    <artifactId>myfaces-shared-core</artifactId>
+                                    <version>${shared-core-version}</version>
+                                    <type>jar</type>
+                                    <classifier>sources</classifier>
+                                </artifactItem>
+                            </artifactItems>
+                            <outputDirectory>${project.build.directory}/unpacked-shared-sources</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>refactor-shared-sources</id>
+                        <phase>process-sources</phase>
+                        <configuration>
+                            <tasks>
+                                <property name="refactor.src.dir"
+                                    value="${project.build.directory}/unpacked-shared-sources" />
+                                <property name="refactor.output.dir"
+                                    value="${project.build.directory}/refactored-shared-sources/main/java" />
+                                <property name="refactor.package.new"
+                                    value="shared_html5" />
+                                <ant dir="${project.basedir}"
+                                    antfile="build.xml" inheritRefs="true"
+                                    inheritAll="true">
+                                    <target name="refactor-java-sources" />
+                                </ant>
+                            </tasks>
+                            <sourceRoot>${project.build.directory}/refactored-shared-sources/main/java</sourceRoot>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                    <execution>
+                        <id>refactor-resources</id>
+                        <phase>generate-resources</phase>
+                        <configuration>
+                            <tasks>
+                                <property name="refactor.src.dir"
+                                    value="${project.build.directory}/unpacked-shared-sources" />
+                                <property name="refactor.output.dir"
+                                    value="${project.build.directory}/refactored-shared-sources/main/resources" />
+                                <property name="refactor.package.new"
+                                    value="shared_html5" />
+                                <ant dir="${project.basedir}"
+                                    antfile="build.xml" inheritRefs="true"
+                                    inheritAll="true">
+                                    <target name="refactor-resources" />
+                                </ant>
+                            </tasks>
+                            <resourceRoot>${project.build.directory}/refactored-shared-sources/main/resources</resourceRoot> <!-- not yet supported -->
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.myfaces.shared</groupId>
+            <artifactId>myfaces-shared-core</artifactId>
+            <version>${shared-core-version}</version>
+        </dependency>
+
+
+        <!-- ok  -->
+        <dependency>
+            <groupId>org.apache.myfaces.buildtools</groupId>
+            <artifactId>myfaces-builder-annotations</artifactId>
+            <version>1.0.4</version>
+            <scope>provided</scope>
+        </dependency>
+
+        <!-- ok  -->
+        <dependency>
+            <groupId>javax.servlet</groupId>
+            <artifactId>servlet-api</artifactId>
+            <version>2.5</version>
+            <scope>provided</scope>
+        </dependency>
+
+        <!-- ok  -->
+        <dependency>
+            <groupId>javax.servlet.jsp</groupId>
+            <artifactId>jsp-api</artifactId>
+            <version>2.1</version>
+            <scope>provided</scope>
+        </dependency>
+
+    </dependencies>
+
+</project>
\ No newline at end of file

Added: myfaces/gsoc/html5-comp-lib/trunk/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/gsoc/html5-comp-lib/trunk/pom.xml?rev=980988&view=auto
==============================================================================
--- myfaces/gsoc/html5-comp-lib/trunk/pom.xml (added)
+++ myfaces/gsoc/html5-comp-lib/trunk/pom.xml Fri Jul 30 22:37:29 2010
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <artifactId>myfaces</artifactId>
+        <groupId>org.apache.myfaces</groupId>
+        <version>6</version>
+    </parent>
+
+    <groupId>org.apache.myfaces.html5-comp-lib</groupId>
+    <artifactId>html5-comp-lib-project</artifactId>
+    <packaging>pom</packaging>
+    <name>Html5 Renderkit for Apache MyFaces Parent Project </name>
+    <version>0.0.3-SNAPSHOT</version>
+    <description>Apache MyFaces Html5 Renderkit is a sub-project of Apache MyFaces which provides Html5 enabled components.</description>
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/gsoc/html5-comp-lib/trunk</connection>
+        <developerConnection>scm:svn:http://svn.apache.org/repos/asf/myfaces/gsoc/html5-comp-lib/trunk</developerConnection>
+    </scm>
+
+    <modules>
+        <module>html5-comp-lib-core</module>
+        <module>myfaces-shared-html5</module>
+        <module>html5-comp-lib-examples</module>
+    </modules>
+
+    <repositories>
+        <repository>
+            <id>java.net</id>
+            <url>http://download.java.net/maven/2</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+
+        <repository>
+            <id>Maven2 Repo1</id>
+            <name>Maven2 Repo1</name>
+            <url>http://repo1.maven.org/maven2</url>
+            <layout>legacy</layout>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+
+        <repository>
+            <id>java.net.2</id>
+            <name>java.net Maven 2 Repository</name>
+            <url>http://download.java.net/maven/2</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+
+        <repository>
+            <id>codehaus</id>
+            <name>codehaus</name>
+            <url>http://repository.codehaus.org</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+
+        <repository>
+            <id>jboss</id>
+            <name>jboss</name>
+            <url>http://repository.jboss.com/maven2</url>
+            <snapshots>
+                <enabled>false</enabled>
+            </snapshots>
+        </repository>
+
+        <!-- necessary! -->
+        <repository>
+            <id>myfaces-snapshots</id>
+            <name>myfaces-snapshots</name>
+            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+            <snapshots>
+                <enabled>true</enabled>
+            </snapshots>
+        </repository>
+
+    </repositories>
+
+    <pluginRepositories>
+        <!-- for myfaces builder plugin -->
+        <pluginRepository>
+            <id>myfaces-snapshots</id>
+            <name>myfaces-snapshots</name>
+            <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+        </pluginRepository>
+    </pluginRepositories>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.myfaces.core</groupId>
+            <artifactId>myfaces-api</artifactId>
+            <version>2.0.1</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.myfaces.core</groupId>
+            <artifactId>myfaces-impl</artifactId>
+            <version>2.0.1</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-source</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+    
+    <properties>
+        <shared-core-version>4.0.2</shared-core-version>
+    </properties>
+
+</project>
\ No newline at end of file