Autocomplete Mixin not working in Tapestry 5.5

2020-09-13 Thread Dongmei Cao
Hi ! Did anyone experienced any issue with the Autocomplete Mixin in Tapestry 5.5? I just tried with the example from JumpStart http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/autocompletemixin. It does not work. It does not invoke the server side event handler anymore. And

Re: jQuery/autocomplete

2015-04-27 Thread Geoff Callender
Good points, Lance. Yes I will consider adding those features to JumpStart, and at the very least I will add a link to Observe. Thanks. On 27 Apr 2015, at 7:37 pm, Lance Java wrote: > Hi Geoff, as stated on the demo, the observe mixin was inspired by zone > updater but with a few very handy dif

Re: jQuery/autocomplete

2015-04-27 Thread Lance Java
Hi Geoff, as stated on the demo, the observe mixin was inspired by zone updater but with a few very handy differences: 1. Developers don't need to deal with request parameters. These are converted to more user friendly event arguments. 2. You can pass multiple clientside field values. In the jump

Re: jQuery/autocomplete

2015-04-27 Thread Geoff Callender
person and return an Ajax response that updates a zone. ... } ZoneUpdater: http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/onevent Geoff On 27 Apr 2015, at 6:12 pm, Lance Java wrote: > Is your autocomplete a select component? If so you can set the 'zone'

Re: jQuery/autocomplete

2015-04-27 Thread Lance Java
Is your autocomplete a select component? If so you can set the 'zone' attribute and handle the 'onChanged' event to update the zone. There's also the observe mixin from tapestry-stitch ( http://t5stitch-lazan.rhcloud.com/observedemo). Note: This will require a javascript

jQuery/autocomplete

2015-04-26 Thread David Tio
Hi All, I need help with tapestry jQuery/autocomplete. I want to fill up another field based on the selection on jQuery/autocomplete textfield. What's the best way to perform such action? The only event available seems to be provideCompletions Regards, David Tio

How to clear the autocomplete cache?

