Re: AutoCompleteBehavior dont work with AbstractTransformerBehavior

2012-02-23 Thread Taag
It's only changed to span when the input field is disabled. To avoid haveing
the textfield visible.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/AutoCompleteBehavior-dont-work-with-AbstractTransformerBehavior-tp4414031p4414135.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AutoCompleteBehavior dont work with AbstractTransformerBehavior

2012-02-23 Thread Martin Grigorov
Hi,

On Thu, Feb 23, 2012 at 3:40 PM, Taag  wrote:
> I have a class that extends AutocompleteTextfield, to give me a list of users
> avaliable based on input.
> An object of this owndefined class also addes a class with
> AbstractTransformerBehavior. This is done to change the html of the input,
> to a span, for display purposes.

If you change input to span then how the user is able to enter characters ?
With 'contentEditable' attribute ?

>
> It seems that there is some problems between these two? Because when i
> comment out the class with AbstractTransformerBehavior, the autocomplete
> pops up, with possible choices. But with the AbstractTransformerBehavior the
> code never enters the getChoices method, which shoudl return the list with
> users avaliable.
>
> Anyone know a fix around this, or by doing it another way?
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/AutoCompleteBehavior-dont-work-with-AbstractTransformerBehavior-tp4414031p4414031.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org