Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-tapestry Wiki" for change notification.
The following page has been changed by HowardLewisShip: http://wiki.apache.org/jakarta-tapestry/Tapestry3HiveMind The comment on the change is: Add type attribute to <property-specification> ------------------------------------------------------------------------------ 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]
