com.evasion.common.component.FormBlock Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.evasion.common.component;
import com.evasion.common.Component;
import javax.faces.application.ResourceDependencies;
import javax.faces.application.ResourceDependency;
import javax.faces.component.FacesComponent;
/**
*
* @author glon-56610
*/
@FacesComponent(value = "com.evasion.common.component.FormBlock")
@ResourceDependencies({
@ResourceDependency(name = "component/core.css", target = "head"),
@ResourceDependency(name = "component/theme.css", target = "head")
})
public class FormBlock extends Component{
protected enum PropertyKeys {
header,
showHeader,
styleClass;
String toString;
PropertyKeys(String toString) {
this.toString = toString;
}
PropertyKeys() {
}
@Override
public String toString() {
return ((toString != null) ? toString : super.toString());
}
}
}