wood burning stoves 2.0*
The moose likes Struts and the fly likes Dynamic Buttons Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic Buttons " Watch "Dynamic Buttons " New topic
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: 8843
    
    7

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic Buttons
 
Similar Threads
How to hide url: in struts
how to apply continue statement in struts logic:iterate tag
clear case button not working in the following code
Iterate hashmap problem
ActionForm not setting indexed properties