logo       

beans with bean ref: msg#00201

java.dwr.user

Subject: beans with bean ref

Hello,
I'm sorry if my question is trivial but i can not find solution.
I have a beans:
<bean id="prodMan" class="bus.ProductManager">
<property name="products">
<list>
<ref bean="product1"/>
<ref bean="product2"/>
<ref bean="product3"/>
</list>
</property>
<dwr:remote javascript="prodMan"></dwr:remote>
</bean>

<bean id="product1" class="bus.Product">
<property name="description"><value>Lamp</value></property>
<property name="price"><value>5.75</value></property>
<dwr:remote javascript="product1"></dwr:remote>
</bean>
And if i access them with DWR, i can get the values of product1 but dwr shows
me empty list for bean prodMan.
Can somebody give me a hint?
regards,
keneida


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise