You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Shawn Church <sh...@boxity.com> on 2005/01/12 17:07:59 UTC

ComboBox component?

Does anyone know of an existing Tapestry/Javascript combobox component?
 I can work around it with a drop list (or radio buttons) and a text
field, but it would be nice to know if there is a better solution.

Shawn


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: ComboBox component?

Posted by Shawn Church <sh...@boxity.com>.
Yes, or something similar.  It is actually possible (sort of) in HTML
via JavaScript, for example:

http://webdeveloper.earthweb.com/repository/javascripts/2003/07/227971/pp_editable_dropdown.html

but it's not perfect (you can only key over the -?- selection) and it
doesn't seem to work in Firefox.

I like your autocomplete solution however, so I will give that a try.  I
think a Tapestry component such as this would be a nice addition to the
other contributions, but I wanted to ask before I wrote my own.

Thanks,
Shawn


Quoting Matt Raible <li...@raibledesigns.com>:

> Do you mean a drop-down (<select>) that you can type into - like in a
> 
> desktop app?  Unfortunately, this is not possible with HTML - 
> regardless of the framework.  You could use an applet, or an ActiveX
> 
> control, but that's about it.
> 
> Here's something I've used in the past to get similar functionality
> in 
> a webapp:
> 
> http://mattkruse.com/javascript/autocomplete/
> 
> Matt
> 
> 
> On Jan 12, 2005, at 9:07 AM, Shawn Church wrote:
> 
> > Does anyone know of an existing Tapestry/Javascript combobox
> component?
> >  I can work around it with a drop list (or radio buttons) and a
> text
> > field, but it would be nice to know if there is a better solution.
> >
> > Shawn
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: ComboBox component?

Posted by Matt Raible <li...@raibledesigns.com>.
Do you mean a drop-down (<select>) that you can type into - like in a 
desktop app?  Unfortunately, this is not possible with HTML - 
regardless of the framework.  You could use an applet, or an ActiveX 
control, but that's about it.

Here's something I've used in the past to get similar functionality in 
a webapp:

http://mattkruse.com/javascript/autocomplete/

Matt


On Jan 12, 2005, at 9:07 AM, Shawn Church wrote:

> Does anyone know of an existing Tapestry/Javascript combobox component?
>  I can work around it with a drop list (or radio buttons) and a text
> field, but it would be nice to know if there is a better solution.
>
> Shawn
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org