Re: Multi selection dropdown in Tapestry

2017-03-15 Thread Taha Hafeez
This is another alternative https://tawus.wordpress.com/2011/12/28/multivalue-autocomplete-for-tapestry/ > On 15 Mar 2017, at 14:04, Davide Vecchi wrote: > > Probably the asker wants something to the effect of the 'multiple' attribute > of the HTML 'select' tag, see > http://www.w3resource.c

Re: Multi selection dropdown in Tapestry

2017-03-15 Thread Taha Hafeez
And this http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/corelib/components/Checklist.html > On 15 Mar 2017, at 14:19, Taha Hafeez wrote: > > This is another alternative > > https://tawus.wordpress.com/2011/12/28/multivalue-autocomplete-for-tapestry/ > > >> On 15 Mar 2017, at 14

RE: Multi selection dropdown in Tapestry

2017-03-15 Thread Davide Vecchi
Probably the asker wants something to the effect of the 'multiple' attribute of the HTML 'select' tag, see http://www.w3resource.com/html/attributes/html-multiple-attribute.php . A working example is under "Multi Select Option" at https://www.hscripts.com/tutorials/html/form-combobox.php . ---

Re: Multi selection dropdown in Tapestry

2017-03-15 Thread Taha Hafeez
Hi, A dropdown is not meant for multiple selection. May be you are looking for tapestry palette or autocomplete mixin. https://github.com/apache/tapestry-5/blob/master/tapestry-core/src/main/java/org/apache/tapestry5/corelib/mixins/Autocomplete.java Jumpstart has an example on how to use it ht

Re: How to open a pdf file on click of an action link

2017-03-15 Thread Taha Hafeez
Hi, There are many examples available. Here is one such nicely written component ! https://github.com/uklance/tapestry-stitch/blob/master/tapestry-stitch/src/main/java/org/lazan/t5/stitch/components/PDFLink.java In short, return StreamResponse from an event handler. Don’t forget to set content-

Multi selection dropdown in Tapestry

2017-03-15 Thread Gopi, Sreela
Hello, Can anyone please tell me how to implement multiple selection dropdown list in Tapestry? I am using Tapestry 5.3.8 Thank you, Sreela Gopi