0

What is the proper way to inject spring beans into Composers

asked 2011-11-26 18:04:26 +0800

mmistroni gravatar image mmistroni
9

hello all
i have been reading all possible tutorials but i could not find any good sample to inject spring beans into my Composers.
i am using jars from zkplus and zkspring core. but still my spring beans dont get injected into my composers.

what am i missing?

when i declare org.zkoss.spring.web.context.CoreContextListener my app fails to start up with no informations.
if i remove it, i can start my app but my spring beans don't get injected

could anyone point me to a sample where spring beans are injected into composers?


w/kindest regarsd
marco

delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2011-11-26 18:10:01 +0800

mmistroni gravatar image mmistroni
9

i was missing extending GenericAutowireComposer....


sorry for botherig.......


rgs
marco

link publish delete flag offensive edit

answered 2011-11-26 23:19:34 +0800

mmistroni gravatar image mmistroni
9

it was not that actually

it was this in the page that did it

<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2011-11-26 18:04:26 +0800

Seen: 292 times

Last updated: Nov 26 '11

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More