Hi,
In the application an user should be able to change session locale with
a GET parameter (e.g. ?locale=pl). I implemented it in onConfigure for
my abstract WebPage where I check if the parameter exists and change
session locale and it works fine.
Nevertheless I wonder if it is a proper place
On Mon, Nov 25, 2013 at 6:31 PM, Marcin Zajączkowski msz...@wp.pl wrote:
Hi,
In the application an user should be able to change session locale with
a GET parameter (e.g. ?locale=pl). I implemented it in onConfigure for
my abstract WebPage where I check if the parameter exists and change
session
On 2013-11-20 09:28, Martin Grigorov wrote:
Hi,
On Wed, Nov 20, 2013 at 1:30 AM, Marcin Zajączkowski msz...@wp.pl wrote:
On 2013-11-19 08:44, Martin Grigorov wrote:
Hi,
I think you can use IModelString for the dropdown. This will be the
country code.
The transformation from id to name
service returning country name by ID/code.
One thing is not clear for me. How can I get a current locale in
CountryChoiceRenderer (without pass it from my DropDownChoice component)?
Marcin
On Tue, Nov 19, 2013 at 12:51 AM, Marcin Zajączkowski msz...@wp.pl wrote:
Hi,
Working on Wicket frontend
Hi,
Working on Wicket frontend for AppFuse I had to implement a drop down
choice of countries. I did it, but don't like the solution and I wonder
if it could be done easier/prettier?
Issues:
1. In domain model there is a country represented as a String field (a
country code) in an address class.
in a real use case
like yours.
On Mon, Nov 12, 2012 at 2:58 AM, Marcin Zajączkowski msz...@wp.pl wrote:
Hi, I have an application which internally uses prototype. After
migration from Wicket 1.5 to 6 I had problems with conflicts. It helped
to enable non conflict mode in jQuery, but to do
Hi, I have an application which internally uses prototype. After
migration from Wicket 1.5 to 6 I had problems with conflicts. It helped
to enable non conflict mode in jQuery, but to do this globally I had to
do a few things:
- an one line script
- a corresponding JavaScriptResourceReference
-
On 2012-10-08 10:06, Martin Grigorov wrote:
Hi,
You need to do:
tester.getRequest().setParameter(the:respective:name:of:the:input,
some value);
tester.executeBehavior()
It did a trick. Thanks!
Marcin
On Sun, Oct 7, 2012 at 3:26 AM, Marcin Zajączkowski msz...@wp.pl wrote:
On 2012
Hi,
I try to test auto complete feature implemented with
DefaultCssAutoCompleteTextField. I'm able to call it from a test using
WicketTesterHelper.findBehavior:
AbstractAutoCompleteBehavior behavior = (AbstractAutoCompleteBehavior)
On 2012-10-07 02:14, Marcin Zajączkowski wrote:
Hi,
I try to test auto complete feature implemented with
DefaultCssAutoCompleteTextField. I'm able to call it from a test using
WicketTesterHelper.findBehavior:
AbstractAutoCompleteBehavior behavior = (AbstractAutoCompleteBehavior
Hi,
In the application I need to have an util page which reloads application
configuration. No markup is required, page implementation calls reload
from service layer, set info message in a session and redirect to a
homepage.
I did it by creating EmptyMarkup class and returning it from
On 2011-02-12 23:26, Igor Vaynberg wrote:
class mypage extends webpage {
public mypage() {
service.reset();
getsession().info(..);
throw new restartResponseException(getapplication().gethomepage());
}
}
I knew there is a way :). Thanks Igor.
Marcin
2011/2/12 Marcin
compatible with Wicket? Maybe there is a better workaround
than switch to ONE_PASS_RENDER?
Regards
Marcin
2011/1/9 Marcin Zajączkowski msz...@wp.pl:
On 2011-01-09 22:00, Marcin Zajączkowski wrote:
Hi,
Following some problems with page rendering in my application after post
a form I've noticed
On 2011-01-09 22:00, Marcin Zajączkowski wrote:
Hi,
Following some problems with page rendering in my application after post
a form I've noticed that when redirect after post strategy is used (both
REDIRECT_TO_BUFFER and REDIRECT_TO_RENDER) page content is duplicated in
a response to GET
14 matches
Mail list logo