Jump to content

[JSP] Dynamic form table

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Alhazred

Alhazred

    Learning Programmer

  • Members
  • PipPipPip
  • 99 posts
Inside my database I have a table with a long list of items.
I need to show this items inside a JSP, but the table would be too long, so I want to give the possibility to a user to select a character or more and then the JSP shows inside itself a table of items which begin with that/those character/s.
The shown table must be a form where the user can insert a value in one or more rows and then submit those values.

How can I do this?

#2
dksmarte

dksmarte

    Newbie

  • Members
  • Pip
  • 2 posts
If I were tackling this, I would use the java server faces framework with jboss's rich server faces. I think the tag you'd want to look into would be the rich:suggestionBox.

However, if you don't want to use the additional frameworks, then it would require a fair amount of complicated AJAX. :(

#3
oubless

oubless

    Newbie

  • Members
  • PipPip
  • 22 posts
Removed: I answered about JSF instead of JSP, sorry

#4
k3rn31

k3rn31

    Newbie

  • Members
  • Pip
  • 4 posts
nice