2015-02-10 Thread Svein Erik Løken
Search box on a map: I need to call Bloodhound.clearRemoteCache() in typeahead.js Did not find out how to access the engine variable in autocomplete.js. Temporary hack/workaround: I added $field.data("engine", engine); to autocomplete.js engine.initialize(); dataset = { name: spec.

Tapestry 5 AutoComplete

2014-11-04 Thread Shahid Shaikh
I am trying to use the AutoComplete in conjuction with a Zone updater.It appears if i tag a t:clientId where i generated a unique id for each field, the autocomplete fails to work. If i do not use the t:clientId the component works just fine. Any idea why add a t:clientId tag to my input

[T5.4] Autocomplete mixin replacement

2014-06-05 Thread Ilya Obshadko
I have created a replacement for Tapestry Autocomplete mixin based on latest Twitter typeahead.js. I don't have time to publish it as a separate project, so there's a public gist: https://gist.github.com/xfyre/5a235a2ff95df7609194 Key improvements & fixes: * fixed broken CSS

Re: [T5.4] autocomplete mixin issues

2014-05-30 Thread Ilya Obshadko
t; wrote: > Are you using the jQuery or Prototype infrastructure in your 5.4 projects? > If Prototype, I'd just copy the 5.3.x Autocomplete and use it. > > > On Thu, 29 May 2014 13:59:33 -0300, Ilya Obshadko > wrote: > > Just started to migrate my autocomplete-

Re: [T5.4] autocomplete mixin issues

2014-05-30 Thread Thiago H de Paula Figueiredo
Are you using the jQuery or Prototype infrastructure in your 5.4 projects? If Prototype, I'd just copy the 5.3.x Autocomplete and use it. On Thu, 29 May 2014 13:59:33 -0300, Ilya Obshadko wrote: Just started to migrate my autocomplete-based controls to 5.4. Several issues

[T5.4] autocomplete mixin issues

2014-05-29 Thread Ilya Obshadko
Just started to migrate my autocomplete-based controls to 5.4. Several issues I've discovered immediately: - list presentation it is no longer configurable, like it was in 5.3.x version - the mixin itself heavily modifies markup (in fact it breaks form styling completely) I guess the

Re: Customize autocomplete mixin match list?

2014-05-20 Thread Ilya Obshadko
Any kind of success on this? I've been looking for ways to customize tapestry5-jquery autocomplete mixin output, and this is not very obvious. On Wed, May 22, 2013 at 12:50 AM, George Ludwig wrote: > Thanks for the replies...still working on this > > @Lance: Did you mean over

Re: autocomplete data source

2014-05-18 Thread Ilya Obshadko
gt; example Hibernate objects loading, in several situations I get 'session > is > > closed' errors (in fact this is very unpredictable - the same operation > > under same conditions may either work normally or fail). > > > > Are t

Re: autocomplete data source

2014-05-18 Thread Ilya Obshadko
Caching is definitely possible. But during onActivate() we cannot reliably determine whether it was caused by autocomplete event (thus we can use cached data), or it was caused by any other event (in which case we can't use cached data). So separating suggestions data source completely fro

Re: autocomplete data source

2014-05-18 Thread Ilya Obshadko
Most of the page requests are in fact AJAX (page contains a lot of zone updates besides autocomplete events). So distinguishing by isXHR() doesn't help. On Thu, May 15, 2014 at 6:39 PM, Michael Gentry wrote: > Hi Ilya, > > onActivate() gets called for both normal page render req

Re: autocomplete data source

2014-05-18 Thread Geoff Callender
involves for > example Hibernate objects loading, in several situations I get 'session is > closed' errors (in fact this is very unpredictable - the same operation > under same conditions may either work normally or fail). > > Are there any suggested methods to make aut

Re: autocomplete data source

2014-05-16 Thread Michael Gentry
Hi Ilya, onActivate() gets called for both normal page render requests and AJAX/XHR requests (used by the autocomplete). Have you tried: @Inject private Request request; and calling the isXHR() method in request in your onActivate() to determine if the request is normal or AJAX? onActivate

Re: autocomplete data source

2014-05-16 Thread John
Could you cache your hibernate results for subsequent calls? - Original Message - From: Ilya Obshadko To: Tapestry users Sent: Thursday, May 08, 2014 1:33 PM Subject: autocomplete data source It turns out that running an event handler (onProvideCompletionsFrom) in the

autocomplete data source

2014-05-16 Thread Ilya Obshadko
suggested methods to make autocomplete data source totally independent from current component? -- Ilya Obshadko

Re: Autocomplete fields in loop

2014-04-30 Thread Geoff Callender
It would seem that Autocomplete needs a context. Please vote here: https://issues.apache.org/jira/browse/TAP5-2329 Cheers, Geoff On 1 May 2014, at 6:59 am, Erich Gormann wrote: > Hi all, > > currently I work with a number of autocomplete fields rendered in a loop. &g

Autocomplete fields in loop

2014-04-30 Thread Erich Gormann
Hi all, currently I work with a number of autocomplete fields rendered in a loop. And thats exactly the problem: after the loop and all fields have been rendered, I'am not able to handle over a piece of specific information to the onCompletion event, if this event handler is called on ent

Re: Autocomplete exception blank query parameter.

2014-02-27 Thread Barry Books
I get these also. It would be nice if they were logged as a WARN so it would be easy to ignore them in production. On Wed, Feb 26, 2014 at 9:19 AM, Lance Java wrote: > Some serverside actions (eg autocomplete) expect a well formed request > which may require some request parameters

Re: Autocomplete exception blank query parameter.

2014-02-26 Thread Lance Java
Some serverside actions (eg autocomplete) expect a well formed request which may require some request parameters to be present. As you can imagine, a bot can run regular expressions and hit anything the looks like a URL. I think it's fine to ignore crawlers from error logging. It's diffi

Re: Autocomplete exception blank query parameter.

2014-02-26 Thread George Christman
Thanks for the reply lance. What does the actual exception mean? Does is it mean a request is being set with a missing parameter to the autocomplete component? I vaguely remember seeing this a long time ago while writing a custom autocomplete component. As far as the logs, I'm hosting the a

Re: Autocomplete exception blank query parameter.

2014-02-26 Thread Lance Java
Sounds like a webcrawler / bot to me. Do you have the apache logs? You could check the user agent header. As a fix, Google for the list of known bots and their user agent headers and customised tapestry's exception reporting so that exceptions are not logged for crawler user agents.

Autocomplete exception blank query parameter.

2014-02-26 Thread George Christman
Hi guys, I'm using tapestry 5.4-beta 3 and I have a keyword search on my website using the auto complete mixin. I'm seeing the following exception appear in my logs 100's of times. I have been unable to reproduce it, so im assuming it is happening as a result of bot activity, but I can not confirm

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-10 Thread Ilya Obshadko
gt; > > Is > > > > this right? > > > > > > > > Seems like I have found what caused my problem - it was my own mixin > > > (that, > > > > in turn, uses PathJS library). I'm not sure where exactly the error > is, &g

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-10 Thread François Facon
ke I have found what caused my problem - it was my own mixin > > (that, > > > in turn, uses PathJS library). I'm not sure where exactly the error is, > > but > > > switching this mixin off restored the functionality of autocomplete.

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread Ilya Obshadko
ight? > > > > Seems like I have found what caused my problem - it was my own mixin > (that, > > in turn, uses PathJS library). I'm not sure where exactly the error is, > but > > switching this mixin off restored the functionality of autocomplete. I'm > >

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread François Facon
usage of Prototype and allows to switch to jQuery completely. Is > this right? > > Seems like I have found what caused my problem - it was my own mixin (that, > in turn, uses PathJS library). I'm not sure where exactly the error is, but > switching this mixin off restored the func

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread Ilya Obshadko
Well, looks like listening to the history events conflicts with jquery/autocomplete mixin somehow. jquery-hashchange plugin has same issue: when hashchange event is handled, autocomplete no longer works. On Sun, Nov 10, 2013 at 12:31 AM, Ilya Obshadko wrote: > I don't completely unders

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread Ilya Obshadko
ike I have found what caused my problem - it was my own mixin (that, in turn, uses PathJS library). I'm not sure where exactly the error is, but switching this mixin off restored the functionality of autocomplete. I'm trying to switch to jquery-hashchange plugin and check what happens. On

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread François Facon
try users > Sent: Saturday, November 09, 2013 7:38 AM > Subject: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is > true > > > This is weird, and I can't find what causes the error. > > If JQuerySymbolConstants.SUPPRESS_PROTOTYPE is set to t

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread John
pears that there may be some dependency on prototype or other significant defects. John - Original Message - From: Ilya Obshadko To: Tapestry users Sent: Saturday, November 09, 2013 7:38 AM Subject: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true This is

Re: jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-09 Thread François Facon
7;t find what causes the error. > > If JQuerySymbolConstants.SUPPRESS_PROTOTYPE is set to true, autocomplete > list disappears on hover. If I switch it back to false, everything starts > working correctly again. Any ideas? > > -- > Ilya Obshadko >

jQuery autocomplete stops working when SUPPRESS_PROTOTYPE is true

2013-11-08 Thread Ilya Obshadko
This is weird, and I can't find what causes the error. If JQuerySymbolConstants.SUPPRESS_PROTOTYPE is set to true, autocomplete list disappears on hover. If I switch it back to false, everything starts working correctly again. Any ideas? -- Ilya Obshadko

AW: How create Autocomplete with selectbox

2013-10-27 Thread Vasili Petrenko
-Ursprüngliche Nachricht- Von: Steve [mailto:steves...@gmail.com] Gesendet: Freitag, 25. Oktober 2013 12:25 An: Tapestry users Betreff: Re: How create Autocomplete with selectbox Hello! I think you may find there is a useful example of something *similar* here: http://jumpstart.doublenegative.com.au

Re: How create Autocomplete with selectbox

2013-10-25 Thread Steve
tober 2013 15:04, Vasili Petrenko wrote: > I'm new to Tapestry. I want to change the behavior in autocomplete. > > I want to display a selection list when i'm click on the input field. > > How do I set up the click event to show the list. > > > > Somethi

How create Autocomplete with selectbox

2013-10-23 Thread Vasili Petrenko
I'm new to Tapestry. I want to change the behavior in autocomplete. I want to display a selection list when i'm click on the input field. How do I set up the click event to show the list. Something like this. http://jqueryui.com/autocomplete/#combobox It can also be as a pure i

How create Autocomplete with selectbox

2013-10-23 Thread Vasili Petrenko
I'm new to Tapestry. I want to change the behavior in autocomplete. I want to display a selection list when i'm click on the input field. How do I set up the click event to show the list. Something like this. http://jqueryui.com/autocomplete/#combobox It can also be as a pure i

Autocomplete mixin Typeahead 0.9.3 add result limit parameter

2013-10-15 Thread George Christman
Hello all, is there any chance we could add limit to the tapestry core autocomplete mixin? I need to return a few more than 5 results and it's looking like I'd need to create a new mixin to handle this. It appears to be pretty simple based on the example on typehead.js examples p

Re: 5.4 Autocomplete exception

2013-09-30 Thread Lance Java
You can often use the user agent header to detect a bot.

Re: 5.4 Autocomplete exception

2013-09-30 Thread Barry Books
I suspect it is a web crawler. I'll dig thru the logs and see if I can find the URL. If it is a web crawler perhaps a warning without the stacktrace would be sufficent. On Sun, Sep 29, 2013 at 4:05 PM, Lance Java wrote: > Possibly a web crawler sending an invalid request? >

Re: 5.4 Autocomplete exception

2013-09-29 Thread Lance Java
Possibly a web crawler sending an invalid request?

Re: 5.4 Autocomplete exception

2013-09-29 Thread Barry Books
t my 5.4 site up yesterday I'm seeing this in the logs. I did > not > > see this testing and I can't seem to reproduce it either. Any ideas? The > > code is pretty simple: The textfield is line 47 > > >

Re: 5.4 Autocomplete exception

2013-09-28 Thread George Christman
e: The textfield is line 47 > > > > > > "search-query" t:mixins="autocomplete"/> > > > > > >   > > > > > > > > > > > @OnEvent(value = "provideCompletions") > > *public* List aut

5.4 Autocomplete exception

2013-09-28 Thread Barry Books
Since I put my 5.4 site up yesterday I'm seeing this in the logs. I did not see this testing and I can't seem to reproduce it either. Any ideas? The code is pretty simple: The textfield is line 47   @OnEvent(value = "provideCompletions") *public* List

Re: how to configure jquery/autocomplete for ssl?

2013-09-17 Thread George Ludwig
ontributeApplicationDefaults(**final > MappedConfiguration configuration) { > configuration.add(**SymbolConstants.SECURE_**ENABLED, "true"); > > > 17.09.2013 13:07, George Ludwig пишет: > > I recently secured my webapp using an ssl certificate. Everything is >> gre

Re: how to configure jquery/autocomplete for ssl?

2013-09-17 Thread Michael Gagauz
;true"); 17.09.2013 13:07, George Ludwig пишет: I recently secured my webapp using an ssl certificate. Everything is great, except the jquery/autocomplete mixin generates an ajax url with an http protocal, rather than an https protocol, causing the ajax call to fail. Is there an easy way to configure th

how to configure jquery/autocomplete for ssl?

2013-09-17 Thread George Ludwig
I recently secured my webapp using an ssl certificate. Everything is great, except the jquery/autocomplete mixin generates an ajax url with an http protocal, rather than an https protocol, causing the ajax call to fail. Is there an easy way to configure the protocol used?

Re: autocomplete show all button

2013-09-06 Thread Boris Horvat
> I understand how it works. May be my explanation was a bit vague. So... > > I want to have text field with predefined options and also possibility to > insert custom text. So i looked for like "editable select", but then i > create plain textfield with autocomplete. It works f

Re: autocomplete show all button

2013-09-06 Thread Jan Fryblik
I understand how it works. May be my explanation was a bit vague. So...I want to have text field with predefined options and also possibility to insert custom text. So i looked for like "editable select", but then i create plain textfield with autocomplete. It works fine as i want, b

Re: autocomplete show all button

2013-09-06 Thread Boris Horvat
So why not create a button that will populate a list of the available options? On Fri, Sep 6, 2013 at 9:04 PM, Jan Fryblik wrote: > ** > Hi guys, > > I'm using Tapestry-JQuery AutoComplete component and i would like to have > small button to show all options next to text

Re: autocomplete show all button

2013-09-06 Thread Boris Horvat
It is not related to the autocomplete. Autocomplete triggers an event on the server side it is up to you to figure out what to return. Usually this should query some db table and return data that matches that. Example You have a filed that would help users to type in a country. When they start

autocomplete show all button

2013-09-06 Thread Jan Fryblik
Hi guys,I'm using Tapestry-JQuery AutoComplete component and i would like to have small button to show all options next to text field. Does somebody know how to open autocomplete list? I've tried a few solutions suggested in other discussions, but none of them worked. Thank you in ad

Re: autocomplete show all button

2013-09-06 Thread Jan Fryblik
That's what i'm trying to do, but i don't know how to force autocomplete to show all options. Or have i missed something? On Fri, 06 Sep 2013 21:12:58 +0200, Boris Horvat wrote: So why not create a button that will populate a list of the available options? On Fri, S

Re: Autocomplete Mixin with bootstrap3

2013-09-04 Thread Thiago H de Paula Figueiredo
On Wed, 04 Sep 2013 09:17:32 -0300, Eugen wrote: ups... :P i uploaded the image to: http://imagesup.net/?di=913782968996 Yeah, definitely CSS. Please file a JIRA for that. Meanwhile, you can add some CSS yourself to get it to look good. -- Thiago H. de Paula Figueiredo --

Re: Autocomplete Mixin with bootstrap3

2013-09-04 Thread Eugen
ups... i uploaded the image to: http://imagesup.net/?di=913782968996 Thanks 2013/9/4 Thiago H de Paula Figueiredo > ** > On Wed, 04 Sep 2013 04:57:43 -0300, Eugen wrote: > > Hi all, > > > Hi! > > a have a layout problem with an TextField decorated with Autoc

Re: Autocomplete Mixin with bootstrap3

2013-09-04 Thread Thiago H de Paula Figueiredo
On Wed, 04 Sep 2013 04:57:43 -0300, Eugen wrote:Hi all,Hi!a have a layout problem with an TextField decorated with Autocomplete mixin.The .tml:                           State                                          Country                        The mixin is working

Autocomplete Mixin with bootstrap3

2013-09-04 Thread Eugen
Hi all, a have a layout problem with an TextField decorated with Autocomplete mixin. The .tml: State Country The mixin is working fine, but follow layout is produced: [image

Re: [t5.4] Twitter Typeahead Autocomplete

2013-08-29 Thread Peter Hvass
M Subject: Re: [t5.4] Twitter Typeahead Autocomplete This is something being actively pursued in the Typeahead.js forums. http://jsfiddle.net/needathinkle/MA7Ep/ On Thu, Aug 29, 2013 at 9:00 AM, Peter Hvass wrote: > Hello, > > > We've been playing around with

Re: [t5.4] Twitter Typeahead Autocomplete

2013-08-29 Thread Howard Lewis Ship
This is something being actively pursued in the Typeahead.js forums. http://jsfiddle.net/needathinkle/MA7Ep/ On Thu, Aug 29, 2013 at 9:00 AM, Peter Hvass wrote: > Hello, > > > We've been playing around with the new autocomplete from alpha 15 today > and discovered > s

[t5.4] Twitter Typeahead Autocomplete

2013-08-29 Thread Peter Hvass
Hello, We've been playing around with the new autocomplete from alpha 15 today and discovered some gnarly style issues. Some of the elements have style attributes that kind of conflict with the way bootstrap 3 forms work (i.e.: all inputs having 100% width by default). We mad

Re: AutoComplete Mixin issue - Tapestry 5.2.6

2013-08-15 Thread Ilya Obshadko
; Simon > > From: Dongmei Cao mailto:dongmei@icann.org>> > Reply-To: Tapestry users users@tapestry.apache.org>> > Date: Thursday, June 14, 2012 10:30 PM > To: Tapestry users users@tapestry.apache.org>> > Subject: AutoComplete Mixin issue - Tapestry 5.2.6 >

RE: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Alex Pasialis
Hi Serge, Sorry, I already know how to bind a mixin to a field. Anyone else? Thanks Alexis > Date: Fri, 2 Aug 2013 07:43:50 -0700 > From: sd...@hotmail.com > To: users@tapestry.apache.org > Subject: RE: Tapestry 5.4 - Question about Autocomplete > > See Tapestry-core inte

RE: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Serge Eby
/java/org/apache/tapestry5/integration/app1/pages/AutocompleteDemo.java;h=3f67a413837236fc8023490fbdd3e26420a13228;hb=HEAD /Serge -- View this message in context: http://tapestry-users.832.n2.nabble.com/FW-Tapestry-5-4-Question-about-Autocomplete-tp7587258p7587270.html Sent from the Tapestry

RE: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Alex Pasialis
I am not using the tapestry-jquery library anymore. Tapestry's built-in Autocomplete is using JQuery now. Can anyone post a simple working example please? Thanks Alexis > Subject: Re: Tapestry 5.4 - Question about Autocomplete > From: tawus.tapes...@gmail.com > Date: Fri, 2 Aug

Re: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Emmanuel DEMEY
The 5.4-alpha branch of Tapestry5-jQuery is not ready yet. i worked on it a lot few months ago, but still some modifications to do. Manu 2013/8/2 Taha Hafeez Siddiqi > You have to add(require) javascript containing autocomplete plugin > > require.config({ >shim: { >

Re: Tapestry 5.4 - Question about Autocomplete

2013-08-02 Thread Taha Hafeez Siddiqi
You have to add(require) javascript containing autocomplete plugin require.config({ shim: { "path/to/auto-complete": ["query"] } }); That may be part of jquery.ui.js which is included by Tapestry-jQuery. BTW there is an 5.4-alpha branch in tapestry-jquery but I a

FW: Tapestry 5.4 - Question about Autocomplete

2013-08-01 Thread Alex Pasialis
Hi, I have upgraded to Tapestry 5.4 and I have a problem extending the Autocomplete mixin: in java: void afterRender() { javaScriptSupport_.require("bla") .priority(InitializationPriority.LATE).with(getParameters()); } in bla.js: define([ "jqu

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread Taha Hafeez Siddiqi
No :) But I would start with Chrome -> Right click around the autocomplete -> Inspect Element and start looking at the stylesheet. But again you are missing the point. Once you know it is not tapestry related, you should ask the question in related(css/js in this case) mailing list/forum

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread newbie newbie
.com.au/jumpstart/examples/ajax/autocompletemixin > ? > >> > >> Taha > >> > >> On 26-Jun-2013, at 12:05 PM, newbie newbie > wrote: > >> > >>> Hi, > >>> I have a autocomplete mixin. When the list of suggestions pop-up, it &g

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread Taha Hafeez Siddiqi
>> >> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/autocompletemixin? >> >> Taha >> >> On 26-Jun-2013, at 12:05 PM, newbie newbie wrote: >> >>> Hi, >>> I have a autocomplete mixin. When the list of suggestions pop-up, it >&

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-26 Thread newbie newbie
rs ? > > Do you see the same behaviour in this example > > > http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/autocompletemixin? > > Taha > > On 26-Jun-2013, at 12:05 PM, newbie newbie wrote: > > > Hi, > > I have a autocomplete mixin. When the l

Re: Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-25 Thread Taha Hafeez Siddiqi
Hi This might be a css issue. Does it happen on all browsers ? Do you see the same behaviour in this example http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/autocompletemixin ? Taha On 26-Jun-2013, at 12:05 PM, newbie newbie wrote: > Hi, > I have a autocomplete mixin

Mixin Autocomplete pop-up floats up and down the page with webpage scrollbar

2013-06-25 Thread newbie newbie
Hi, I have a autocomplete mixin. When the list of suggestions pop-up, it doesn't stay put in one place. If you scroll down the webpage, it will float down. If you scroll up, it will float up. I want it to stay at my TextField where the Autocomplete mixin is at. Here is my tml file

Re: how to trigger onValueChanged from AutoComplete mixin?

2013-05-28 Thread George Ludwig
Dusko, thanks for the response. I'm actually using the jQuery autocomplete, so controls.js is irrelevant. It looks like it happens in jquery.ui.autocomplete.js around line 273. What I don't get is, why does the onValueChanged event NOT get triggered when the value is changed via a mous

Re: how to trigger onValueChanged from AutoComplete mixin?

2013-05-28 Thread Dusko Jovanovski
Autocomplete only triggers the EventConstants.PROVIDE_COMPLETIONS event. Take a look at the onClick function in controls.js (line 183) (Tapestry 5.3). That's the place that you need to modify to get the desired behavior. On Mon, May 27, 2013 at 11:25 PM, George Ludwig wrote: > I've

how to trigger onValueChanged from AutoComplete mixin?

2013-05-27 Thread George Ludwig
I've got a custom textfield that uses the autocomplete mixin. Everything is working great except that when the user clicks on an item in the matchlist, the onValueChanged event is not triggered. I'm it's possible, but I'm in over my head. As far as I can tell, I would need

Re: Customize autocomplete mixin match list?

2013-05-21 Thread George Ludwig
teral text, i.e. I get this: "someTextsomeOtherText" when I want this: "someText someOtherText" I looked at the autocomplete code in the debugger, and saw that it seems to care about the content type. In the autocomplete method, it does this: ContentType contentType = re

Re: Customize autocomplete mixin match list?

2013-05-16 Thread Emmanuel DEMEY
Or you can use the one provided by the Tapestry jQuery project. I have already customized the rendering by using this jQuery UI configuration : http://jqueryui.com/autocomplete/#custom-data Manu 2013/5/16 Lance Java > You could extend the AutoComplete mixin and overr

Re: Customize autocomplete mixin match list?

2013-05-16 Thread Lance Java
You could extend the AutoComplete mixin and override generateResponseMarkup.

Customize autocomplete mixin match list?

2013-05-15 Thread George Ludwig
I want customize the look of each item in the list created by the Autocomplete mixin. Currently, I just return an id for each object. But I'd rather return HTML-formatted output. For example, right now I just return a simple String to populate the match list: return getName(); But I wa

Autocomplete gotT5

2013-05-04 Thread Jens Breitenstein
Hi All! I have two questions concerning jquery/autocomplete and hopefully one of you can point me to the right direction. Part 1: Basically everything is working fine: onProvideCompletions is called and the list is displayed. Unfortunately I need to render a different href and text in the

Re: tapestry 5.3.6 using autocomplete component problem

2013-05-01 Thread Emmanuel DEMEY
The xsd file you are using seems wrong. Can you use tapestry_5_3.xsd<http://tapestry.apache.org/schema/tapestry_5_3.xsd> instead. I am not sure it is the solution to your problem. Manu 2013/5/1 Shuu Johnny > When I want to do the tapestry autocomplete example, I face thes

tapestry 5.3.6 using autocomplete component problem

2013-05-01 Thread Shuu Johnny
When I want to do the tapestry autocomplete example, I face these trouble. start- An unexpected application exception has occurred. Method example.hellotapestry.pages.AutoCompleteComp.onProvideCompletionsFromCompInput(java.lang.String) references

Re: Implement Autocomplete OnSelect event - jquery bind event

2012-10-21 Thread bhorvat
I manage to solve my problem in a different way. By passing a function that will be triggered once the item in autocomponent is selected. cheers -- View this message in context: http://tapestry.1045711.n5.nabble.com/Implement-Autocomplete-OnSelect-event-jquery-bind-event-tp5717090p5717100

Re: Implement Autocomplete OnSelect event - jquery bind event

2012-10-20 Thread bhorvat
ge gets trigger once I select something from autocomplete, but it only gets the first character and not the hole word. Any ideas anyone -- View this message in context: http://tapestry.1045711.n5.nabble.com/Implement-Autocomplete-OnSelect-event-jquery-bind-event-tp5717090p5717092.html Sent from

Implement Autocomplete OnSelect event - jquery bind event

2012-10-20 Thread bhorvat
I am interested if it is possible to set on select event or value change or something like that on the autocompletion mixin. Basically I would like to get a value that was set using the autocomplete on the jave side. I have tried setting some method @OnEvent(value = "selected",

Re: How to get selected value from Autocomplete list onto server side?

2012-09-26 Thread djst
Okay. I'll look in to it. Thanks for the help. :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-get-selected-value-from-Autocomplete-list-onto-server-side-tp5716506p5716510.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: How to get selected value from Autocomplete list onto server side?

2012-09-26 Thread Dieter Sauvillers
I guess what you are looking for is a mix of two different things on one hand the autocomplete mixin which provides the pincodes, but on the other hand you want the onvaluechanged from a select component. Maybe you can look at that implementation, but I think is pretty similar to the zoneupdater

Re: How to get selected value from Autocomplete list onto server side?

2012-09-26 Thread djst
Okay... Isn't there a way another way of implementing this? Or is there a way to extend or configure the autocomplete mixin to provide submission when the user chooses from the dropdown menu? -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-get-selected-

RE: Tapestry 5.3.2 autocomplete mixin not working

2012-09-26 Thread djst
+s1045711n5716484...@n5.nabble.com] Sent: 25. september 2012 14:28 To: David Teglbjærg Subject: Re: Tapestry 5.3.2 autocomplete mixin not working Hello, I had similar weird trouble once. I was using tapestry 5.3 and it did not found my setupRender() function in one of my page classes. I did not do

Re: Tapestry 5.3.2 autocomplete mixin not working

2012-09-25 Thread Charlouze
. > Pretty weird, but I'll try to figure out what is interfering in my current > project. > > Thanks for the replies. > > /David > > > From: ccureau [via Tapestry] [mailto: > ml-node+s1045711n5716479...@n5.nabble.com] > Sent: 25. september 2012 13:38 > To: Da

RE: Tapestry 5.3.2 autocomplete mixin not working

2012-09-25 Thread djst
m: ccureau [via Tapestry] [mailto:ml-node+s1045711n5716479...@n5.nabble.com] Sent: 25. september 2012 13:38 To: David Teglbjærg Subject: Re: Tapestry 5.3.2 autocomplete mixin not working Hi! This may or may not be your issue, but f you are using tapestry5-jquery, you may have some issues with au

Re: Tapestry 5.3.2 autocomplete mixin not working

2012-09-25 Thread Chris Cureau
Hi! This may or may not be your issue, but f you are using tapestry5-jquery, you may have some issues with autocomplete unless you use t:mixins="jquery/autocomplete" or disable Prototype first. Just a thought... On Wed, Sep 12, 2012 at 9:48 AM, djst wrote: > Hi there. > >

Re: Tapestry 5.3.2 autocomplete mixin not working

2012-09-25 Thread djst
Tapestry-5-3-2-autocomplete-mixin-not-working-tp5716234p5716476.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mai

Re: Tapestry 5.3.2 autocomplete mixin not working

2012-09-13 Thread Josh Canfield
List matches = new ArrayList(); > String testString = "help"; > if(testString.contains(partial)) > matches.add(testString); > > return matches; > } > } > > I then try to type "h" in the textfield

Tapestry 5.3.2 autocomplete mixin not working

2012-09-12 Thread djst
List matches = new ArrayList(); String testString = "help"; if(testString.contains(partial)) matches.add(testString); return matches; } } I then try to type "h" in the textfield and I suppose I it should

  1   2   3   >