File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help for editable list box

 
Sree Mami
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I am designing a web application in java using JSP's/Servlets, where I need to have some list elements to be set to editable. How can I make list boxes editable(Similar to the Address bar of our browser's)? What are the standards in designing web applications? How can I achieve that functionality.

Initially I thought of using text fields below List boxes but as my form is too long I don't want to use these text fields.

Please clarify me about using Editable List box..
 
Scheepers de Bruin
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no such element in HTML.

If you need the functionality, you _have_ to fake it.

You might make a hidden text field that lies on top of a normal select, and when the select is clicked twice (NOT double clicked - clicked, and then after a pause is clicked again), show the textbox populated with the select's value.

When the textbox loses focus, hide it again.

Hope it helps...
[ October 17, 2006: Message edited by: Scheepers de Bruin ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic