[jboss-user] [JBoss Portal] - Unable to set CMS preferences
PeterJ
do-not-reply at jboss.com
Thu Aug 24 23:32:53 EDT 2006
Back in 2.4.0CR3, I was able to create a new instance of the CMSPortlet and set the indexPage preference to some other html page.
With 2.4.0GA, and what I loaded from CVS this morning, I can no longer do this. Instead, when I click the Update button after entering in the new html page name, such as /deafult/project.html, I get a huge among of stack trace, part of which is shown:
2006-08-24 20:05:56,875 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/portal-core]] Error calling action method of component with id jbp15f0ce3b_id98:jbp15f0ce3b_id102
| javax.faces.FacesException: Error calling action method of component with id jbp15f0ce3b_id98:jbp15f0ce3b_id102
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at org.apache.myfaces.portlet.MyFacesGenericPortlet.processAction(MyFacesGenericPortlet.java:221)
| at org.jboss.portal.portlet.container.PortletContainer.invokeAction(PortletContainer.java:494)
| at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:435)
| at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
| at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
| ...
| at java.lang.Thread.run(Thread.java:595)
| Caused by: javax.faces.el.EvaluationException: /WEB-INF/jsp/management/plugins/preferences.xhtml @75,70 action="#{action.updateCell}": java.lang.Error: Handle me gracefully please
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| ... 220 more
| Caused by: java.lang.Error: Handle me gracefully please
| at org.jboss.portal.core.portlet.management.actions.PreferenceAction.updateCell(PreferenceAction.java:147)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at com.sun.el.parser.AstValue.invoke(AstValue.java:130)
| at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:274)
| at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
| at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
| ... 221 more
| Caused by: org.jboss.portal.portlet.InvalidPortletIdException: Cannot configure producer offered portlets
| at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.setProperties(StatefulPortletInvoker.java:477)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| ...
| at $Proxy57.setProperties(Unknown Source)
| at org.jboss.portal.federation.impl.FederatedPortletInvokerService.setProperties(FederatedPortletInvokerService.java:169)
| at org.jboss.portal.federation.impl.FederatingPortletInvokerService.setProperties(FederatingPortletInvokerService.java:179)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| ...
| at $Proxy41.setProperties(Unknown Source)
| at org.jboss.portal.core.impl.model.instance.InstanceImpl.setPreferences(InstanceImpl.java:209)
| at org.jboss.portal.core.portlet.management.actions.PreferenceAction.updateCell(PreferenceAction.java:140)
| ... 229 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967388#3967388
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967388
More information about the jboss-user
mailing list