[jboss-cvs] jboss-seam/ui/src/main/java/org/jboss/seam/ui/component ...
Peter Muir
peter at bleepbleep.org.uk
Fri Nov 23 17:59:46 EST 2007
User: pmuir
Date: 07/11/23 17:59:46
Added: ui/src/main/java/org/jboss/seam/ui/component
UIConversationName.java
Log:
JBSEAM-2124 (part 1, Shane will do part2)
Revision Changes Path
1.1 date: 2007/11/23 22:59:46; author: pmuir; state: Exp;jboss-seam/ui/src/main/java/org/jboss/seam/ui/component/UIConversationName.java
Index: UIConversationName.java
===================================================================
/**
* License Agreement.
*
* Ajax4jsf 1.1 - Natural Ajax for Java Server Faces (JSF)
*
* Copyright (C) 2007 Exadel, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package org.jboss.seam.ui.component;
import javax.faces.component.UIParameter;
import javax.faces.context.FacesContext;
/**
* JSF component class
*
*/
public abstract class UIConversationName extends UIParameter {
private static final String COMPONENT_TYPE = "org.jboss.seam.ui.ConversationName";
@Override
public String getName()
{
return "conversationName";
}
public static UIConversationName newInstance() {
return (UIConversationName) FacesContext.getCurrentInstance().getApplication().createComponent(COMPONENT_TYPE);
}
}
More information about the jboss-cvs-commits
mailing list