You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by "Boyd, David" <db...@nisys.com> on 2003/04/24 06:23:44 UTC

Help with Action

(Using JSP)
 
I have the following problem, none of my eventSubmit_do* actions are being
called.  Looking at the log file I get the following:
 
JspPorlet: Executing action [portlets.TaskAction] for portlet [Task]
JspPortletAction: Action detected, calling doPerform 
JspPortletAction: retrieved portlet:
com.nisys.jetspeed.portal.portlets.TaskJSPPortlet@49494e
JspPortletAction: building normal
 
And then build normal context is being run.
 
Now, the portlet is set up so that have several links on the page that look
like buttons, each of these links calls a javascript function that does the
following:
 
            var e = document.taskForm.elements["eventSubmit"];
            e.name = "eventSubmit_" + action;
            
            document.taskForm.submit();
 
and the .jsp is
 
<form name="taskForm" method="post" action="">
            <input type="hidden" name="eventSubmit" value="">
            .
            .
            .
</form>
 
(designed to just submit back to itself)
 
What am I doing wrong here?