Henri Dupre wrote:

On 7/23/05, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
There's documentation on the Wiki about integrating Tapestry and Spring.

Once it's done, it looks like:

@InjectObject("spring:MyBean")
public abstract MyBean getMyBean();

// or <inject property="myBean" object="spring:MyBean"/>

This generates a read-onlyl property on the page/component for
accessing the named Spring bean.

That's pretty clear in the wiki but what Serge and I were wondering is
about injecting the properties into other classes than Page or
Components.

Henri.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Can't you use the WebApplicationContextUtils to get a handle to a Spring context?

scott,

--

Scott F. Walter         Scott F. Walter
Principal Consultant
Vivare, Inc.

E: [EMAIL PROTECTED]
E: [EMAIL PROTECTED]
Visit scottwalter.com <http://scottwalter.com> --Point.  Click.  Explore!




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to