• 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
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Confuse - How represent a Set variable in jsp page to be filled

 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys
(sorry for my grammar)

i need really your help and your experience is need it

i have a jsp page that represents a payment/buypaper form

the first part of the form could be

some fields html for addtional input such as
date of buy , numberdocument, name of company that make the payment, type of sell (cash or credit)
etc etc

now for the details it consists in an element table that has its header such as

now each row of the table should represent the buy of the product (tv,cd etc)

i am thinking that the class for the SimpleForm should be something like this



where Header has its respective table for Hibernate and "details" too

my problem is how represent each possible agregation of a detail in the jsp??
each row should be unique (maybe using the idProduct).


what could be the best practice to done this???
because each detail should create and insert a row in a db table

really i need your help

some suggestion, url tutorial/code
or share here a code of course be appreciate

thanks for advanced

p.d: other pretty problem, i am using ajax to create dynamically each row (works until here), but i dont have any idea
how it could be integrate with the Set of Spring,

think how a matrix where each row have 6 textfields already filled for ajax.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic