Also, please be sure to use UBB code tags when posting code to the forums. Unformatted code is extremely hard to read and many people that might be able to help you will just move along to posts that are easier to read. Please read this for more information.

You can go back and change your post to add code tags by clicking the . [ September 21, 2008: Message edited by: Bear Bibeault ]

At what point are you losing your row ID? Is it not showing up on your screen? Is it not populating your action class?

Devi Ramadass
Greenhorn

Joined: Sep 20, 2008
Posts: 17

posted Sep 23, 2008 22:14:00

0

Hi,

Thanks for your reply, i am getting the particular empid(record id) inside execute method through this statement "employee.getId();".But i could not get the same id inside deleteEmployee() method.How can i get the id in deleteEmployee() method.Because i want to delete particular record.

Regards, Devi Ramadass

Tom Rispoli
Ranch Hand

Joined: Aug 29, 2008
Posts: 349

posted Sep 23, 2008 23:48:00

0

I haven't used s:url before but it looks like you're set up to populate a property on your employee object named EMPID. Does your employee object contain a property with this name (or setters and getters) for it. A look at the code for this class might help.

Devi Ramadass
Greenhorn

Joined: Sep 20, 2008
Posts: 17

posted Sep 24, 2008 00:01:00

0

Hi,

Thank you so much for your help, i have the accessor/mutator methods for EMPID. Please look at the below code and suggest.

In your employee class I don't see a field named EMPID, nor do I see a getter or setter for it. So I think the s:param you are using in your s:url tag is the problem. It think it should look more like this:

see if that will populate your employee object corretly.

Devi Ramadass
Greenhorn

Joined: Sep 20, 2008
Posts: 17

posted Sep 24, 2008 21:31:00

0

Hi,

I am corrected the param tag, now it's working.Thank You Tom.

Regards, R.Devi

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com