Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The "Tapestry5HowToCreateAConfigureableService" page has been changed by DanielCaldeweyher. http://wiki.apache.org/tapestry/Tapestry5HowToCreateAConfigureableService?action=diff&rev1=1&rev2=2 -------------------------------------------------- And now we'll just need to create two different services, based on the different credentials: {{{ - # Java code public class AppModule { @ServiceId("paypal.nvp.sandbox") public static PayPalNVPService buildPayPalNVPSandboxService( @@ -81, +80 @@ } } }}} + (If anyone knows how to evaluate symbols inside contributeApplicationDefaults, please let me know as I would prefer to just simply create 3 new symbols for username, password and signature and then in inject the symbols into the service implementation and used auto-building.) And lastly inject the service into our page. Notice how we have to evaluate the PayPalNVPService symbol to get the actual service id: {{{ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
