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 :
> Thanks for the resp
too, 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
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
> Hi,
>
> 4) Add a Servlet Filter *before* WicketFilter in web.xml
> The new filter will check whether there is an authenticated user or not
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 t
ew
> PropertyModel("myCheckBoxState", MyPanel.this));
> add(form);
>}
>
> }
>
> ~ 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
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, IModel model){
super(id, new CompoundPropertyModel(model);
Form form = new Form("id", model);
form.add(new AjaxCheck
:)) 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 loadabledetach
t;
>
> 2013/5/8 Martin Grigorov
>
> > Also check AttributeModifierTest in wicket-core/src/test/java/..
> >
> >
> > On Tue, May 7, 2013 at 5:31 PM, Igor Vaynberg > >wrote:
> >
> > > attribute modifiers are behaviors, so use
> > >
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)
teste
think there are no changes in this area.
> Do you extend/inherit the markup or completely override it ?
> I expect to see instead of 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 &
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:
... stuff ...
Some months ago I needed for the
is it right?
2013/1/31 Martin Grigorov
> 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 Wick
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
ca
d:**
> > DXImageTransform.Microsoft.**Alpha(Opacity=50)";)
> >
> >
> > Sven Meier wrote:
> >
> >> "oncklick"
> >>>
> >>
> >> ... or "onclick" ?
> >>
> >> I'd recommend a javascript only solu
r-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
koverflow.com/**questions/2851794/clear-text-**
> onclick-textfield<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
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:
dayField.setModel(
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 AjaxFormComp
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 Worl
You know, you are a wicket god :) Thanks and have a nice day!
2012/9/26 Martin Grigorov
> On Wed, Sep 26, 2012 at 2:31 PM, Dmitriy Neretin
> wrote:
> > Thank You!
> >
> > Well I have the second case. What I don't really understand is how to get
> > the '
append '#anchor' to the returned url from super.getURL();
>
> On Wed, Sep 26, 2012 at 11:18 AM, Dmitriy Neretin
> wrote:
> > Hi Folks,
> >
> > I don't really unterstand how to do it.
> >
> > I have two Wicket Pages: Page1 and Page2
> >
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
t
Perfect! Thank you!
2012/6/15 Martin Grigorov
> 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
> wrote:
> > Thanks! It was really help
{
>@Override
>protected void onUpdate(AjaxRequestTarget target)
>{
>
> label.setDefaultModelObject(sites.getModelObject());
>target.add(label);
>}
> });
Thanks!
Can you describe how can I use the AjaxFormChoiceComponentUpdatingBehavior()
with the label?
2012/6/15 Martin Grigorov
> Hi,
>
> #onSelectionChanged() works only if you override
> #wantOnSelectionChanged() to return true.
> Otherwise you can also use AjaxFormChoiceComponentUpdatingBehav
Hi all,
I have a little problem with my RadioGroup component. I have 2 radio
buttons inside of a ListView, witch is inside of the RadioGroup I mentioned
above. The amount of the radios is not predefined that's because I use
RadioGroup instead of RadioChoise. There can be 2 or 1000...
The Problem
o 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...@googl
e point is , what ever you want 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!
> >
> &
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");
roject):
>
> WicketTester tester = new WicketTester(new MockApplication(),
> "target/my-webapp-name");
>
> Assert.assertNotNull(tester.getServletContext().getResource("WEB-INF/web.xml"));
>
> Attila
>
> 2011/2/9 Dmitriy Neretin
>
> > Hi,
>
) method (before calling #refresh() on
> ctx)
>
> ctx.setServletContext(getServletContext());
>
> Attila
>
> 2011/2/9 Dmitriy Neretin
>
> > Thank you for reply,
> >
> > yes! And I get then another exception :)
> >
> > Cannot resolve ServletContextRe
ror message said?
>
> -igor
>
> On Tue, Feb 8, 2011 at 1:31 AM, Dmitriy Neretin
> wrote:
> > Hi,
> >
> > my complete setUp looks like this:
> >
> > @Before
> >public void setUp() {
> >MworldWi
, Igor Vaynberg 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
>
>
ter(myapp);
>
> Martijn
>
> On Mon, Feb 7, 2011 at 2:10 PM, Dmitriy Neretin
> wrote:
> > Hello everybody,
> >
> > After integration with spring I have following problem:
> >
> > if I add following to my CustomSession:
> >
> > InjectorHolder.get
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 init
rendered markup.
>
> -igor
>
> On Thu, Feb 3, 2011 at 1:16 AM, Dmitriy Neretin
> wrote:
> > Hello everybody!
> >
> > Is the WicketTester method isVisible() the right solution to test if the
> >
Hello everybody!
Is the WicketTester method isVisible() the right solution to test if the
Image is shown on the webpage?
Thank you!
Oh sorry!!! It works now! Thank you!
I should add this to my pom:
javax.servlet
servlet-api
2.4
provided
On 1 February 2011 14:51, Dmitriy Neretin wrote:
> I don't really understand how to do that?
>
>
> On 1 February
I don't really understand how to do that?
On 1 February 2011 14:46, Pedro Santos 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> wr
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
s://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.c
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 name.
43 matches
Mail list logo