view src/main/java/org/docs/richfaces/RichBean.java @ 98:9b02c9af49b0

add file upload to import merge.
author casties
date Fri, 28 Oct 2016 19:06:21 +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;
    }
}