This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jared Williams
committed
Nov 15, 2011
1 parent
2a23b2b
commit b865c90
Showing
13 changed files
with
196 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ | |
else { | ||
%> | ||
<jsp:forward page="index.jsp" /> | ||
<jsp:forward page="/" /> | ||
<% | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" | ||
pageEncoding="ISO-8859-1"%> | ||
<% | ||
session.setAttribute("subs", null); | ||
session.setAttribute("fn", null); | ||
session.setAttribute("ln", null); | ||
session.setAttribute("e", null); | ||
session.setAttribute("oldemail", null); | ||
session.setAttribute("update", null); | ||
%> | ||
|
||
<jsp:forward page="/" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,7 +70,7 @@ | |
%> | ||
|
||
<jsp:forward page="index.jsp" /> | ||
<jsp:forward page="/" /> | ||
|
||
<% | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
|
||
package bbsignup.model; | ||
|
||
import javax.jdo.annotations.PersistenceCapable; | ||
|
||
@PersistenceCapable | ||
public class OldSenator { | ||
String name; | ||
String url; | ||
String openLegName; | ||
|
||
boolean democrat; | ||
boolean republican; | ||
boolean conservative; | ||
boolean workingFamilies; //WF | ||
//boolean independentParty; //I | ||
boolean independenceParty; //IP | ||
//boolean independent; //ind | ||
|
||
public OldSenator() { | ||
democrat = false; | ||
republican = false; | ||
conservative = false; | ||
workingFamilies = false; | ||
independenceParty = false; | ||
} | ||
|
||
public OldSenator(Senator senator) { | ||
this.name = senator.name; | ||
this.url = senator.url; | ||
this.openLegName = senator.openLegName; | ||
this.democrat = senator.democrat; | ||
this.republican = senator.republican; | ||
this.conservative = senator.conservative; | ||
this.workingFamilies = senator.workingFamilies; | ||
this.independenceParty = senator.independenceParty; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public String getUrl() { | ||
return url; | ||
} | ||
|
||
public String getOpenLegName() { | ||
return openLegName; | ||
} | ||
|
||
public boolean isDemocrat() { | ||
return democrat; | ||
} | ||
|
||
public boolean isRepublican() { | ||
return republican; | ||
} | ||
|
||
public boolean isConservative() { | ||
return conservative; | ||
} | ||
|
||
public boolean isWorkingFamilies() { | ||
return workingFamilies; | ||
} | ||
|
||
public boolean isIndependenceParty() { | ||
return independenceParty; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public void setUrl(String url) { | ||
this.url = url; | ||
} | ||
|
||
public void setOpenLegName(String openLegName) { | ||
this.openLegName = openLegName; | ||
} | ||
|
||
public void setDemocrat(boolean democrat) { | ||
this.democrat = democrat; | ||
} | ||
|
||
public void setRepublican(boolean republican) { | ||
this.republican = republican; | ||
} | ||
|
||
public void setConservative(boolean conservative) { | ||
this.conservative = conservative; | ||
} | ||
|
||
public void setWorkingFamilies(boolean workingFamilies) { | ||
this.workingFamilies = workingFamilies; | ||
} | ||
|
||
public void setIndependenceParty(boolean independanceParty) { | ||
this.independenceParty = independanceParty; | ||
} | ||
|
||
public String getParty() { | ||
|
||
String ret = ""; | ||
if(democrat) { | ||
ret = "d"; | ||
} | ||
else if(republican) { | ||
ret = "r"; | ||
} | ||
if(independenceParty) { | ||
ret = getPartyHelper(ret,"ip"); | ||
} | ||
if(conservative) { | ||
ret = getPartyHelper(ret,"c"); | ||
} | ||
if(workingFamilies) { | ||
ret = getPartyHelper(ret,"wf"); | ||
} | ||
|
||
return ret; | ||
} | ||
|
||
public String getPartyHelper(String parties, String party) { | ||
if(parties.equals("")) { | ||
return party; | ||
} | ||
return parties + " - " + party; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters