Re: Wicket architecture diagram?

2012-05-14 Thread Martin Grigorov
Hi, My company provides teaching and consulting. We have materials with diagrams for many parts of the Wicket architecture. You can reach us at http://jweekend.com/dev/ContactUs for more information. On Sun, May 13, 2012 at 11:42 PM, infiniter infini...@gmail.com wrote: So, we are in 2012 now.

Re: pageablelistview is giving out of memory exception while loading more than 70000 records wicket example

2012-05-14 Thread Martin Grigorov
Hi, Options: 1) decrease the number of shown items. 70k is way too much information for a single page 2) use lighter model objects 3) increase your JVM max memory (-Xmx) On Mon, May 14, 2012 at 9:06 AM, raju.ch raju.challagun...@gmail.com wrote: Hi all, When loading more than 7 records

Re: WicketStuff HTML validator 1.5-rc3 released

2012-05-14 Thread Martijn Dashorst
I did some work on it. You can find it for the moment in my personal github repositories: https://github.com/dashorst/wicket-stuff-markup-validator I have switched the validator from using Tuckey's old school (X)HTML validator that stops at HTML4.01 and XHTML 1.1 for the validator.nu variant

Re: pageablelistview is giving out of memory exception while loading more than 70000 records wicket example

2012-05-14 Thread raju.ch
Sorry that I didn't give the proper information, actually we are showing 10 records per page and the size of the list is 7 which we are passing to PageableListview..It seems listview is loading all 7 items at once..and each request it probably might iterating the List..so I think loading

Re: Feedback panel inside form

2012-05-14 Thread Andrea Del Bene
Hi, it's absolutely ok to insert a feedback panel into its form. Every example of feedback panel I have seen places the feedback panel outside the form element. I have some markup from a client that has some Javascript doing client side validation with a styled feedback panel (a div)

RE: Feedback panel inside form

2012-05-14 Thread Chris Colman
I added it inside the form in the markup and made sure I added the FeedbackPanel to the form component itself and it appears to work quite well. The wicket framework must have a flexible algorithm when looking for the FeedbackPanel component to toggles it's visibility and add error messages. I

RE: Status of wicketstuff jquery integration

2012-05-14 Thread Hielke Hoeve
WiQuery does depend on a small amount of libraries, we are working on minimizing this for Wicket 6. Have fun. Hielke -Original Message- From: Jesse Long [mailto:j...@unknown.za.net] Sent: woensdag 9 mei 2012 16:00 To: users@wicket.apache.org Subject: Re: Status of wicketstuff jquery

Re: Feedback panel inside form

2012-05-14 Thread Martin Grigorov
On Mon, May 14, 2012 at 10:36 AM, Chris Colman chr...@stepaheadsoftware.com wrote: I added it inside the form in the markup and made sure I added the FeedbackPanel to the form component itself and it appears to work quite well. The wicket framework must have a flexible algorithm when looking

Re: Feedback panel inside form

2012-05-14 Thread Alexander Cherednichenko
Hi! We have created our own thing -- FeedbackLabel, which stands next to the component inside of a form, and also works as a feedback. It takes component to listen to as a constructor argument, and then just adds appropriate class/title when there's something to show. For our app, if something is

Re: pageablelistview is giving out of memory exception while loading more than 70000 records wicket example

2012-05-14 Thread raju.ch
- Can you please provide a sample of LoadableDetachModel? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/pageablelistview-is-giving-out-of-memory-exception-while-loading-more-than-7-records-wicket-exame-tp4631614p4631794.html Sent from the Users forum mailing

Re: pageablelistview is giving out of memory exception while loading more than 70000 records wicket example

2012-05-14 Thread Thomas Götz
https://cwiki.apache.org/WICKET/detachable-models.html -Tom raju.ch wrote: - Can you please provide a sample of LoadableDetachModel? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread jarnis
Hey guys I'm trying to make a redirect form an old url to a new one. The browser url should be changed to the new one and the response code for the original request to the old url should be 301 Moved permanently so search engines will forget the old url. Making the redirect by throwing a

Re: Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread Martin Grigorov
Hi, On Mon, May 14, 2012 at 11:56 AM, jarnis jarnis.bertel...@exedio.com wrote: Hey guys I'm trying to make a redirect form an old url to a new one. The browser url should be changed to the new one and the response code for the original request to the old url should be 301 Moved permanently

Re: How can I get the page before the current one?

