portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hema Menon <menon.h...@gmail.com>
Subject Re: evenSubmit question
Date Thu, 07 Apr 2005 12:04:29 GMT
AFAIK, atleast in Jetspeed 1.5, this would not work due to the 'C".
Change the method to doEditcommit and try it out.

Hema

On Apr 7, 2005 3:52 AM, Roel van Dijk <roel.van.dijk@forest-fields.nl> wrote:
> 
> I'm using the eventSubmit mechanism to call functions in the portlet from
> the HTML. For example:
>   <input type="submit" value="Edit" name="eventSubmit_doEdit">
> 
> and in my code:
>   public void doEdit( RunData rundata, Portlet portlet ) throws Exception
> { }
> 
> This works fine.
> 
> However, when I do this:
>   <input type="submit" value="Edit" name="eventSubmit_doEditCommit">
> 
> The following function is NOT being called:
>   public void doEditCommit( RunData rundata, Portlet portlet ) throws
> Exception { }
> 
> This is probably due to the capital 'C' of Commit? (I tried inserting an
> underscore, but to no avail) Is there any proper documentation about the
> eventSubmit mechanism? I couldn't find anything with Google..
> 
> Roel
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
> 
> 


-- 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hema Menon

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Mime
View raw message