• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

how to prepopulate a form using form:input tag?

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi, i need some help, need to prepopulate a form , just take the data from the db and put them into a form. I tried using the "value" attribute but it didn't work, i got an error: Undefined attribute name "value". In the form should appear the user's credentials so he can edit them... but i don't know how to do it...,
there's is also select tags in the form.

thanks

regards
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does your Controller method look like? How about your jsp file? We can't figure it out unless we see that information.

Mark
 
hernan rodriguez
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mark Spritzler wrote:What does your Controller method look like? How about your jsp file? We can't figure it out unless we see that information.

Mark



My index.jsp:



My controller:



 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic