Re: CryptoMapper clears feedback messages

2015-01-20 Thread guy . wuyts

Hi,

ticket https://issues.apache.org/jira/browse/WICKET-5814 created.

regards,
Guy

On 2015-01-20 09:57, Martin Grigorov wrote:

Hi,

Please create a ticket and attach the quickstart there.
It may get lost here ...
Thanks!

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Jan 15, 2015 at 1:05 PM, guy.wu...@sensirius.com wrote:


Hi,

please find attached a quickstart project.

regards,
Guy


On 2015-01-15 10:39, guy.wu...@sensirius.com wrote:


Hi,

Wicket 6.18 seems to break the behaviour when using a CryptoMapper:
the feedback messages are cleared for pages that don't use the
CryptoMapper.

This was added to WicketApplication.init():

  mountPage(page1, Page1.class);
  setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), 
this));

  mountPage(page2,Page2.class);

Both pages contain a form and a FeedbackPanel.
With Wicket 6.17 there are no problems. When using Wicket 6.18, no
feedback messages are displayed on Page2.

Regards,
Guy


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: CryptoMapper clears feedback messages

2015-01-15 Thread guy . wuyts

Hi,

please find attached a quickstart project.

regards,
Guy

On 2015-01-15 10:39, guy.wu...@sensirius.com wrote:

Hi,

Wicket 6.18 seems to break the behaviour when using a CryptoMapper:
the feedback messages are cleared for pages that don't use the
CryptoMapper.

This was added to WicketApplication.init():

  mountPage(page1, Page1.class);
  setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));
  mountPage(page2,Page2.class);

Both pages contain a form and a FeedbackPanel.
With Wicket 6.17 there are no problems. When using Wicket 6.18, no
feedback messages are displayed on Page2.

Regards,
Guy


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

cryptomapper_quickstart.tar.gz
Description: GNU Zip compressed data

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

CryptoMapper clears feedback messages

2015-01-15 Thread guy . wuyts

Hi,

Wicket 6.18 seems to break the behaviour when using a CryptoMapper: the 
feedback messages are cleared for pages that don't use the CryptoMapper.


This was added to WicketApplication.init():

  mountPage(page1, Page1.class);
  setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));
  mountPage(page2,Page2.class);

Both pages contain a form and a FeedbackPanel.
With Wicket 6.17 there are no problems. When using Wicket 6.18, no 
feedback messages are displayed on Page2.


Regards,
Guy


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: URL Ipv6 parsing

2015-01-09 Thread guy . wuyts

JIRA ticket created: https://issues.apache.org/jira/browse/WICKET-5809

regards,
Guy

On 2015-01-09 09:30, Martin Grigorov wrote:

Hi,

Please file a ticket at JIRA.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Fri, Jan 9, 2015 at 9:25 AM, guy.wu...@sensirius.com wrote:


Hi,

we seem to have some issue with native IPv6 address parsing.
If we try https://[::1]/myapp;, URL parsing fails:

org.apache.wicket.request.Url.parse(https://[::1]/myapp;)
generates an exception:
java.lang.NumberFormatException: For input string: 1]
at java.lang.NumberFormatException.forInputString(
NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)

However, https://[::1]:80/myapp; works as expected.

regards,
Guy


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



URL Ipv6 parsing

2015-01-09 Thread guy . wuyts

Hi,

we seem to have some issue with native IPv6 address parsing.
If we try https://[::1]/myapp;, URL parsing fails:

org.apache.wicket.request.Url.parse(https://[::1]/myapp;)
generates an exception:
java.lang.NumberFormatException: For input string: 1]
at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

at java.lang.Integer.parseInt(Integer.java:492)

However, https://[::1]:80/myapp; works as expected.

regards,
Guy


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org