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 Roel van Dijk <ro...@forest-fields.nl> on 2005/04/07 13:52:09 UTC
evenSubmit question
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
RE: evenSubmit question
Posted by Roel van Dijk <ro...@forest-fields.nl>.
Thanks for the link, it is clearly described there. It works fine now with
all lower case characters.
Roel
> -----Oorspronkelijk bericht-----
> Van: Hema Menon [mailto:menon.hema@gmail.com]
>
> It is related to the action handling in Turbine. The documentation is
> available here
> http://jakarta.apache.org/turbine/turbine/turbine-2.3/howto/action
> -event-howto.html
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: evenSubmit question
Posted by Hema Menon <me...@gmail.com>.
It is related to the action handling in Turbine. The documentation is
available here
http://jakarta.apache.org/turbine/turbine/turbine-2.3/howto/action-event-howto.html
HTH,
Hema
On Apr 7, 2005 4:04 AM, Hema Menon <me...@gmail.com> wrote:
> 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 <ro...@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
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hema Menon
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: evenSubmit question
Posted by Hema Menon <me...@gmail.com>.
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 <ro...@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