|
RE: begginers spring integration: msg#00210java.dwr.user
Maybe you should add convert clauses since beans are not converted automatically. Something like : <convert match="bus.Product" converter="bean" /> before </allow> -----Message d'origine----- De : Keneida Jakoito Niemago [mailto:keneida-h7QdYz1kt/Q@xxxxxxxxxxxxxxxx] Envoyé : mardi 27 février 2007 14:42 À : users-EyPigyGktj4FDOXUYO6UHQ@xxxxxxxxxxxxxxxx Objet : [dwr-user] begginers spring integration 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? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe-EyPigyGktj4FDOXUYO6UHQ@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help-EyPigyGktj4FDOXUYO6UHQ@xxxxxxxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | begginers spring integration, Keneida Jakoito Niemago |
|---|---|
| Next by Date: | engine.js compression, matan-FP6co0geiwbQT0dZR+AlfA |
| Previous by Thread: | begginers spring integration, Keneida Jakoito Niemago |
| Next by Thread: | engine.js compression (cont), matan-FP6co0geiwbQT0dZR+AlfA |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |