On Wed, May 15, 2013 at 10:56 AM, David Beer wrote:
> Hi Bill
>
> I would also suggest you take a look at the Wicket-Bootstrap project by
> agilecoders for Bootstrap integration. Is very good and has a lot of the
> bootstrap components.
>
> http://wb.agilecoders.de/demo/ and https://github.com/l0
Hi Bill
I would also suggest you take a look at the Wicket-Bootstrap project by
agilecoders for Bootstrap integration. Is very good and has a lot of the
bootstrap components.
http://wb.agilecoders.de/demo/ and
https://github.com/l0rdn1kk0n/wicket-bootstrap/
Thanks
David
On 14/05/13 21:36,
Hi,
You can use TextTemplate to load the JavaScript with the placeholders.
See
https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/autocomplete-tagit-parent/autocomplete-tagit/src/main/java/org/wicketstuff/tagit/TagItAjaxBehavior.java#L96
for
example.
On Wed, May 15, 2013 at 5:19 AM,
@Bas Gooren that code you linked was very helpful. I have what I want
up and working, but it's using a bunch of ugly jQuery ajax callbacks
hacked into StringBuilders :-(
@Don Ferguson I don't *think* this is what I'm looking for as I have
thousands of options and I don't want them rendered at page
The following seems to work (using wicket 6.7 with the experimental bootstrap
module). Basically, this ajax behavior is called on page load. At that
point, it writes out the javascript to initialize the object with typeahead
parameters.
HTML:
JAVA:
add(new TextField("ty
Select2's wicket integration should provide you with some pointers [1].
It basically points down to implementing a listener interface, and
providing the url to it to your javascript code. You can then return
your data when the listener interface's method is called.
[1]
https://github.com/ivay
I'm trying to create a typeahead component for Wicket that uses Bootstrap's
Typeahead:
To set this up though I need to provide the .typeahead method in JavaScript
with a function that will return the results, given the query. What I'd
like to do is attach that JavaScript function to a Java method