Mark Orciuch wrote:

I assume that you have public void statusChange(RunData rundata, Portlet
portlet) defined in your action. I would also rename the method to
doStatusChange (eventSubmit_doStatusChange).

Also, I'm not sure about that onclick event. Try it without it.

Best regards,

Mark Orciuch - [EMAIL PROTECTED]
Jakarta Jetspeed - Enterprise Portal in Java
http://jakarta.apache.org/jetspeed/


-----Original Message-----
From: Javed Mahmud [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 11:53 PM
To: [EMAIL PROTECTED]
Subject: Event Handling in JSPPortlet


Hello All,
I have a jsp page with Form Entry as
<Form method="post"

action="http://localhost:8080/adm/portal";>

<input type="hidden" name="js_peid" value="P-f2300ace01-10001">
<input type="hidden" name="actionType">

<input type="hidden" name="action" value="portlets.UserDetailAction"/>

<input type="submit" onclick = "actionType.value='A'"
name="eventSubmit_statusChange" value="Edit"/> &nbsp&nbsp&nbsp <BR>
Your Details
</Form>


It fails to call the statusChange Method defined in
portlets.UserDetailAction class. It bypasses to get the buid normal
context method.

Any clues??

Thanks Javed




--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


i had the same problem yesterday, evenif the method name was doStatusChange
dont know why
may be try using velocity templates and action classes
jsp doesnt work properly in jetspeed
sangam dash



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to