Hi,

I've got a properties file that gets added with contributeSymbolSource(...) in 
AppModule and injection of the values with @Inject @Symbol(value="myProperty") 
works well. Unfortunately, it doesn't work in classes that are subclasses of 
CayenneDataObject (I use cayenne as OR mapper), since these aren't page, 
component, mixin or service classes.

So I inject the value that I need in four different page classes that don't 
need to know about this internal value, and use it as parameter when I call 
some methods of the cayenne entity classes that need this value.

Is there another way or a better way to access symbols from POJO classes? 
I can't use a constant because the value in the properties file is for the 
production system but gets overridden in the eclipse launch config during 
development.


Cheers,
Bjello






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to