[jboss-user] [JBoss Portal] - CommandFactoryDelegate and InvokeWindowActionCommand possibl

Antoine_h do-not-reply at jboss.com
Mon Jul 31 02:46:04 EDT 2006


I am rewriting my own CommandFactoryDelegate to manage url mapping and sending file to show in the CMSPortlet.

in the doMapping method 
public ControllerCommand doMapping(ServerInvocation invocation,		String portalContextPath, String portalRequestPath)
the return is with a InvokeWindowRenderCommand :
return new InvokeWindowRenderCommand(myTargetWindowRef, Mode.VIEW, null, params);

Is it possible to use the InvokeWindowActionCommand, to have the processAction triggered ?

is this compliant to JSR-168 ?
Am I misundersting the JSR ?
If the file change in the CMSPortlet, I guess it my involve some action to be processed, such as updating the navigation menu item that is active.
I would like then to use some IPC to have the menu of navigation updated.

I am trying to do it, but I get no answer from the server. 
I mean the logs show it goes through the processAction method, everything is processed properly, but then, the log shows it does not go through the doView method.

the code is :
return new InvokeWindowActionCommand(myTargetWindowRef, Mode.VIEW, WindowState.NORMAL, params, (StateString)paramsInteraction, paramsForms);

I have tried to put my parameters in the params list, and also in the paramsForms.
nothing work : the doView does not follow the processAction.

Any idea of what is wrong in this ?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961779#3961779

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961779

More information about the jboss-user mailing list