Loading...

transfer-dev@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [transfer-dev] Cannot set properties on factory-bean result Bob Silverberg Sat Mar 06 18:00:08 2010

Did you mean to send this to the Coldspring list?

Sent from my iPhone

On 2010-03-06, at 7:06 PM, Elliott Sprehn <[EMAIL PROTECTED]> wrote:

I'm trying to set properties on a bean that's returned from a factory-
bean.

Here's a simple a test case:

<beans>

   <bean id="Factory" class="testing.Factory">
   </bean>

   <bean id="Child" factory-bean="Factory" factory-method="create">
       <property name="Property">
           <value>400</value>
       </property>
   </bean>

</beans>

ColdSpring throws an error:

The VALUE parameter to the setProperty function is required but was
not passed in.

/coldspring/beans/DefaultXmlBeanFactory.cfc: line 940
/coldspring/beans/DefaultXmlBeanFactory.cfc: line 632

Can you not use property elements on factory-bean results?

-- Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

You received this message because you are subscribed to the Google Groups "transfer-dev" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en

--
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en