Congratulations with the new release.
I guess it would be best if 1.5.8 was added to the dropdown box (and become
the default option) on http://wicket.apache.org/start/quickstart.html
regards
Maarten
On Fri, Aug 24, 2012 at 5:02 PM, Martin Grigorov wrote:
> This is the eighth maintenance releas
you should declare your Select2Choice as Select2Choice since
that is its model type. once you do this the compiler will tell you
that your TextChoiceProvider should be TextChoiceProvider
instead of
-igor
On Tue, Sep 4, 2012 at 1:42 PM, Sandor Feher wrote:
> Okay. Just one more question.
>
> I h
On Tue, Sep 4, 2012 at 11:17 PM, Alec Swan wrote:
> Well, mountPackage did not work for me either.
>
> Basically, what I want to do is access ALL resources in
> com.myco.app.res package with "global" URL prefix. For example, access
> a JavaScript file as global/events.js instead of
> ../wicket/res
Hello,
I ran into another problem while migrating to 1.5. I have a form with
a TextField(new PropertyModel(obj, "value")). The test
that fills and submitts the form in 1.4 worked just fine. In 1.5 I get
an error "'X' is not a valid Serializable" where 'X' is what's
returned from obj.getValue() met
In an older reply on this topic, Martijn Dashorst suggested to another user
to mount the page using one of the strategies that already exist or
implement your own.
Older thread "urlFor and putClassAlias":
http://apache-wicket.1842946.n4.nabble.com/urlFor-and-putClassAlias-tp186414
2p1864143.html
Well, mountPackage did not work for me either.
Basically, what I want to do is access ALL resources in
com.myco.app.res package with "global" URL prefix. For example, access
a JavaScript file as global/events.js instead of
../wicket/resource/com.myco.app.res.GlobalResourceScope/events.js URL.
In 1
I've started Wicket 6 migration, check the SCM. Plan to release next JQWicket
version after Wicket 6 final is available.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Jqwicket-tp4651665p4651754.html
Sent from the Users forum mailing list archive at Nabble.com.
--
Okay. Just one more question.
I have a domain model (HrpBbheerk) which contains a Short column. I would
like to fill this via Select2Choice.
I read the select2-examples but not able to get rid it.
So the steps I took.
1. Fill my hepar5list list from my domain model (HrpBbhepar5). This contains
c
Thanks for the info. I hope there are plans to clean up WicketTester
because the simplicity of testing Wicket components that it provides
is a very important Wicket feature.
Alec
On Tue, Sep 4, 2012 at 1:46 PM, Igor Vaynberg wrote:
> we migrated from 1.4.x to 1.5.x. but, we use selenium to test
we migrated from 1.4.x to 1.5.x. but, we use selenium to test ui
instead of wicket tester :)
-igor
On Tue, Sep 4, 2012 at 12:07 PM, Alec Swan wrote:
> This makes me wonder how many big apps actually migrated from 1.4 to
> 1.5 (instead of starting from scratch) if this problem has never been
> di
Not quite, pre 1.5.x you kinda had to handle the WicketTester in your own
way anyhow as it was notorious for its "gotcha"'s.
We've migrated from 1.3.7 to 1.5.7 and since we extended WicketTester our
unit tests still behave as we expect them since we have our own API wrapping
around Wicket's. Refac
This makes me wonder how many big apps actually migrated from 1.4 to
1.5 (instead of starting from scratch) if this problem has never been
discovered. I also noticed that getComponentFromLastRenderedPage
assumes that the id of the instantiated component is different from
the id of it's first child
Hi,
Even if there is a place for improvement it is too late now.
There are many apps in production with 1.5 at that time and this
change will break them.
You can extend WicketTester and override the problematic method to
behave as you need it.
On Tue, Sep 4, 2012 at 8:11 PM, Alec Swan wrote:
> H
Hello,
Now that most of my production code is migrated to 1.5 I started
migrating my tests. The first problem I ran into is with
BaseWicketTester#startPanel and
BaseWicketTester#getComponentFromLastRenderedPage.
In 1.4 I could use startPanel and then find components with
getComponentFromLastRende
On Tue, Sep 4, 2012 at 10:14 AM, Sandor Feher wrote:
>
> Igor Vaynberg-2 wrote
>>
>> On Tue, Sep 4, 2012 at 7:27 AM, Sandor Feher wrote:
>>> Hi,
>>>
>>> I successfuly created a Select2Choice item in my form. I fill it up from
>>> a
>>> model and everything works fine but the listed choic
Igor Vaynberg-2 wrote
>
> On Tue, Sep 4, 2012 at 7:27 AM, Sandor Feher wrote:
>> Hi,
>>
>> I successfuly created a Select2Choice item in my form. I fill it up from
>> a
>> model and everything works fine but the listed choices' display in wrong
>> codepage. I use utf8 everywhere and hav
Tom,
I have com.myco.app.res.GlobalResourceScope.class and events.js in the
same package. So, putClassAlias(GlobalResourceScope.class, "global")
in 1.4 would allow me to access http://../app/global/events.js in the
browser.
It seems like in 1.5 this is similar to mountPackage(String, Class) which
Yes.
It doesn't make sense to use Ajax to refresh a whole page anyhow unless your
tab panel is really just a small panel but then you won't be asking about
support for the browser's back button because you prob won't care :)
~ Thank you,
Paul Bors
-Original Message-
From: Alec Swan [ma
So, my conclusion from this discussion is that TabbedPanel should be
used instead of AjaxTabbedPanel if browser Back button needs to be
supported with a menu.
Thanks,
Alec
On Tue, Sep 4, 2012 at 9:48 AM, Paul Bors wrote:
> You must be talking about the browser's navigation Back button.
> I thro
You must be talking about the browser's navigation Back button.
I through you had your own HTML button there for a second.
In that case you're relying on Wicket to handle it and on its page map
mechanism.
As explained earlier, an entry is not pushed for Ajax responses unless you
manually do so and
I didn't get your usecase exactly yet, but maybe this will help you:
http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/
Cheers,
-Tom
On 04.09.2012, at 17:33, Alec Swan wrote:
> I saw the link explaining how to migrate
> "SharedResources#putClassAlias(GlobalResourceScope.class,
On Tue, Sep 4, 2012 at 7:27 AM, Sandor Feher wrote:
> Hi,
>
> I successfuly created a Select2Choice item in my form. I fill it up from a
> model and everything works fine but the listed choices' display in wrong
> codepage. I use utf8 everywhere and have no problems with cp.
i believe this was fi
Thanks, Tom.
I saw the link explaining how to migrate
"SharedResources#putClassAlias(GlobalResourceScope.class, "global")"
before but was found it confusing because "global" and "images"
aliases 1.4 version were replaced with "imgres" in 1.5 example.
All I need to do is use "global" in place of G
Please see my inline comments.
Cheers,
-Tom
>> On 04.09.2012, at 02:36, Alec Swan wrote:
>>>
>>> * How to implement HybridUrlCodingStrategy in 1.5?
Please have a look at
http://wicketinaction.com/2011/07/wicket-1-5-mounting-pages/
>>> * I saw a ticket related to putClassAlias, but I co
Hi,
I successfuly created a Select2Choice item in my form. I fill it up from a
model and everything works fine but the listed choices' display in wrong
codepage. I use utf8 everywhere and have no problems with cp.
The second one is how to localize select2 messages from select2.js ?
E.g. formatNoMa
I used that migration guide during the migration but none of the
questions in my original post were answered there.
Alec
On Tue, Sep 4, 2012 at 12:44 AM, Thomas Götz wrote:
> Take a look at the migration guide, this will answer some (if not all) of
> your questions:
> https://cwiki.apache.org/W
It works perfectly thanks
On Mon, Sep 3, 2012 at 3:11 PM, Martin Grigorov wrote:
> Hi,
>
> See
> https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/request/cycle/PageRequestHandlerTracker.java
> Register it, then use it:
> PageRequestHandlerTracker.getLastHa
Hi,
The real problem is that IAuthorizationStrategy uses
IComponentInstantiationListener (note: *instantiation*).
This works OK for Page in your case because you use it for the check.
When a non-Page component is being instantiated it still doesn't know
about its immediate parent, nor the Page it
28 matches
Mail list logo