You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Sven Kuncikowski <ku...@evamann.de> on 2004/07/28 12:52:51 UTC

actionevent

hi everybody,

i'm trying to call an ActionEvent from the following form: (shortened, only relevant stuff)

<form name="docDelete" method="post" action="$link.setAction('DeleteAction')">
<input type="image" src="muelleimer1.gif" border="0" name="eventSubmit_doDelete"/>
</form>

the log msg in the application.log looks like this: (also only the relevant stuff)

ActionEvent accepts only eventSubmit_do Keys with a value != 0
Key Value is 12
Integer != 0, accepting eventsubmit_dodelete.y
Couldn't locate the Event ( doDelete.y), running executeEvents() in de.movii.moviiTurbine.modules.actions.DeleteAction
Key Value is 12
Integer != 0, accepting eventsubmit_dodelete.y
DeleteAction::doPerform called!

i have successfully worked with actionevents before, but this is the first time
that i have to use an image for submitting the form.

is it possible to use an image for submitting?

the mysterious thing about it is that there is a ".y" added at the end fo the
eventSubmit_doDelete!! (see the log)

any clues?

thx in advance.


Re: actionevent

Posted by Sven Kuncikowski <ku...@evamann.de>.
thx all for your quick help,
could manage to checkout the 2.3-branch of turbine,
as i knew after what i was hunting ;)

many thanks and greets
sven kuncikowki

ps
"something" changed my settings
(i.e. maven now wants to compile the whole stuff in a different directory!)
hopefully i'll get this working again!



Henning P. Schmiedehausen schrieb:
> Sven Kuncikowski <ku...@evamann.de> writes:
> 
> 
>>in the project.xml it stats that the current version is 2.4-dev.
>>and also it says that the release version is 2.3
>>searched the cvs for the 2.3-dev version, but didn't find it.
> 
> 
> cvs -d <jakarta cvs server> checkout -r TURBINE_2_3_BRANCH jakarta-turbine-2
> 
> 	Regards
> 		Henning
> 


Re: actionevent

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
Sven Kuncikowski <ku...@evamann.de> writes:

>in the project.xml it stats that the current version is 2.4-dev.
>and also it says that the release version is 2.3
>searched the cvs for the 2.3-dev version, but didn't find it.

cvs -d <jakarta cvs server> checkout -r TURBINE_2_3_BRANCH jakarta-turbine-2

	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

"Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems."
                       -- Michelle Levesque, "Fundamental Issues with
                                    Open Source Software Development"

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


Re: actionevent

Posted by Scott Eade <se...@backstagetech.com.au>.
Sven Kuncikowski wrote:

> the version that i have from cvs is the jakarta-turbine-2 tree.
> tried to update it, but i have the current verison.
>
> in the project.xml it stats that the current version is 2.4-dev.
> and also it says that the release version is 2.3
> searched the cvs for the 2.3-dev version, but didn't find it.
>
> so i again, tried to build the turbine-2.4-dev.jar, but:
> i can built the maven-plugin from the extensions folder.
> i cannot build the turbine.jar because of two unsatisfied dependencies,
> - merlin-kernel-spi-3.2-dev.jar
> - merlin-kernel-impl-3.2-dev.jar
>
> i searched for them, a while ago, and now again.
> didn't find those two.

You are trying to build cvs HEAD - this would be 2.4-dev which is not 
what you want.

>
> any hint, from where i can get the 2.3-dev version of turbine?

Check out the TURBINE_2_3_BRANCH, this will give you 2.3.1-dev

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au


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


Re: actionevent

Posted by Sven Kuncikowski <ku...@evamann.de>.
thank you for your quick reply.

Scott Eade schrieb:

> Sven Kuncikowski wrote:
> 
>> is it possible to use an image for submitting?
> 
> 
> Yes it is possible and I do it.

great.

> 
>>
>> the mysterious thing about it is that there is a ".y" added at the end 
>> fo the
>> eventSubmit_doDelete!! (see the log)
> 
> 
> This is because the browser responds with the location of the click in 
> the image - see: 
> http://www.w3.org/TR/html401/interact/forms.html#edef-INPUT
> 
> ActionEvent.formatString() deals with these for you, but there is a bug 
> in 2.3 that stops this from working correctly.  This is fixed in cvs - 
> build yourself a turbine-2.3.1-dev.jar (easy to do with maven) and all 
> will be well.
> 
the version that i have from cvs is the jakarta-turbine-2 tree.
tried to update it, but i have the current verison.

in the project.xml it stats that the current version is 2.4-dev.
and also it says that the release version is 2.3
searched the cvs for the 2.3-dev version, but didn't find it.

so i again, tried to build the turbine-2.4-dev.jar, but:
i can built the maven-plugin from the extensions folder.
i cannot build the turbine.jar because of two unsatisfied dependencies,
- merlin-kernel-spi-3.2-dev.jar
- merlin-kernel-impl-3.2-dev.jar

i searched for them, a while ago, and now again.
didn't find those two.

any hint, from where i can get the 2.3-dev version of turbine?

many thx
sven kuncikowski






> Scott
> 


Re: actionevent

Posted by Scott Eade <se...@backstagetech.com.au>.
Sven Kuncikowski wrote:

> is it possible to use an image for submitting?

Yes it is possible and I do it.

>
> the mysterious thing about it is that there is a ".y" added at the end 
> fo the
> eventSubmit_doDelete!! (see the log)

This is because the browser responds with the location of the click in 
the image - see: http://www.w3.org/TR/html401/interact/forms.html#edef-INPUT

ActionEvent.formatString() deals with these for you, but there is a bug 
in 2.3 that stops this from working correctly.  This is fixed in cvs - 
build yourself a turbine-2.3.1-dev.jar (easy to do with maven) and all 
will be well.

Scott

-- 
Scott Eade
Backstage Technologies Pty. Ltd.
http://www.backstagetech.com.au


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