!"EDIT".equals(state.getMode())) {
return;
}
// The first time in, prepopulate our input field values
User user = state.getUser();
org.apache.struts.apps.mailreader.dao.Subscription subscription =
user.findSubscription(state.getHost());
if (!isPostBack()) {
setHost(subscription.getHost());
setUsername(subscription.getUsername());
setPassword(subscription.getPassword());
setType(subscription.getType());