You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2004/12/29 14:28:43 UTC
cvs commit: incubator-myfaces/webapps/tiles/src/org/apache/myfaces/tiles/example DemoActionListener.java
matzew 2004/12/29 05:28:43
Added: webapps/tiles/src/org/apache/myfaces/tiles/example
DemoActionListener.java
Log:
changed Tiles sample
Revision Changes Path
1.1 incubator-myfaces/webapps/tiles/src/org/apache/myfaces/tiles/example/DemoActionListener.java
Index: DemoActionListener.java
===================================================================
/*
* 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.
*/
package org.apache.myfaces.tiles.example;
import javax.faces.event.AbortProcessingException;
import javax.faces.event.ActionEvent;
import javax.faces.event.ActionListener;
/**
* @author <a href="mailto:matzew@apache.org">Matthias We�endorf</a>
*/
public class DemoActionListener implements ActionListener {
/* (non-Javadoc)
* @see javax.faces.event.ActionListener#processAction(javax.faces.event.ActionEvent)
*/
public void processAction(ActionEvent actionEvent)
throws AbortProcessingException {
System.out.println("Phase: "+actionEvent.getPhaseId());
}
}