2012-05-14 Thread cosmindumy
Hello, I also have a question. I hope is the right place here for it. I didn't wrote that code, so I don't know exactly what happen there, but the main idea is that a link is created like this. link.append(RequestCycle.get().urlFor(pageMap, Upload.class, new PageParameters(? I want to get a

Re: How can I get the page before the current one?

2012-05-14 Thread Martin Grigorov
you can use request header 'Referrer' On Mon, May 14, 2012 at 1:54 PM, cosmindumy cosmind...@yahoo.com wrote: Hello, I also have a question. I hope is the right place here for it. I didn't wrote that code, so I don't know exactly what happen there, but the main idea is that a link is created

Wicket 1.5.6 duplicates segments in absolute URLs

2012-05-14 Thread Dirk Forchel
Since we migrate our application to Wicket 1.5.6 some URLs from BookmarkablePageLinks have duplicate segements for indicating a Shop and a Language item from our persistence model. For indicating a Shop and Language item we use our own ShopMapper and LanguageMapper (subclass of

Re: Wicket 1.5.6 duplicates segments in absolute URLs

2012-05-14 Thread Martin Grigorov
Hi, On Mon, May 14, 2012 at 3:37 PM, Dirk Forchel dirk.forc...@exedio.com wrote: Since we migrate our application to Wicket 1.5.6 some URLs from BookmarkablePageLinks have duplicate segements for indicating a Shop and a Language item from our persistence model. For indicating a Shop and

Re: Wicket and JPA: iplease/i a simple way to go

2012-05-14 Thread hfriederichs
It isn't; the database requirements are. I expected to get that done in an hour or so, so that I could quickly continue with the more advanced and complex functions. In the end it cost me a day. -- View this message in context:

how to debug MarkupNotFoundException

2012-05-14 Thread cosmindumy
I've got the following exception. How can I know wich is the problem? I have a FormComponent that has inside a RepeatingView. I'm not sure that is the problem, but I coldn't find ogher cause. How can I start debugging the cause? Markup of type 'html' for component

AW: how to debug MarkupNotFoundException

2012-05-14 Thread Hans Lesmeister
Hi, - do you have an HTML file with the same name as Panel-Class? (like MyPanel.java and MyPanel.html - case sensitiv). - Is the HTML-file in the same package? - Is it copied to the class-path after compiling? - there is a markup-setting which you can set to get more info on your console about

Re: AW: how to debug MarkupNotFoundException

2012-05-14 Thread cosmindumy
Thanks for reply. Actually the panel is first time displayed, but after I refershit with ajax I get that exception. The problem is that I don't know exactly which panel cause that problem. Is it mandatory to be a panel that is in its own class and has html file or it might be any other panel?

Re: 1.5 migration and border magic

2012-05-14 Thread Girts Ziemelis
Sorry, answering my own questions ... ;) On 2012-05-11 17:03, Girts Ziemelis wrote: 1.I assume _header is staff added to page header? Can I identify it differently, not by string _header? instanceof HtmlHeaderContainer? Seems that check for HtmlHeaderContainer works fine. 2. is it

onSelectionChanged is not calling converters

2012-05-14 Thread Gonzalo Aguilar Delgado
Hello, I've just found working with 1.5.6 that DropDownChoice control that it may be not calling Converters. Because the model is still a string while calling to onSelectionChanged(Provincia provincia) and it fails: Caused by: java.lang.ClassCastException: java.lang.String cannot be cast

RE: Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread Jeffrey Schneller
Are you using Apache HTTPD in front of your app server? If so, you can just use a Rewrite Rule to send the 301 redirect with the new URL. You may want to look into your app server to see if url rewriting is an option. -Original Message- From: jarnis

Re: Redirect to Wicket page with 301 Moved Permanently

2012-05-14 Thread Martin Makundi
Also you can hack jetty or similar... // Force 302 redirect status code into 301 'permanent redirect' Field statusField = HttpGenerator.class.getDeclaredField(__status); statusField.setAccessible(true); Object[] statusMap = (Object[])

Re: AW: how to debug MarkupNotFoundException

2012-05-14 Thread cosmindumy
The problem is at repeater. I replaced it with another dummy component and there is no error. I just have to learn how to use the repeater. Maybe you can help with a link at a good example. -- View this message in context:

Re: Ajax Error in MSIE 8

2012-05-14 Thread Richard W. Adams
We finally dug deep enough to find the root cause of the problem. We have a corporate framework that adds a layer to Wicket for company-specific functionality. I discovered this morning that my Maven POM declared dependencies for both Wicket AND our corporate layer. This caused my app to use a

Need help in implementing Ajax form

2012-05-14 Thread kshitiz
Hi, I am trying to learn Ajax in Wicket and implement it in my project. I am trying to use AjaxFallbackButton but there is something I am missing. Here is my code: StatelessFormUserDomain loginForm = new StatelessFormUserDomain( loginForm, new

Re: onSelectionChanged is not calling converters

2012-05-14 Thread Sven Meier
Hi, DropDownChoice doesn't use converters, that's intended. What default model is your choice getting/setting values from/to? Do you use a CompoundPropertyModel? Sven On 05/14/2012 05:59 PM, Gonzalo Aguilar Delgado wrote: Hello, I've just found working with 1.5.6 that DropDownChoice

Re: Need help in implementing Ajax form

2012-05-14 Thread Sebastien
Hi kshitiz, Well, looking at the code as-is does not make me understand what is going wrong. I mean, it should go until onSubmit(). For you implementation, I can just notice that you did not reattach any feedback panel to the target. Maybe you do not see the error (but if it happens, you can see

Re: Need help in implementing Ajax form

2012-05-14 Thread Sebastien
And the WICKET AJAX DEBUG mark appears as soon as you are dealing with wicket ajax component. It is not displayed anymore when your configuration changes from development to deployment (web.xml) On Mon, May 14, 2012 at 9:47 PM, Sebastien seb...@gmail.com wrote: Hi kshitiz, Well, looking at

Re: Need help in implementing Ajax form

2012-05-14 Thread W Mazur
Hi, - Use Firefox with Firebug to track down client-server comunication (or lack of it) - Do you have javascript enebled? If terget == null then nothing happens in onSubmit() method. - Add some logging (log4j etc.), to your app Regards Wlodek 2012/5/14 Sebastien seb...@gmail.com: And the

Re: Need help in implementing Ajax form

2012-05-14 Thread Sebastien
Damed! I just make me realizing I wrote the anonymous method onSubmit! I cannot believe it... On Mon, May 14, 2012 at 9:59 PM, W Mazur wlodekma...@gmail.com wrote: Hi, - Use Firefox with Firebug to track down client-server comunication (or lack of it) - Do you have javascript enebled? If

Wicket data picker that's got no JS fallback

2012-05-14 Thread Chris Colman
Is there a JS powered date picker control for Wicket that falls back to a standard set of text fields (maybe single text field or 3 text field) when rendered to a browser that has JS disabled? Also - will the fall back happen transparently? i.e. won't need any special coding on the server side

Re: Aggregating JavaScript

2012-05-14 Thread kamiseq
I was thinking about creating custom behaviour that will connect to other behaviour and render all scripts needed at the bottom of the page (If this is possible), I understand that headerContributior is not good choice as it will render scripts in head section and we want them at the bottom

RE: Wicket data picker that's got no JS fallback

2012-05-14 Thread Chris Colman
That subject might have been misleading. I meant Wicket data picker that's go a no JS support fallback. i.e. will work in JS enabled and JS disabled browsers. From: Chris Colman [mailto:chr...@stepaheadsoftware.com] Sent: Tuesday, 15 May 2012 7:32 AM To:

Wicket 1.5.6, Ajax and expired page

2012-05-14 Thread Guillaume Smet
Hi, I noticed this evening that when a page is expired, if we make an Ajax call from this page (autocomplete for example), the Ajax call returns a 302 and then the entire page content (and not a valid XML Ajax response) - I investigated it with Firebug as there's no error anywhere. Could it be

wicket 6 global services

2012-05-14 Thread kamiseq
hej, I have few questions about how to do few things in wicket, right now I m focusing on 6th version. I would like to create global service that returns for example JSON or html. and given I have stateless page with components that supports AJAX I would like to point my JS components to this

wicket 6 dynamic form parts generated in JS

2012-05-14 Thread kamiseq
hej, I would like to dynamically add same part to form, let say I have a form that has a section with 3 inputs : start, end and name. those section can occur many times depending on model. this is very easy when depending on server logic and making full page refresh every time users add section

wicket 6 using external session

2012-05-14 Thread kamiseq
hej, I need to handle 2 frameworks in the same time (one with legacy application and wicket application that will handle pieces of old functionality and new features - at least for some time until everything is rewritten to wicket app) - maybe Im wrong here but this means I need to share session

Passing query string data from an expired page to the expiry page

2012-05-14 Thread Dale Ogilvie
Hi there, We use: getApplicationSettings().setPageExpiredErrorPage(MyExpiredPage.class); When MyExpiredPage is rendered, we want it customized according to a query string parameter on the previous page. Any tips on the best way we can determine the previous page parameters, given that session