All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.templates._attributes-old.ftl Maven / Gradle / Ivy

The newest version!
    <#list generatedAttributes as attribute>
    private ${attribute.typeName} ${attribute.name};
    <#if (attribute.isPrimitive)>private boolean is${attribute.capitalizeName}Setted = false;
    

    <#list generatedAttributes as attribute>
    
        <#if (attribute.isPrimitive)>
            <#include "_attribute-accessor-primitive.ftl" />
        <#else>
            <#include "_attribute-accessor.ftl" />
        
    

    private static FacesContext getFacesContext() {
        return FacesContext.getCurrentInstance();
    }

    private static ValueBinding getValueBinding(String name) {
        return getFacesContext().getApplication().createValueBinding(name);
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy