Re: Bunch of Page Expired exceptions in Wicket 6.10.0

2013-09-26 Thread Martin Grigorov
Hi, DEBUG: 09/25 17:35:40.956: PageAccessSynchronizer: http-thread-pool-5311(4) acquired lock to page 53 DEBUG: 09/25 17:35:40.957: DiskDataStore: Removing data for pages in session with id '702b17085b39e8a599d07e81df51' DEBUG: 09/25 17:35:40.960: DiskDataStore: Returning data(null) for page

Wicket DropDownChoice Question about Constructors and its Behavior

2013-09-26 Thread Patrick Davids
Hi all, since I'm working with Wicket I am a bit confused about the Constructors of DropDownChoice Class. DropDownChoice provides Constructors without any Model or ModelObject. e.g. (id, List choices) This is logical in an use-case, for instance, having just a page with a SelectBox and my

Re: Wicket DropDownChoice Question about Constructors and its Behavior

2013-09-26 Thread Martin Grigorov
Hi, This use case will work only when the DropDownChoice has a parent in the hierarchy with org.apache.wicket.model.IComponentInheritedModel, like org.apache.wicket.model.CompoundPropertyModel. In this case the dropdown will use a slot from its parent's IComponentInheritedModel. On Thu, Sep 26,

Re: Wicket DropDownChoice Question about Constructors and its Behavior

2013-09-26 Thread Ernesto Reinaldo Barreiro
I think if you do not provide a model wicket will try to find a parent with a IComponentInheritedModel and use that as the model (to set the object with the same name you passed as ID) On Thu, Sep 26, 2013 at 9:39 AM, Patrick Davids patrick.dav...@nuboit.dewrote: Hi all, since I'm working

Re: Wicket DropDownChoice Question about Constructors and its Behavior

2013-09-26 Thread Patrick Davids
Hmm... ok, does that mean, in forms I do not have to wrap my model(object) into a CompundPropertyModel, because DropDownList (or even all FormComponents?) automatically joins IComponentInheritedModel hierarchy? So, as conclusion, by using a constuctor with an empty model (id, new Model(), List

Re: broken links in wicket-examples

2013-09-26 Thread Sven Meier
It's an encoding issue: When streaming back the source over Ajax, SourcesPage does not care about the source encoding and thus produces invalid XML characters. Please create an issue in Jira. Thanks Sven On 09/26/2013 01:56 AM, Maxim Solodovnik wrote: Hello, just found some [1]

Aw: Re: Wicket-bootstrap Bootstrap 3 support

2013-09-26 Thread Marcel Hoerr
hi, i replaced the my 0.8.x version with the new 0.9.0-SNAPSHOT and get the following error: WARN - WicketObjects - Could not resolve class [fonts] java.lang.ClassNotFoundException: fonts Actually this font can not be loaded: fonts/glyphicons-halflings-regular.woff I found this thread on

Wicket - Apache URL rewrite Access-Control-Allow-Origin issue

2013-09-26 Thread Sergio Paganoni
Hi Everybody, I'm facing a strange issue. I'm on UserPage on http://account.dev.pippo.com/account/UserPage in this page I have a DropDown component to filter a listview (using Ajax). When choosing a value from the dropdown the XMLHttpRequest is done against http://dev.pippo.cominstead of

Re: Wicket - Apache URL rewrite Access-Control-Allow-Origin issue

2013-09-26 Thread Martin Grigorov
Hi, On Thu, Sep 26, 2013 at 11:22 AM, Sergio Paganoni sergio.pagan...@gmail.com wrote: Hi Everybody, I'm facing a strange issue. I'm on UserPage on http://account.dev.pippo.com/account/UserPage in this page I have a DropDown component to filter a listview (using Ajax). When choosing a

Re: Re: Wicket-bootstrap Bootstrap 3 support

2013-09-26 Thread Martin Grigorov
Hi, Please file an issue. I think the main problem here is the usage of webjars. bootstrap.(css|js) are loaded from webjars-bootstrap.jar that contains all resources, including the fonts. But for some reason the resolving doesn't work. The same issue can been seen with the samples application

[ANNOUNCE] WicketStuff 6.11.0 is released

2013-09-26 Thread Martin Grigorov
Hi, WicketStuff core 6.11.0 based on Apache Wicket 6.11.0 is released and shortly will be available in Maven Central. The changelog for this release is: Martin Tzvetanov Grigorov (29): [async-tasks] Remove unused import of the AbstractTaskModel [gmap3-examples] Do not keep a

Re: broken links in wicket-examples

2013-09-26 Thread Sven Meier
Already fixed, see WICKET-5374. Thanks Maxim Sven On 09/26/2013 10:15 AM, Sven Meier wrote: It's an encoding issue: When streaming back the source over Ajax, SourcesPage does not care about the source encoding and thus produces invalid XML characters. Please create an issue in Jira. Thanks

Re: broken links in wicket-examples

2013-09-26 Thread Maxim Solodovnik
Thanks! :) On Thu, Sep 26, 2013 at 5:10 PM, Sven Meier s...@meiers.net wrote: Already fixed, see WICKET-5374. Thanks Maxim Sven On 09/26/2013 10:15 AM, Sven Meier wrote: It's an encoding issue: When streaming back the source over Ajax, SourcesPage does not care about the source

