Skip to content

Commit

Permalink
Added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanrauh committed Jul 4, 2016
1 parent 462210f commit c2c433a
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/main/java/net/bootsfaces/demo/ShakeBean.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* A Bean Used for Demo purposes
*/
package net.bootsfaces.demo;

import java.io.Serializable;
import java.util.Date;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

import net.bootsfaces.utils.FacesMessages;

/**
*
* @author TheCoder4eu
*/
@ManagedBean
@RequestScoped
public class ShakeBean implements Serializable {
private static final long serialVersionUID = -1;

public void onShaken() {
FacesMessages.info("Shaken at " + new Date());
}
}

0 comments on commit c2c433a

Please sign in to comment.