ProcessAction « portlet « Java Enterprise Q&A





1. Benefit of ProcessAction    coderanch.com

2. processAction method doubt    coderanch.com

Hi all , I am new to portlets . I am using Jboss portal. What I want to know is... 1. Whenever any action occur we can use action url . we have to override processAction method where actual action or business logic would be.. I have to display contents of an object which I have in my processAction. So my ...

3. retrieving the namespace in processAction    coderanch.com

I have searched the Internet for an answer to this question but no clear answers can be found . . . The RenderResponse object can retrieve the namespace with getNamespace(). Why can't ActionResponse do the same? What do I do when I need the namespace in processAction()? I see that there is a default namespace which can be specified in portlet.xml. ...

4. processAction not called    coderanch.com

Hi All, I am using the book 'Building Portals with the Java Portlet API'. I am running chapter 2's AdvancedPortlet. The processAction is not called. Is the any reason why it is not called? I am running the code as is provided by the book. In edit mode, input is accepted, which will change the title and content of the view ...

5. portlets processaction method    coderanch.com

in my registration page. i have a cancel button. when i click that one i have to go to home page(this page is different page). i wrote the code response.sendRedirect("/web/jsp/home"); this line is in processaction method of class file when i tested it firsttime it went to home page. but after giving somevalues in textfields and doing validation checking. suddenly i ...

7. About ProcessAction    coderanch.com

I m new to this portlets development. I have some doubts in ProcessAction method. In the following code my doView() method is called but not ProcessAction method when ProcessAction method gets called ? /** * Portlet implementation class NewPortlet */ public class NewPortlet extends GenericPortlet { public void init() { viewJSP = getInitParameter("view-jsp"); } public void processAction( ActionRequest actionRequest, ActionResponse actionResponse) ...