srinivasaReddy
|
Posted: 02/22/2005, 8:05 PM |
|
I want to do some operation after updating the data in some JSP.
I'm using the record for that.
when I'm using the following statement in the Handler Jsp it is giving some ClassCastException.
((Record)((Page)team_mst_maintModel.getChild("team_mst").getParent()).getRecord("team_mst")).addRecordListener(new team_mstRecord_UpdateHandler());
team_mst is my form
team_mstRecord_UpdateHandler is class in which I wrote a code for afterUpdate() method.
I assume charge will call this afterUpdate method afterupdating the record in Database.
Help me on this one very urgent.
|
|
|
mrachow
Posts: 509
|
Posted: 02/22/2005, 11:30 PM |
|
Sorry srinivasaReddy, I do not understand what you are trying to to.
But, isn't it possible for you to write the code you would like to place in your RecordListener simply in the AfterUpdate event (Record form) or AfterExecuteUpdate event (Editable grid form)?
_________________
Best regards,
Michael |
|
|
|