| Author |
Dynamic Buttons
|
maximiliano degue
Greenhorn
Joined: Feb 05, 2013
Posts: 3
|
|
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!
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8265
|
|
|
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.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
maximiliano degue
Greenhorn
Joined: Feb 05, 2013
Posts: 3
|
|
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!
|
 |
 |
|
|
subject: Dynamic Buttons
|
|
|