Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by NickWestgate: http://wiki.apache.org/tapestry/Tapestry3HiveMind ------------------------------------------------------------------------------ In your page specification, you define a new property, using the <property-specification> element: {{{ - <property-specification name="timeService"> + <property-specification name="timeService" type="com.examples.myapp.services.TimeService"> global['app.TimeService'] </property-specification> }}} The initial value of the property, here defined as the body of the element, is the OGNL expression. We've set up the global object - as the HiveMind Registry. The PropertyAccessor allows us to access services by their fully-qualified service id. + as the HiveMind Registry. The !RegistryPropertyAccessor allows us to access services by their fully-qualified service id (you can actually use single + or double quotes; for some reason, single quotes just ''look right''). We can access this property in Java code as well: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
