Javascript returned inside Zone isn't executed (eval?)

2014-05-22 Thread Stephen Nutbrown
Hi, Sorry for asking two questions in as many days but I have become stuck again. I've done a fair bit of searching and I think I understand the problem, but I don't know how to fix it. I have a DirectoryViewer component and a MediaViewer component which I created. The directory viewer will show

Re: Javascript returned inside Zone isn't executed (eval?)

2014-05-22 Thread Stephen Nutbrown
Hi again, A quick update. Actually I find when I look in the source in Google Chrome, I can see this: section id=focal h1Use the mousewheel to zoom on a focal point/h1 div class=parent div class=panzoom img src=/util/filestreamresponse/DHjg5sVppy /div /div div class=buttons button

Re: Javascript returned inside Zone isn't executed (eval?)

2014-05-22 Thread Thiago H de Paula Figueiredo
On Thu, 22 May 2014 06:14:51 -0300, Stephen Nutbrown steves...@gmail.com wrote: Hi, Hi! Use JavaScriptSupport.importJavaScriptLibrary(Asset asset) instead. To get an asset, use the AssetSource service methods. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and

Multi Select

2014-05-22 Thread Sanket Sharma
Hi, I was wondering if there is a multi select component available in tapestry? I looked at the palette component and a similar component in chenille kit, but the demo page isn't available anymore. Reading through the email archives and some old links, it seems like there is a way to achieve it

Re: Multi Select

2014-05-22 Thread Lance Java
Select doesn't support multiple options. There is checklist and pallette which do the same job admittedly they look different. There's nothing stopping you from creating a multiselect component by extending AbstractField. On 22 May 2014 21:42, Sanket Sharma sanketsha...@gmail.com wrote:

Re: Multi Select

2014-05-22 Thread Balázs Palcsó
Hi, I can recommend http://ivaynberg.github.io/select2/ It is not an out of box tapestry component, but can be integrated easily. On 22 May 2014 22:10, Lance Java lance.j...@googlemail.com wrote: Select doesn't support multiple options. There is checklist and pallette which do the same

Re: Multi Select

2014-05-22 Thread Basile Chandesris
http://dmitrygusev.blogspot.fr/2013/04/render-tapestry5-block-to-string-from.html http://wiki.apache.org/tapestry/Tapestry5MultipleSelectOnObjects https://github.com/argoyle/tapestry-tagselect/wiki/Multi-select-string-tag-example https://github.com/got5/tapestry5-jquery/issues/107