Hey guys,
I'm super impressed by FW/1 and DI/1. Though I'm still getting used to both of them, I'm really enjoying them so far.
Currently, autowiring is working great for me in Controllers and also working for me in my Services (within my model/services directory). However, for some reason I can't get autowiring to work for me in my beans (model/beans). Is this by design or am I just doing something wrong? This is how my bean of interest (Product) looks:
component accessors="true" {
property udfs;
public Product function init(){
return this;
}
public string function getPrice(){
// variables.udfs not available here
}
}
The bean is being instantiated within my /model/services/ProductService with the cfml "new" statement:
myProduct = new model.beans.Product();
Any insight is much appreciated.
Brian