CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Programming

 Problem with RecordListener

Print topic Send  topic

Author Message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.