Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Dynamic html:text

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai.

How we can generate dynamic<html:text> in struts that is when i press enter a new row of <html:text> appear ?
 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
After some pecan pie, you might want to cleanse your palatte with this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic