I want to use wicket-select2 as a replacement for Wicket's
AutoCompleteTextField. Is it somehow possible to accept user input that is not
contained in the list of choices? Say, my choices list returns [A, B, C] but
user may also enter D in the textfield. How can I achieve this?
-Tom
Hi,
If you only need a static list of initial choices (non ajax), you
should be able to simply use select2's tagging support with something
like (didn't test it):
// model is your IModelString for the selected data
Select2ChoiceString choice = new Select2ChoiceString(choice,
model);
Thanks for your help and support. I am using now wicket-atmosphere 0.4
snapshot and atmosphere 1.0.0 .
I managed the reference of applicationclass in MyHazelcastBroadcaster class.
Both classes looks like this now:
class MyApplicationClass extends AuthenticatedWebApplication{
.
Then you probably didn't register the EventBus in your application's init
method. Please take a look at the demo-application I've setup:
https://github.com/papegaaij/wicket-atmosphere-quickstart
It contains the minimal configuration needed for wicket-atmosphere.
Best regards,
Emond
On
Paul, I looked at IResource and ResourceReference classes but still
can't figure out how to implement an alternative to putClassAlias.
In 1.4 you could do putClassAlias(GlobalResourceScope.class, global)
and after that all new ResourceReference(GlobalResourceScope.class,
relative/path/file.js)
Hi
I am trying to disable ajax submit button after it has been clicked.
AjaxSubmitLink submitButton1 = new AjaxSubmitLink(submitButton1) {
private static final long serialVersionUID = 1L;
protected void onSubmit(AjaxRequestTarget target, final Form?
form)
Hi Alec,
See my previous response. Try it and then come back.
On Wed, Sep 12, 2012 at 5:43 PM, Alec Swan alecs...@gmail.com wrote:
Paul, I looked at IResource and ResourceReference classes but still
can't figure out how to implement an alternative to putClassAlias.
In 1.4 you could do
you need to define your own createSearchChoice function and pass it to
the config. see the docs on the demo site.
-igor
On Wed, Sep 12, 2012 at 2:33 AM, Thomas Götz t...@decoded.de wrote:
I want to use wicket-select2 as a replacement for Wicket's
AutoCompleteTextField. Is it somehow possible
Ok, will try that, thanks!
-Tom
On 12.09.2012, at 17:23, Igor Vaynberg igor.vaynb...@gmail.com wrote:
you need to define your own createSearchChoice function and pass it to
the config. see the docs on the demo site.
-igor
On Wed, Sep 12, 2012 at 2:33 AM, Thomas Götz t...@decoded.de
Which wicket version ? (I ask because I see you are using several calls
that are deprecated in 1.5).
Besides, within the declaration of your inner class, don't try to access
the variable you are defining
(and without declaring it final, it should normally not compile anyway).
Not changing the
I've seen that version 6.0.0 has adopted also a new structure for its
distribution archives. So far I didn't find where the JavaDoc for this
version can be downloaded . Are they available only online?
-
To unsubscribe, e-mail:
Hey Alec,
I think Martin was referring to his earlier reply on Sep 06, 2012; 2:02pm from
the thread when he asked you to try and extend PackageResourceReference and
then mount your resources as:
mountResource(/global, new MyPackageResourceReference())
Give that a try and let us know how it
I tried Martin's approach but it didn't work because
RequestCycle.get().getRequest().getRequestParameters() is empty when
accessed from inside getName(). Maybe I am doing it wrong, so here are
some questions:
1. PackageResourceReference does not have a no-arg constructor, so
what parameter should
It's linked off Wicket's home page at http://wicket.apache.org/ under the
Releases section in parenthesis (docs):
http://ci.apache.org/projects/wicket/apidocs/6.0.x/
~ Thank you,
Paul Bors
-Original Message-
From: Andrea Del Bene [mailto:an.delb...@gmail.com]
Sent: Wednesday,
Sorry I think I might have read your question wrong, if you're looking for
the JavaDoc artifact you can grab it via maven by using the javadoc
classifier or you can search the Maven central repository and download it
via your web browser from:
PackageResourceReference IS-A ResourceReference and neither has a no-arg
constructor.
To see examples of how to implement your own PackageResourceReference take a
look at its children such as CssResourceReference for example and how it
initialized itself via the #getResource() method.
~ Thank
Hello,
WicketStuff Core projects version 1.4.21 have been released and shortly
will be available at Maven Central repository.
They are built against Apache Wicket 1.4.21.
The changelog is:
Andrei Costescu (2):
Patch (reviewed) from Andrei Costache. (option not to force
a value in the
PackageResourceReference IS-A ResourceReference and neither has a no-arg
constructor.
My point exactly. That's why I can't just do mountResource(/global,
new MyRR()) as Martin suggested.
To see examples of how to implement your own PackageResourceReference take a
look at its children such as
On 12.09.2012 21:38, Alec Swan wrote:
PackageResourceReference IS-A ResourceReference and neither has a no-arg
constructor.
My point exactly. That's why I can't just do mountResource(/global,
new MyRR()) as Martin suggested.
My quick try:
public class MyPackageResourceReference extends
Thanks, Christoph.
I tested your implementation and was able to pull
global/css/styles.css from the browser.
However, the following code threw an exception:
response.renderCSSReference(new
MyPackageResourceReference(MyResources.class, css/styles.css),
screen);
I also tried:
This is really great Igor, thanks.
I am preparing my slides for my Wicket/Java EE session at JavaOne, and this
just came in perfect time.
I'll update my archetype and some slides to show this and let everyone know
about =)
*Bruno Borges*
(11) 99564-9058
*www.brunoborges.com*
On Wed, Sep 12,
Why don't you take a look at a work I have been doing, called Gamboa
Project ?
It is a project where I build several Maven archetypes for Wicket/Scala
architectures (integrated with Spring or Java EE) and using JPA, CouchDB,
or MongoDB as the persistent store.
By the way, I'm going be at JavaOne
On 12.09.2012 22:50, Alec Swan wrote:
I tested your implementation and was able to pull
global/css/styles.css from the browser.
However, the following code threw an exception:
response.renderCSSReference(new
MyPackageResourceReference(MyResources.class, css/styles.css),
screen);
Maybe you
Maybe you could simply use
response.renderCSSReference(getRequest().getContextPath() +
/global/css/styles.css);
or is there a problem with it?
That didn't fix request.getUrl().toString() returning an empty string
when called from ResourceReference.getExtension()
24 matches
Mail list logo