Bookmark Topic Watch 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
What is a combo box?

Many GUI building platforms, like Swing and Visual Basic have a form widget that acts as a combination select list (dropdown list) and text input field. Users of this control can either select a predefined entry from the list or they can type in their own value. The 'Combo' in ComboBox (or JComboBox) comes from the word 'combination' and is used the describe this control which provides two ways for an end user to enter or select a value.

HTML does not have any such control. It has a select list which can be used to select from pre-defined values and it has an input field of type 'text' in which the user can type their own values.

Since the output of JSP is typically HTML and/or Javascript, it is also true that JSP does not provide a ComboBox.

Calling a select list a ComboBox in the HTML or JSP forums can potentially create a RedHerring which makes it less clear to people trying to help you whether or not you understand the nature of the control. By making sure that you effectively convey both the nature of your problem and your level of understanding to the readers of your question, you are helping to insure that your question is in the best position possible to be quickly and accurately answered.




Back to the JspFaq

Back to the ServletsFaq
 
It's a tiny ad. At least, that's what she said.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic