I've created WICKET-4275 for this, including a quickstart.
Gereon
Am 01.12.11 18:59 schrieb "Igor Vaynberg" unter :
>Gereon, can you take a look...
>
>-igor
>
>On Thu, Dec 1, 2011 at 9:58 AM, Martin Grigorov
>wrote:
>> dig the demo application and try
>> maybe I didn't test it properly...
>>
>>
Martin,
This class just reuses functionality already exiting and does not
introduce anything new. So, I hope including it will not creates new
issues as it is only
1- Making sure windows content is loaded on component creation
2- Firing the opening JavaScript on DOM ready event
Shall I create a
Hi,
Current implementation of AbstractAjaxTimerBehavior has a
functionality to stop() pooling. But once stopped it cannot be
restarted. There are situations when we want to periodically refresh
components from one event to another, but not all the time (to avoid
unnecessary requests to server). So
Lucas,
I just ported the solution to 1.4.x wiquery. Can you give it a try and
see if it solves your use case?
Regards,
Ernesto
On Wed, Nov 30, 2011 at 8:10 PM, lucast wrote:
> Hi Ernesto,
> Yes, I believe that porting it to 1.4.2 would be ideal. It means that I can
> finish this functionality
Hi,
There is a ticket with attached patch about this in our Jira.
Unfortunately it requires API change and that's why it waits for 1.6.
Igor mentioned once that the behavior can be reworked to stop/start
depending on Behavior#isEnabled(Component).
Find the ticket, play with #isEnabled and if it w
On Fri, Dec 2, 2011 at 11:46 AM, Ernesto Reinaldo Barreiro
wrote:
> Martin,
>
> This class just reuses functionality already exiting and does not
> introduce anything new. So, I hope including it will not creates new
> issues as it is only
>
> 1- Making sure windows content is loaded on component
I'm quite new to wicket and I have the following problem.
When I enter first time on page I change my local to de-De. But the messages
are not localized. I think is because the html is rendered before the
constructor is called.
When I press the corresponding button the locale is changed and also
> When I enter first time on page I change my local to de-De.
A better place to do that is in Application.newSession(). Or you can tell your
browser to prefer de_DE and let Wicket pick up using Accept-Language: header
(IIRC it does that for you).
- Tor Iver
---
> When I enter first time on page I change my local to de-De.
A better place to do that is in Application.newSession(). Or you can tell
your browser to prefer de_DE and let Wicket pick up using Accept-Language:
header (IIRC it does that for you).
This is not a good ideea as I have more modules
On Fri, Dec 2, 2011 at 2:09 PM, cosmindumy wrote:
>
>> When I enter first time on page I change my local to de-De.
>
> A better place to do that is in Application.newSession(). Or you can tell
> your browser to prefer de_DE and let Wicket pick up using Accept-Language:
> header (IIRC it does that
here is how I set the locale, at the beginning of the constructor, after
calling super()
final LingoosSession session = (LingoosSession) getSession();
if (!session.isLocaleModified())
{
session.setLocale(DEFAULT_LOCALE);
session.setLocaleModified(true);
Actually the locale is changed. But the wicket:messages are not changed. I
have to press on the flag and then they change.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/message-internationalization-tp4146241p4146906.html
Sent from the Users forum mailing list archive
Do not bother. I solve it.
It was a little careless of mine. Now the default locale is de_DE for my
wanted pages.
But I have other problems. Some components are not refreshed after changing
local from the flag. i will investigate and if I don't find a solution I
will ask you.
Thanks a lot.
--
V
how did you fix the first problem ?
On Fri, Dec 2, 2011 at 2:33 PM, cosmindumy wrote:
> Do not bother. I solve it.
> It was a little careless of mine. Now the default locale is de_DE for my
> wanted pages.
> But I have other problems. Some components are not refreshed after changing
> local from
Hi,
You just announced that your application doesn't work with Wicket 1.5 :-)
You sent the message to annou...@wicket.apache.org, and Reply-to: users@.
Please use users@ from now on.
Is the popup a ModalWindow ?
If yes, then check the changelog for Wicket 1.5.2. There were two
tickets closed as "
The problem was that I set the default locale to de_De but I needed de_CH.
:(.
And it didn't find the coresponding properties file and read from default
file. That was the problem.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/message-internationalization-tp4146241p
On Fri, Dec 2, 2011 at 2:52 PM, cosmindumy wrote:
> The problem was that I set the default locale to de_De but I needed de_CH.
> :(.
That's why I asked you what resource bundles you have.
I'm glad it works now!
> And it didn't find the coresponding properties file and read from default
> file. T
Hi again,
I have the following problems. If you have any idea please tell me.
The label components are not refreshed after changing locale. Do you know
why.
Another problem is that when I change the locale I refresh the whole page.
(target.addComponent(instance);) where instance is my Page class.
Hello,
I know is off topic but maybe you have an answer. :)
I have the following problems. If you have any idea please tell me.
I implemented the application internationalization but
the label components are not refreshed after changing locale. Do you know
why.
Another problem is that when I change
Hello,
I know is off topic but maybe you have an answer. :)
I have the following problems. If you have any idea please tell me.
I implemented the application internationalization but
the label components are not refreshed after changing locale. Do you know
why.
Another problem is that when I change
Hi guys,
Im trying to test a component i've made using wicket tester, but im having a
problem to assert a modelValue.
Im trying to input data on my component fields, and then submit. The problem
is, when i try to assertModelValue, it says it's empty.
My component is declared like this, in a blank
On Fri, Dec 2, 2011 at 4:52 PM, cosmindumy wrote:
> Hello,
> I know is off topic but maybe you have an answer. :)
> I have the following problems. If you have any idea please tell me.
> I implemented the application internationalization but
> the label components are not refreshed after changing l
Thanks a lot.
You were right. I used getString("my.key"). Now it works.
I will also try your advice using AjaxBehavior.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Internationalization-on-panels-tp2299768p4147818.html
Sent from the Users forum mailing list archiv
Have you tried using a form tester?
On Dec 2, 2011 10:58 AM, "Fabiosakiyam" wrote:
> Hi guys,
>
> Im trying to test a component i've made using wicket tester, but im having
> a
> problem to assert a modelValue.
> Im trying to input data on my component fields, and then submit. The
> problem
> is,
Have you tried using a form tester?
On Dec 2, 2011 10:58 AM, "Fabiosakiyam" wrote:
> Hi guys,
>
> Im trying to test a component i've made using wicket tester, but im having
> a
> problem to assert a modelValue.
> Im trying to input data on my component fields, and then submit. The
> problem
> is,
25 matches
Mail list logo