You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2005/09/15 14:31:07 UTC

svn commit: r289224 - in /myfaces/examples/trunk/sandbox: inputSuggestAjax.jsp validateUrl.jsp

Author: mmarinschek
Date: Thu Sep 15 05:31:03 2005
New Revision: 289224

URL: http://svn.apache.org/viewcvs?rev=289224&view=rev
Log:
slight fixes in sandbox

Modified:
    myfaces/examples/trunk/sandbox/inputSuggestAjax.jsp
    myfaces/examples/trunk/sandbox/validateUrl.jsp

Modified: myfaces/examples/trunk/sandbox/inputSuggestAjax.jsp
URL: http://svn.apache.org/viewcvs/myfaces/examples/trunk/sandbox/inputSuggestAjax.jsp?rev=289224&r1=289223&r2=289224&view=diff
==============================================================================
--- myfaces/examples/trunk/sandbox/inputSuggestAjax.jsp (original)
+++ myfaces/examples/trunk/sandbox/inputSuggestAjax.jsp Thu Sep 15 05:31:03 2005
@@ -37,10 +37,10 @@
        </style>
      <h:panelGrid columns="2">
        <h:outputText value="default suggest"/>
-       <s:inputsuggestajax suggestedItemsMethod="#{inputsuggestajax.getItems}" styleLocation="" />
+       <s:inputSuggestAjax suggestedItemsMethod="#{inputSuggestAjax.getItems}" styleLocation="" />
 
        <h:outputText value="suggest with limited suggested items"/>
-       <s:inputsuggestajax suggestedItemsMethod="#{inputsuggestajax.getItems}" styleLocation="" maxSuggestedItems="2" />
+       <s:inputSuggestAjax suggestedItemsMethod="#{inputSuggestAjax.getItems}" styleLocation="" maxSuggestedItems="2" />
 
       </h:panelGrid>
    </h:form>

Modified: myfaces/examples/trunk/sandbox/validateUrl.jsp
URL: http://svn.apache.org/viewcvs/myfaces/examples/trunk/sandbox/validateUrl.jsp?rev=289224&r1=289223&r2=289224&view=diff
==============================================================================
--- myfaces/examples/trunk/sandbox/validateUrl.jsp (original)
+++ myfaces/examples/trunk/sandbox/validateUrl.jsp Thu Sep 15 05:31:03 2005
@@ -1,9 +1,9 @@
-<%@ page import="java.math.BigDecimal,
-                 java.util.Date"%>
 <%@ page session="false" contentType="text/html;charset=utf-8"%>
 <%@ 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/extensions" prefix="x"%>
+<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
+
 <html>
 
 <%@include file="inc/head.inc" %>
@@ -62,7 +62,7 @@
 
                                <h:outputLabel for="url" value="#{example_messages['validate_url']}" />
             <h:inputText id="url" value="#{validateForm.url}" required="true">
-                <s:validateUrl id="org.apache.myfaces.validator.Url"/>
+                <s:validateUrl />
             </h:inputText>            
                                 <x:message id="urlError" for="url" styleClass="error" />