How can I get a reference to a portletinvocer object? I have a facesContext.
Can find it in there?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041904#4041904
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041904
___
I get a strange error when I try to create an Instance via the
instancecontainer.
19:29:49,197 ERROR [STDERR] java.lang.IllegalArgumentException: Bad portlet id
format AboutPortlet
| 19:29:49,200 ERROR [STDERR] at
org.jboss.portal.federation.impl.FederatingPortletInvokerService.getFederat
Forget my last reply. I fetched the InstanceContaner just as you suggested.
Then I don't need to instantiate the InstanceImpl.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037698#4037698
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=pos
hello.
I think I have solved it by doing this:
| try{
| w = page.createWindow("DocumentCell");
| } catch ( Exception ex ) {
| ex.printStackTrace();
| }
| InstanceImpl inst = new Instan
It is not a public API and it is therefore subject to changes (improvements).
Nevertheless instances are container managed object managed by the
InstanceContainer. You need to inject it in your PortletContext.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=403
I fixed it by putting the correct jar-fil (2.4, not 2.6) as external jar in
eclipse.
But now I can't call the setInstanceId on my instance? According to javadoc the
method should exist but the compiler does not recognize it. Why?
I provide the correct jar in my lib folder for javac.
View the ori
I am using portal 2.4 and the class is not abstract.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037192#4037192
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037192
___
jb