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

net.sf.ahtutils.jsf.components.PfSaveUpdate Maven / Gradle / Ivy

There is a newer version: 0.2.5
Show newest version
package net.sf.ahtutils.jsf.components;

import javax.el.MethodExpression;
import javax.faces.component.FacesComponent;
import javax.faces.component.UINamingContainer;
import javax.faces.context.FacesContext;

@FacesComponent(value="net.sf.ahtutils.jsf.components.PfSaveUpdate")
public class PfSaveUpdate extends UINamingContainer
{
    public void actionListener()
    {
        FacesContext context = FacesContext.getCurrentInstance();
        MethodExpression ajaxEventListener = (MethodExpression) getAttributes().get("actionListener");
        ajaxEventListener.invoke(context.getELContext(), new Object[] {});
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy