aspose file tools*
The moose likes Struts and the fly likes How to add row of text box and combox dynamically using struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to add row of text box and combox dynamically using struts" Watch "How to add row of text box and combox dynamically using struts" New topic
Author

How to add row of text box and combox dynamically using struts

Maddy johnson
Greenhorn

Joined: Feb 25, 2008
Posts: 2
Hi All,
In my JSP I have something like a row of TextBox-----Combox-----TextBox Button--Add
When user clicks on "Add" I need to add exactly the same row as above.
Pls tell me how can I do this....I am using struts.
I am not able to post my code here due to some character not allowed...:-(
[ February 25, 2008: Message edited by: Bear Bibeault ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61437
    
  67

Please use real words when posting to the forums. Abbreviations such as "pls" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please read this for more information.

thanks,
bear
JavaRanch sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
rajan Kayarohanam
Greenhorn

Joined: Jan 24, 2008
Posts: 12
You can use javascript DOM properties for this functionality...
find below the URL for this

Add Row

I guess this would be helpful for you.

Regards,
KMR
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Maddy,

You sent me a private message regarding this question, but your profile is set to not accept private messages. That makes it so I have no way to respond to your message.

Just so you know, though: My response to your question would have been exactly what rajan Kayarohanam has already responded.

Merrill


Merrill
Consultant, Sima Solutions
Maddy johnson
Greenhorn

Joined: Feb 25, 2008
Posts: 2
Thanks to both for replying...!!!
I just wanted to post my code but its not allowing me and giving me following error..!!!
FYI
Sorry, your post appears to have an illegal HTML tag. Often this is because the post contains a "less than" character instead of the equivalent HTML escape sequence "& lt;"

You can fix this by replacing every "less than" in your post with "& lt;" (without the internal space). Sometimes the problem is that you're using a specific method name which our system thinks is part of an attempt to insert some evil JavaScript exploit into our pages. The most common is "getkookie()" - just replace this phrase with something else like getKookie(). Sorry for the inconvenience; this is the best we can do for now.


Even I removed "less than" still same error...!!! Is there any other way to fix this.
sanju sreedharan
Ranch Hand

Joined: Nov 25, 2008
Posts: 48
maddy

even i am also having problem with this issue..can you tell me if you got that answer.i am also using struts

sanju
 
 
subject: How to add row of text box and combox dynamically using struts