, no need to tinker with
deactivated JS:
form.add(new AjaxButton(ajaxGo, form){});
form.add(new Button(go));
Please change your quickstart before attaching it to the issue.
Thanks
Sven
On 02/27/2014 11:45 AM, Dmitriy Neretin wrote:
Hi,
I'm not sure if that a realy bug
There is a workaround for the problem:
Extend RedirectPage - anotate it with RequireHttps - insert this page
between source (http) and target (https) pages.
The second redirect leads to the https page!
Dmitriy
2014-02-27 13:04 GMT+01:00 Dmitriy Neretin dmitriy.nere...@googlemail.com:
Thanks
I think the 4-th option will be the best way to do it. As an external
solution you can consider Spring Security or Apache Shiro
2014/1/16 Martin Grigorov mgrigo...@apache.org
Hi,
4) Add a Servlet Filter *before* WicketFilter in web.xml
The new filter will check whether there is an
Hi everyone,
I have a problem with textfield enabling/disabling and with update of the
appropriate model.
I have a wizzard with 3 steps:
- Step one: show some info fields
- Step two: let the user edit his info with textfields
- Step three: show the user new info.
Now I built an ajaxcheckbox in
);
}
}
~ Thank you,
Paul Bors
-Original Message-
From: Joachim Schrod [mailto:jsch...@acm.org]
Sent: Tuesday, July 09, 2013 6:27 PM
To: users@wicket.apache.org
Subject: Re: FormComponent independent from the Model/Model object
Dmitriy Neretin wrote:
Hi everyone,
I have a dummy
Hi everyone,
I have a dummy question:
If I have a panel with a form (not everything is my code) -
public class MyPanel{
public MyPanel(id, IModelMyObj model){
super(id, new CompoundPropertyModelMyObj(model);
FormMyObj form = new Form(id, model);
:)) You should better dive into your new project :))
It didn't work... And I don't have any idea why...
The constructor (id, myModel, choicesModel, renderer) didn't work too :))
But the example is too complicated to discuss it here. But it works fine if
I use this:
(id, choisesModel, renderer)
Hi everyone!
I have a little problem. When I unit test a wicket panel with a
DropDownChoice I can't get the choices list into dropdown... So, that is
how I use it:
a) ... new DropDownChoice(aWicketId, new ChoicesModel.getObject(),
myOwnChoicesRenderer)
b) The choices Model ist a
/..
On Tue, May 7, 2013 at 5:31 PM, Igor Vaynberg igor.vaynb...@gmail.com
wrote:
attribute modifiers are behaviors, so use
component.getbehavior(AttributeModifier.class) to get it.
-igor
On Tue, May 7, 2013 at 8:24 AM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote
Hello,
Is it possible to unit test an AttributeModifier?
I have a simple component:
WebMarkupContainer container = new WebMarkupContainer(containerId);
container.add(new AttributeModifier(name, anyDynamicValue));
In the unit test:
WebMarkupContainer container = (WebMarkupContainer)
there are no changes in this area.
Do you extend/inherit the markup or completely override it ?
I expect to see wicket:extend instead of wicket:panel in
MyNewPanel.html.
Create a quickstart and attach it to a ticket in Jira please.
On Fri, Feb 1, 2013 at 2:12 PM, Dmitriy Neretin
?
2013/1/31 Martin Grigorov mgrigo...@apache.org
Hi,
formComponent.getFeedbackMessages().getFirst(level)
On Thu, Jan 31, 2013 at 5:14 PM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hi folks,
We are migrating from Wicket 1.5 to 1.6
Here is an example what we did in 1.5
Hi Folks,
I have another problem during Wicket 6 migration. This time it is a problem
with markup inheritance.
I have an old wicket panel and appropriate markup file:
MyOldGoodWicketPanel MyOldGoodWicketPanel.html
Markup file looks like this:
wicket:panel
... stuff ...
/wicket:panel
Some
Hi folks,
We are migrating from Wicket 1.5 to 1.6
Here is an example what we did in 1.5:
formComponent.getFeedbackMessage().getMessage().toString()
So, the FormComponent class doesn't have the method getFeedbackMessage()
anymore. But getFeedbackMessages()... Can somebody show/explain me how I
05:09 PM, Dmitriy Neretin wrote:
Hi wicket-users,
I have a question about a combination of the TextField and
AjaxFormComponentUpdatingBehav**ior.
I have a text field with content. Just to indicate what user should enter.
For example a day text filed, which already contains following DD.
I do
http://stackoverflow.com/questions/2851794/clear-text-onclick-textfield
Sven
On 11/27/2012 05:09 PM, Dmitriy Neretin wrote:
Hi wicket-users,
I have a question about a combination of the TextField and
AjaxFormComponentUpdatingBehav**ior.
I have a text field with content. Just
Hi wicket-users,
I have a question about a combination of the TextField and
AjaxFormComponentUpdatingBehavior.
I have a text field with content. Just to indicate what user should enter.
For example a day text filed, which already contains following DD.
I do it by following:
Hello everybody!
I have a strange behavior of a text field above. When I see a choice list
and try to select an entry with a enter key - no problem. But when I try to
select an entry with a mouse - no chance! The selected entry doesn't appear
in the text field...
I added to the filed
Hello everybody,
I have a little problem. I use in my webpages ressource models. For example:
public class MyPage{
...
add(new Label(id, new ResourceModel(myResourceKey));
...
I also have a MyPage.properties where I placed following
String: myResourceKey=Hello World!
Hi Folks,
I don't really unterstand how to do it.
I have two Wicket Pages: Page1 and Page2
On the Page1 I define the Label, wich will be contain the anchor id. So
now I want to define a link on the Page1, wich will get
setResponsePage(Page1) but I also want that the user will be forwarded to
26, 2012 at 11:18 AM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hi Folks,
I don't really unterstand how to do it.
I have two Wicket Pages: Page1 and Page2
On the Page1 I define the Label, wich will be contain the anchor id. So
now I want to define a link on the Page1
You know, you are a wicket god :) Thanks and have a nice day!
2012/9/26 Martin Grigorov mgrigo...@apache.org
On Wed, Sep 26, 2012 at 2:31 PM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Thank You!
Well I have the second case. What I don't really understand is how to get
Thanks!
Can you describe how can I use the AjaxFormChoiceComponentUpdatingBehavior()
with the label?
2012/6/15 Martin Grigorov mgrigo...@apache.org
Hi,
#onSelectionChanged() works only if you override
#wantOnSelectionChanged() to return true.
Otherwise you can also use
protected void onUpdate(AjaxRequestTarget target)
{
label.setDefaultModelObject(sites.getModelObject());
target.add(label);
}
});
On Fri, Jun 15, 2012 at 11:25 AM, Dmitriy
Perfect! Thank you!
2012/6/15 Martin Grigorov mgrigo...@apache.org
either make 'sites' final or use Wicket events (
http://www.wicket-library.com/wicket-examples/events/ )
On Fri, Jun 15, 2012 at 12:42 PM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Thanks! It was really helpful
Hello everybody!
Hope someone can help me. I don't really understand, what I should add as
ajax target :(
So, I have an abstract class Index where I add all my panels (3) and it is
my masterlayout. I add the panels in the index class like this:
add(new ShoppingCartPanel(id, anotherMehod);
The
to refresh via ajax must have
outputMarkupId set to true.
Hope that helps.
Josh.
On Tue, Mar 1, 2011 at 11:51 AM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hello everybody!
Hope someone can help me. I don't really understand, what I should add as
ajax target :(
So, I
, you need to update it's submit
link component outside this panel also.
onsubmit(target){
target.addComponent(formPanel);
target.addComponent(submitLinkNotNestedInsideTheFormPanel);
}
On Tue, Mar 1, 2011 at 9:51 AM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Thanks for reply
() ? like the error message said?
-igor
On Tue, Feb 8, 2011 at 1:31 AM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hi,
my complete setUp looks like this:
@Before
public void setUp() {
MworldWicketApplication wicketWebApp = new
MworldWicketApplication
(before calling #refresh() on
ctx)
ctx.setServletContext(getServletContext());
Attila
2011/2/9 Dmitriy Neretin dmitriy.nere...@googlemail.com
Thank you for reply,
yes! And I get then another exception :)
Cannot resolve ServletContextResource without ServletContext
Does andybody
tester = new WicketTester(new MockApplication(),
target/my-webapp-name);
Assert.assertNotNull(tester.getServletContext().getResource(WEB-INF/web.xml));
Attila
2011/2/9 Dmitriy Neretin dmitriy.nere...@googlemail.com
Hi,
thank you! Now I know how to get the ServletContext :) But it didn't
February 2011 07:37, Igor Vaynberg igor.vaynb...@gmail.com wrote:
make sure your setup() code runs before wicket tester instance is created.
-igor
On Mon, Feb 7, 2011 at 7:41 AM, Dmitriy Neretin
Hello everybody,
After integration with spring I have following problem:
if I add following to my CustomSession:
InjectorHolder.getInjector().inject(this); (because I store some spring
beans in the custom session)
My WicketTester doesn't work anymore. I get this exception:
BeanFactory not
= new WicketTester(myapp);
Martijn
On Mon, Feb 7, 2011 at 2:10 PM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hello everybody,
After integration with spring I have following problem:
if I add following to my CustomSession:
InjectorHolder.getInjector().inject(this); (because
appears in the rendered markup.
-igor
On Thu, Feb 3, 2011 at 1:16 AM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hello everybody!
Is the WicketTester method isVisible() the right solution to test if the
Image is shown on the webpage?
Thank you
Hello everybody!
Is the WicketTester method isVisible() the right solution to test if the
Image is shown on the webpage?
Thank you!
Hello everybody,
I have problems with unit testing.
All the time I have used NetBeans 6.9.1 with Glassfish and there wasn't any
problems. Just create a new UnitTest with WicketTester and it worked pretty
fine. Today I changed the project infrastructure to Maven with surifire
plug-in. The problem
I don't really understand how to do that?
On 1 February 2011 14:46, Pedro Santos pedros...@gmail.com wrote:
You need to add the test or provided scope servlet-api dependency in your
project pom
On Tue, Feb 1, 2011 at 11:11 AM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hello
Oh sorry!!! It works now! Thank you!
I should add this to my pom:
dependency
groupIdjavax.servlet/groupId
artifactIdservlet-api/artifactId
version2.4/version
scopeprovided/scope
/dependency
On 1 February 2011 14:51, Dmitriy Neretin
Hello everybody,
The question isn't really simple :)
So, the official documentation says (
http://wicket.apache.org/apidocs/1.4/org/apache/wicket/RequestCycle.html):
1) A page that does not yet exist in a user Session may be encoded as a URL
that references the not-yet-created page by class
://cwiki.apache.org/WICKET/request-cycle-and-request-cycle-processor.html
https://cwiki.apache.org/WICKET/request-cycle-and-request-cycle-processor.html
martin-g
On Tue, Dec 28, 2010 at 9:27 PM, Dmitriy Neretin
dmitriy.nere...@googlemail.com wrote:
Hello everybody,
The question isn't really
41 matches
Mail list logo