|
begginers spring integration: msg#00209java.dwr.user
Hello, i have those beans: <bean id="prodMan" class="bus.ProductManager"> <property name="products"> <list> <ref bean="product1"/> <ref bean="product2"/> <ref bean="product3"/> </list> </property> </bean> <bean id="product1" class="bus.Product"> <property name="description"><value>Lamp</value></property> <property name="price"><value>5.75</value></property> </bean> <bean id="product2" class="bus.Product"> <property name="description"><value>Table</value></property> <property name="price"><value>75.25</value></property> </bean> <bean id="product3" class="bus.Product"> <property name="description"><value>Chair</value></property> <property name="price"><value>22.79</value></property> </bean> and for them i create dwr.xml: <dwr> <allow> <create creator="spring" javascript="prodMan"> <param name="beanName" value="prodMan"/> </create> <create creator="spring" javascript="product1"> <param name="beanName" value="product1"></param> </create> <create creator="spring" javascript="product2"> <param name="beanName" value="product2"></param> </create> <create creator="spring" javascript="product3"> <param name="beanName" value="product3"></param> </create> </allow> </dwr> i have jsp page where i can increase the prices (thats a tutorial application from http://www.springframework.org/docs/MVC-step-by-step/Spring-MVC-step-by-step-Part-1.html) However thos changes do not appear when reading the values on dwr test pages, nor the changes made with dwr are not shown at original jsp's. Am i wrong or I have 2 different beans one for spring and one for dwr?
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | How to convert exceptions ?, Thierry Olivier |
|---|---|
| Next by Date: | RE: begginers spring integration, Thierry Olivier |
| Previous by Thread: | How to convert exceptions ?, Thierry Olivier |
| Next by Thread: | RE: begginers spring integration, Thierry Olivier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |