Once you have @InjectObject("spring:foobean") working, you can then
reference it using the (slightly awkward) binding prefix,
"hivemind:spring:foobean".This is a tale of two prefixes. For injection,used within HiveMind and with the @InjectObject annotation, we are talking about "object reference prefixes", defined by HiveMind, such as "service:", "configuration:" and a bunch of others, such as "class:" and "instance:". hivemind-lib adds "spring:" (though it takes a little configuration), and Tapestry adds "infrastructure:" and "engine-srevice:". Tapestry also defines binding prefixes, such as "ognl:", "message:", "component:" and so forth. Hidden in there is "hivemind:" which treats the remainder of the string as a HiveMind object reference. Thus hivemind:spring:foobean is a HiveMind binding around the object reference "spring:foobean", and "spring:foobean" is a HiveMind object reference around "foobean" from the default Spring application context. Make sense? On 2/9/06, Douglas Hubler <[EMAIL PROTECTED]> wrote: > I keep getting > > Unable to parse OGNL expression 'spring:validSerialNumber': Malformed OGNL > expression: spring:validSerialNumber > > I worked thru guide > > http://wiki.apache.org/jakarta-tapestry/Tapestry4Spring > > But it suggest 2 step approach > <inject property="person" object="spring:person" /> > ... > <span jwcid="@Insert" value="ognl:person.name" /> > > > And I want/need > > <span jwcid="@Insert" value="spring:person.name" /> > > > Do I need to build my own classes that extend: > org.apache.tapestry.binding.AbstractBindingFactory > org.apache.tapestry.binding.AbstractBinding > > If so, has anyone already done this that would care to share. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Independent J2EE / Open-Source Java Consultant Creator, Jakarta Tapestry Creator, Jakarta HiveMind Professional Tapestry training, mentoring, support and project work. http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
