portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24701] - GenricMVCAction.java navigation doesn't work
Date Sat, 22 Nov 2003 20:12:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24701>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24701

GenricMVCAction.java navigation doesn't work

A.Herz@FreeGroup.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Other                       |High



------- Additional Comments From A.Herz@FreeGroup.de  2003-11-22 20:12 -------
If you create an action handler inherit from 'VelocityPortletAction' and 
a Velocity-Template with a HTML form like this:

<form name="Process_DCFupVehicleOrderBusiness_doCreateRepairOrder-pass" 
action="$jslink.Template" method=post>
  <INPUT type="hidden" value="event"   name="eventSubmit_doPass">
  <INPUT type="hidden" value="$procId" name="procId">
  <INPUT type="hidden" value="$workId" name="workId">
  <INPUT type="hidden" value="$nodeId" name="nodeId">
  <INPUT type=submit">
</form>

In Jetspeed 1.4-b4 the method "doPass(RunData rundata, Context context)"
from the action handler will be called.

In Jetspeed 1.4 the method "doPass(RunData rundata, Context context)" AND
doPerform(Context context, RunData rundata)
from the action handler will be called.

=> the semantik has been changed.

'Normaly' Jetspeed (VelocityPortletAction) tries to find the event handler and
call them. If it doesn't exist (NoSuchMethodException will been thrown) 
the doPerform will be called. This behaviour has been changed.

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


Mime
View raw message