1 Reply Latest reply on Oct 27, 2005 8:46 AM by bsmithjj

    Action Methods

      Coming from the world of Jetsped 1.5, I am familiar with the concept of action methods, which are referenced from the view (jsp pages) via eventSubmit_doSomeclassmethod. So one can control which action fires based on a user action on the web pages. It appears there is no such mechanism, possibly in JSR 168, or JBOSS Portal other than the processAction method, which means a portlets multiple actions must then be decided via comparing a cmd or action parameter to determine which private methods to call from the processAction method Is this correct? What are the suggested mechanisms to control flow within JBOSS portal. Or is the right answer to just drive with JSF.. Thanks..

      We're using JBOSS Portal 2.0 on JBOSS AS 4.02.

        • 1. Re: Action Methods

          You are correct - there is just processAction() in JSR 168 portlets. And yes, comparing a cmd or action parameter is a reasonable strategy...