• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Dynamic Buttons

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello people. Im new in coderanch (And also new with english, so sorry if i make some grammatical mistakes and stuff like that :P)

here is the problem.

Im iterating the list "listaEmpleados", and using as object "iEmpleado"

its working fine to show the table with all the iEmpleado, but now i need to create a button to delete that iEmpleado, and i dont know how. :P
if you need something else from my code, just tell me

thanks a lot people!

 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use a url tag to create a url with parameters, for example, the index of iEmpleado or some other identifier, then use the url id in an anchor tag.
 
maximiliano degue
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Joe Ess wrote:You can use a url tag to create a url with parameters, for example, the index of iEmpleado or some other identifier, then use the url id in an anchor tag.


Sorry, i didnt mention that i have to use Struts 1 (and i red that url tags are for Struts 2).
in case they work in struts 1, do you have a simplier example? because i didnt get it.

thanks anyway!
 
reply
    Bookmark Topic Watch Topic
  • New Topic