Trim nbsp from text field input

2013-09-26 Thread John Krasnay
We recently experienced a bug where someone was able to enter a trailing space into a TextField in spite of Wicket's automatic trimming of whitespace. Upon further investigation it appears the user had entered a non-breaking space, which is not removed by the String.trim() method that Wicket

Inline enclosure - i18n problem

2013-09-26 Thread e . spyrop . w
Hi All, I am using an inline enclosure with greek text in the HTML file, in order to show/hide parts of a Form. When running on Linux everything works fine. On Windows I get question marks (like ) where the greek characters should be - but only within the enclosure, the rest of the page is

RE: Bunch of Page Expired exceptions in Wicket 6.10.0

2013-09-26 Thread Paul Bors
Hey Martin, So I put in my breakpoint and it looks like that my page store is always empty, is always being invalidated by two repeated stack traces that come in the following order: http-thread-pool-5311(1)@8339 daemon, prio=5, in group 'grizzly-kernel', status: 'RUNNING'

Re: Bunch of Page Expired exceptions in Wicket 6.10.0

2013-09-26 Thread Martin Grigorov
The problem seems to be caused by http://issues.apache.org/jira/browse/WICKET-5164 With this change any kind of attribute added to the http session causes total removal of all data from the disk store. This looks quite serious. @Sven: can you take a look. On Thu, Sep 26, 2013 at 10:30 PM, Paul

Re: Inline enclosure - i18n problem

2013-09-26 Thread Martin Grigorov
Hi, It sounds like different platform encodings. Try by adding -Dfile.encoding=UTF-8 to %CATALINA_OPTS% and read this page http://wiki.apache.org/tomcat/FAQ/CharacterEncoding On Thu, Sep 26, 2013 at 10:06 PM, e.spyro...@teamconcepts.gr wrote: Hi All, I am using an inline enclosure with

RE: Bunch of Page Expired exceptions in Wicket 6.10.0

2013-09-26 Thread Paul Bors
By rolling back to Wicket 6.9.0 I can confirm that the PageStoreManager works and I do see my page store content via DiskStoreBrowserPage. For a bit more environmental details, I was running my tests on top of GlassFish 3.1.2.2 Thanks for the heads up Martin! For now I'll stick to 6.9.x :) ~

Re: Inline enclosure - i18n problem

2013-09-26 Thread e . spyrop . w
Thanks for the pointer. I'll give it a try. Martin Grigorov mgrigo...@apache.org wrote on 27/09/2013 12:07:32 AM: Martin Grigorov mgrigo...@apache.org 27/09/2013 12:08 AM Please respond to users@wicket.apache.org To users@wicket.apache.org users@wicket.apache.org, cc

wicket + autowired annotation

2013-09-26 Thread dan123
Hi, I have simple project created from Quickstart, and I have deffined in springContext.xml bean named dbAccess. When I use: *@SpringBean private DbAccess dbAccess;* in *class HomePage extends WebPage*. It works, it creates bean and in constructor HomePage class I can access to dbAccess. But when

Re: Wicket DropDownChoice Question about Constructors and its Behavior

2013-09-26 Thread Paul BorČ™
See section 9.2.2 CompoundPropertyModel and model inheritance of the Wicket Free Guide: http://wicket.apache.org/learn/books/freeguide.html Direct link: https://wicket-guide.googlecode.com/files/Wicket%20free%20guide.pdf#page77 I think you're confusing components with null models (hence they