git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@22338 d1611594-4594-4d17-8e1d-87c2c4800839
parent
fdd757cb81
commit
0a8d6b1668
|
@ -1,21 +1,17 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
|
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:p="http://www.springframework.org/schema/p" xmlns:aop="http://www.springframework.org/schema/aop"
|
||||||
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:p="http://www.springframework.org/schema/p"
|
|
||||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
||||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
||||||
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
|
||||||
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
|
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
|
||||||
|
|
||||||
<!-- Hibernate config -->
|
<!-- Hibernate config -->
|
||||||
<context:property-placeholder
|
<context:property-placeholder location="classpath:/com/rjconsultores/ventaboletos/web/cliente/conf/database.properties" />
|
||||||
location="classpath:/com/rjconsultores/ventaboletos/web/cliente/conf/database.properties" />
|
|
||||||
<context:component-scan base-package="com.rjconsultores.ventaboletos" />
|
<context:component-scan base-package="com.rjconsultores.ventaboletos" />
|
||||||
<tx:annotation-driven transaction-manager="transactionManager" />
|
<tx:annotation-driven transaction-manager="transactionManager" />
|
||||||
|
|
||||||
<bean id="sessionFactory"
|
<bean id="sessionFactory" class="com.rjconsultores.ventaboletos.utilerias.spring.MyAnnotationSessionFactoryBean">
|
||||||
class="com.rjconsultores.ventaboletos.utilerias.spring.MyAnnotationSessionFactoryBean">
|
|
||||||
<property name="dataSource">
|
<property name="dataSource">
|
||||||
<ref local="dataSource" />
|
<ref local="dataSource" />
|
||||||
</property>
|
</property>
|
||||||
|
@ -298,44 +294,37 @@
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="transactionManager"
|
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
||||||
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
|
||||||
<property name="sessionFactory" ref="sessionFactory" />
|
<property name="sessionFactory" ref="sessionFactory" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<bean id="contextApplicationContextProvider"
|
<bean id="contextApplicationContextProvider" class="com.rjconsultores.ventaboletos.web.utilerias.spring.ApplicationContextProvider">
|
||||||
class="com.rjconsultores.ventaboletos.web.utilerias.spring.ApplicationContextProvider">
|
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> -->
|
<!-- <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> -->
|
||||||
<!-- <property name="resourceRef" value="true" /> -->
|
<!-- <property name="resourceRef" value="true" /> -->
|
||||||
<!-- <property name="jndiName" value="${database.jndi.name}" /> -->
|
<!-- <property name="jndiName" value="${database.jndi.name}" /> -->
|
||||||
<!-- </bean> -->
|
<!-- </bean> -->
|
||||||
|
|
||||||
<bean id="dataSource"
|
<bean id="dataSource"
|
||||||
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
||||||
<property name="driverClassName" value="${database.driver}" />
|
<property name="driverClassName" value="${database.driver}" />
|
||||||
<property name="url" value="${database.url}" />
|
<property name="url" value="${database.url}" />
|
||||||
<property name="username" value="${database.username}" />
|
<property name="username" value="${database.username}" />
|
||||||
<property name="password" value="${database.password}" />
|
<property name="password" value="${database.password}" />
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<!-- ====================================================== -->
|
<!-- ====================================================== -->
|
||||||
<!-- Search class from Hibernate-Generic-DAO framework -->
|
<!-- Search class from Hibernate-Generic-DAO framework -->
|
||||||
<!-- ====================================================== -->
|
<!-- ====================================================== -->
|
||||||
<bean id="hibernateSearchSupport" scope="prototype"
|
<bean id="hibernateSearchSupport" scope="prototype" class="com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchSupportImpl">
|
||||||
class="com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchSupportImpl">
|
|
||||||
<property name="sessionFactory" ref="sessionFactory" />
|
<property name="sessionFactory" ref="sessionFactory" />
|
||||||
<property name="hibernateSearchProcessor">
|
<property name="hibernateSearchProcessor">
|
||||||
<bean class="com.trg.search.hibernate.HibernateSearchProcessor"
|
<bean class="com.trg.search.hibernate.HibernateSearchProcessor" factory-method="getInstanceForSessionFactory">
|
||||||
factory-method="getInstanceForSessionFactory">
|
|
||||||
<constructor-arg ref="sessionFactory" />
|
<constructor-arg ref="sessionFactory" />
|
||||||
</bean>
|
</bean>
|
||||||
</property>
|
</property>
|
||||||
</bean>
|
</bean>
|
||||||
<bean id="sqlFactory"
|
<bean id="sqlFactory" class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLFactory" />
|
||||||
class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLFactory" />
|
<bean id="sqlBuilder" class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLBuilder" factory-bean="sqlFactory" factory-method="getBuilder" />
|
||||||
<bean id="sqlBuilder"
|
|
||||||
class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLBuilder"
|
|
||||||
factory-bean="sqlFactory" factory-method="getBuilder" />
|
|
||||||
</beans>
|
</beans>
|
|
@ -7,7 +7,7 @@
|
||||||
# <controler>. <id>. <propiedade> = XXX
|
# <controler>. <id>. <propiedade> = XXX
|
||||||
|
|
||||||
#Versao do VentaBoleto:
|
#Versao do VentaBoleto:
|
||||||
versao = ADM_20121029_1RC77
|
versao = ADM_20121031_1RC78
|
||||||
|
|
||||||
# MSG Defaut:
|
# MSG Defaut:
|
||||||
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100
|
MSG.CONSTRAINT.PORCENTAGEM = Os valores devem estar entre 0 e 100
|
||||||
|
|
|
@ -118,6 +118,12 @@
|
||||||
value="getSaltoBilhete" label="Salto Bilhete" />
|
value="getSaltoBilhete" label="Salto Bilhete" />
|
||||||
<comboitem
|
<comboitem
|
||||||
value="getCorridaExtra" label="Corrida Extra" />
|
value="getCorridaExtra" label="Corrida Extra" />
|
||||||
|
<comboitem
|
||||||
|
value="getNsuSitef" label="NSU Sitef" />
|
||||||
|
<comboitem
|
||||||
|
value="getNsuHostSitef" label="NSU Host Sitef" />
|
||||||
|
<comboitem
|
||||||
|
value="getAutorizacaoSitef" label="Autorização Sitef" />
|
||||||
</combobox>
|
</combobox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
|
|
Loading…
Reference in New Issue