hi,
i have my own theme for my portlet.
this theme is packaged in a webapp. (i override the tag region and make custom tag)
i would like to get the LayoutService in this web app, but i don't know how to
retrieve it.
i know that it's possible to inject services into portlet context with
jboss-portlet.xml but how to achieve that with a simple web app ?
i tried:
[...]new initialContext.lookup("java:/portal/LayoutService")
without succes, i can't see the mbean LayoutService in the jndi view.
i also tried to get the mbean with the platformMBeanServer, he find the bean with its name
but i can't retrieve the instance.
i'm sure there is an easy way to do this but i don't find it :D
thanks for help
regards
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063893#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...