view src/main/java/org/docs/richfaces/RichBean.java @ 163:1611da70e43e

move delete button in entity details to better place.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Thu, 17 May 2018 14:42:57 +0200
parents 2e911857a759
children
line wrap: on
line source

package org.docs.richfaces;

import java.io.Serializable;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;

@ViewScoped
@ManagedBean
public class RichBean implements Serializable {

    private static final long serialVersionUID = -6239437588285327644L;

    private String name;

    @PostConstruct
    public void postContruct() {
        name = "John";
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}