• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

how to add link to display:table to a method in the DispatchAction class

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,
i am using the tag <display:tag> in order to display the data of my database and i want to have in addition a column containing a link (image) to the method supprim() in the class DispatchAction so i can delete my row with that link and i did user decorator but it didn't work could you please help me
here is the code
consulterUtilisateur.jsp


my list is a collection of the object MonUtilisateur

MonUtilisateur.java



my decorator is the class UserDecorator.java


finally this is the method of my action or DispatchAction that i want to call through the link


 
sarah jj
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,
i just want to put the answer if anyone have the same problem
here we don't need a decorator it's a simple href in the jsp page but we need to define my id so i can get my current row in my action class

jsp


and for the method supprim() in my DispatchAction class i add



 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic