Skip to content

Instantly share code, notes, and snippets.

@SergioLarios
Created November 27, 2014 14:47
Show Gist options
  • Save SergioLarios/0993867f082dc64fac3a to your computer and use it in GitHub Desktop.
Save SergioLarios/0993867f082dc64fac3a to your computer and use it in GitHub Desktop.
package com.hibu.chile.form;
import com.hibu.chile.util.BeanToString;
import com.hibu.chile.web.FormUtils.Param;
public class LoginForm extends BeanToString {
/* *******************************
********* Form Fields ***********
****************************** */
@Param(name = USER)
private String user;
@Param(name = PSSW)
private String pssw;
/* *******************************
********* Form Names ************
****************************** */
public static final String USER = "login_user";
public static final String PSSW = "login_pssw";
/* *******************************
****** Setters & Getters ********
******************************* */
public String getUser() { return user; }
public void setUser(String user) { this.user = user; }
public String getPssw() { return pssw; }
public void setPssw(String pssw) { this.pssw = pssw; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment