File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Dynamic html:text Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Dynamic html:text" Watch "Dynamic html:text" New topic
Author

Dynamic html:text

Anooplal .A.H
Greenhorn

Joined: Sep 06, 2007
Posts: 6
Hai.

How we can generate dynamic<html:text> in struts that is when i press enter a new row of <html:text> appear ?
Tarun Yadav
Ranch Hand

Joined: Sep 20, 2007
Posts: 134
Originally posted by Anooplal .A.H:
Hai.

How we can generate dynamic<html:text> in struts that is when i press enter a new row of <html:text> appear ?


Not sure how you want this to be done but I think you want it to happen on the client side without a page submit.

<html:text> is a custom tag which executes on the server to generate the HTML markup for a text field i.e. <input type="text" > which is then rendered on the client's browser. You can't add this on the client side since it is server side code.

What you can do, is use JavaScript and the DOM to add a new text field on your page. Or you could submit the page and have your server generate as many text fields as required.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamic html:text