-
FEATURED COMPONENTS
First time here? Check out the FAQ!
i have a customComponent in lang-addon.xml i have something like this
<component>
<component-name>customComponent</component-name>
<component-class></component-class>
<macro-uri>myZUL</macro-uri>
</component>
<component-class></component-class>
but my component-class is a SpringBean... how can i reference it...
thanks a lot...
Javiut,
Are you sure what you are trying to do? First of all you mix server tier with gui tier, witch is bad practice. Secondly, SpringBean is singleton how can you use your marcocomponent over multiple users?
If you still want it, I suggest easiest way a wrapper or convertor in the gui tier and inside that class you call the SpringBean.
Greetz chill.
Asked: 2014-09-16 16:43:12 +0800
Seen: 5 times
Last updated: Sep 16 '14
Zk + Spring Security redirect to strange page after login
ZK Spring webflow and flowScope
Spring security doesn't return user inside event listener
ZK Spring 3.1.1 MVVM Use @Scope/@Component or No?
Upgrading from Spring3.1 to 3.1.1 Maven.. pulls in 3.0.x jars... issues
When would I want to use ThreadLocalListener?
ZKoss with springsecurity using database