You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mk...@apache.org on 2005/11/28 23:43:50 UTC

svn commit: r349541 - /myfaces/examples/trunk/sandbox/focus.jsp

Author: mkienenb
Date: Mon Nov 28 14:43:47 2005
New Revision: 349541

URL: http://svn.apache.org/viewcvs?rev=349541&view=rev
Log:
Subclipse failure correction.   Delete != Update.
Checking in new version of focus example, take 2.

Added:
    myfaces/examples/trunk/sandbox/focus.jsp   (with props)

Added: myfaces/examples/trunk/sandbox/focus.jsp
URL: http://svn.apache.org/viewcvs/myfaces/examples/trunk/sandbox/focus.jsp?rev=349541&view=auto
==============================================================================
--- myfaces/examples/trunk/sandbox/focus.jsp (added)
+++ myfaces/examples/trunk/sandbox/focus.jsp Mon Nov 28 14:43:47 2005
@@ -0,0 +1,81 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
+
+<!--
+/*
+ * Copyright 2004 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.
+ */
+//-->
+<html>
+
+	<%@include file="inc/head.inc" %>
+
+<body>
+  	<f:view>	
+		<f:verbatim>
+			   setting focus on input2<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+			   text<br/>
+		</f:verbatim>
+		<h:form id="formTest">
+				<h:outputLabel for="input1" value="Input1: "/>
+				<h:inputText id="input1"/>
+				<h:outputLabel for="input2" value="Input2: "/>
+				<h:inputText id="input2"/>
+				<h:outputLabel for="input3" value="Input3: "/>
+				<h:inputText id="input3"/>
+				<s:focus id="focus" for="input2" />
+		</h:form>
+  	</f:view>	
+</body>
+
+<%@include file="inc/page_footer.jsp" %>
+
+</html>
\ No newline at end of file

Propchange: myfaces/examples/trunk/sandbox/focus.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/examples/trunk/sandbox/focus.jsp
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL