0

Zk CustomComponent SpringBean

asked 2014-09-16 16:43:12 +0800

javiut gravatar image javiut flag of Venezuela, Bolivarian Republic of
90 1 5

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...

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-09-16 21:06:51 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

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.

link publish delete flag offensive edit
Your answer
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
1 follower

RSS

Stats

Asked: 2014-09-16 16:43:12 +0800

Seen: 5 times

Last updated: Sep 16 '14

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