MentaTutorials

Compare Revisions

Ignore whitespace Rev 36 → Rev 37

/MentaRefApp/trunk/src/main/java/org/menta/AppManager.java
4,10 → 4,12
 
import org.menta.action.LoginAction;
import org.menta.action.UserAction;
import org.menta.dao.UserDAO;
import org.menta.dao.jdbc.JdbcUserDAO;
import org.menta.model.Group;
import org.menta.model.Language;
import org.menta.model.User;
import org.mentabean.BeanSession;
import org.mentabean.DBTypes;
import org.mentabean.util.SQLUtils;
import org.mentawai.action.LogoutAction;
120,15 → 122,15
filter(new ValidationFilter());
filter(new TransactionFilter("transaction"));
filter(new TransactionFilter());
}
@Override
public void setupIoC() {
 
ioc("beanSession", props.getClass("mentabean.dialect"));
ioc(BeanSession.class, props.getClass("mentabean.dialect"));
ioc("userDAO", JdbcUserDAO.class);
ioc(UserDAO.class, JdbcUserDAO.class);
}
@Override
/MentaRefApp/trunk/pom.xml
45,7 → 45,7
<dependency>
<groupId>me.soliveirajr</groupId>
<artifactId>mentawai</artifactId>
<version>2.5.1</version>
<version>2.5.2</version>
</dependency>
 
</dependencies>