This should be possible but you won't be able @Symbol and you will need to
reference specific symbol providers (by name or annotation).

eg:

// FactoryDefaults are resolved before application defaults
public void contributeFactoryDefaults(MappedConfiguration<String,String>
config) {
   config.add("mySymbol1", "foo");
}

// ApplicationDefaults can depend on FactoryDefaults
public void contributeApplicationDefaults(MappedConfiguration<String,String>
config, @InjectService("FactoryDefaults") SymbolProvider factoryDefaults) {
   String mySymbol1 = factoryDefaults.valueForSymbol("mySymbol1");
   config.add("mySymbol2", doSomething(mySymbol1));
}



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/t-5-3-4-Couldn-t-use-a-symbol-dependant-SymbolProvider-tp5716141p5716158.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to