velocity action methods have strict naming standards:
http://jakarta.apache.org/velocity/user-guide.html
http://jakarta.apache.org/velocity/developer-guide.html

things like this work:
doSomething
doSomethingelsenow
doGohometomorrow

the following DO NOT work
doSomethingElse
goAway
doHelloWorld

Also make sure your RunData and Context arguments are in the proper order.  The method 
signature must match exactly also.

The http parameter must be named eventSubmit_do[methodname] exactly in order for it to 
be  called.

>>> [EMAIL PROTECTED] 04/19/04 12:06PM >>>
I'm creating a VelocityAction portlet and running into some trouble. I
can only get the "doUpdate" action to work. If I rename it to "addNote"
or "doInsert," it no longer works - ignoring the action's method. Do the
action names have to be configured somewhere?
 
Thanks,
Jason Shindler
 



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

Reply via email to