bindings locators are different from object locators.
you can not use <inject object="ognl:
and neither <binding value="service:
now implementing a binding prefix locator should be quite simple,
take a look at
http://jakarta.apache.org/tapestry/tapestry/hivedocs/module/tapestry.bindings.html
to get started.
however, I would suspect this design, since passing a service (or a
spring bean) seems to me obsolete - just inject it to the target
component...
but I migh be wrong on that...
Cheers,
Ron
Douglas Hubler 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]