[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-1602) IPC example wrong in doco

Andrew Oliver (JIRA) jira-events at lists.jboss.org
Thu Jul 19 12:31:47 EDT 2007


IPC example wrong in doco
-------------------------

                 Key: JBPORTAL-1602
                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1602
             Project: JBoss Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Portal Reference Guide
    Affects Versions: 2.6 Final
            Reporter: Andrew Oliver
         Assigned To: Julien Viet


10.8.2

            // We can redirect
            newEvent = new WindowActionEvent(windowB);
            newEvent.setParameters(wae.getParameters());
            // Redirect to the new event
            return newEvent;

This causes an exception regarding window state.  This should read as http://anonsvn.jboss.org/repos/portal/trunk/core-samples/src/main/org/jboss/portal/core/samples/basic/event/PortletB.java


               // We can redirect
               newEvent = new WindowActionEvent(windowB);
               newEvent.setMode(wae.getMode());
               newEvent.setWindowState(WindowState.MAXIMIZED);
               newEvent.setParameters(wae.getParameters());
   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list