Action events gotcha in Turbine 4.0

Jeffery Painter <[email protected]> Fri, 17 Nov 2017 13:30:49 -0500
Newsgroups gmane.comp.jakarta.turbine.user
Message-ID <[email protected]>
It took me quite a bit of debugging to figure this out, but I finally 
realized that if you have a doPerform(PipelineData data) method in your 
action class, it fails to search through the event discovery to find the 
proper event map method from your form.

So if you are trying to do an  <input type="submit" 
name="eventSubmit_doMymethod">  and it fails to load, make sure your 
only doPerform has the signature of doPerform(PipelineData data, Context 
context) ... otherwise it will never find the proper event you were 
trying to execute.

I spent about 2 hours working through the ActionEvent code this morning 
until I figured that out!

Thanks,

-- 
Jeff Painter

CEO and Founder of JiveCast
Software and analytics, made together
http://jivecast.com

301 Fayetteville St. Unit 2301, Raleigh, NC 27601
(919) 533-9024