How to do setResponsePage after alert message pressed ok?

2011-01-20 Thread rolandpeng
Hi, After doing insert or update,I'd like to show some alert message,such as insert succeed. or update succeed.,and then do setResponsePage() to data listing page. But I wonder how to do it under wicket. Would anyone give me some hint? Thank you! use case: insert or update--alert

RE: session size

2011-01-20 Thread Mihai Toma
Hi guys! I resolved the problem. Here is what I was doing: - I have a page, let's say HomePage which extends WebPage. - This HomePage add a MenuPanel which extends Panel (add(new MenuPanel()). - This MenuPanel add a SubmenuPanel like this menuPanel.add(new SubmenuPanel(MenuPanel.this)).

[1.5 m3] SerializableChecker nullpointer?

2011-01-20 Thread nino martinez wael
Hi im wondering why this happens? Im using Guice and have a these in my page: @Inject private WallBoardDataProvider wallBoardDataProvider; @Inject private CoreService coreService; @Inject private CoreDaoService coreDaoService; @Inject private LicenseProvider licenseProvider; @Inject private

Re: [1.5 m3] SerializableChecker nullpointer?

2011-01-20 Thread Major Péter
One guess would be that the injected WallBoardDataProvider's equals method does not handle null arguments? Peter 2011-01-20 10:20 keltezéssel, nino martinez wael írta: Hi im wondering why this happens? Im using Guice and have a these in my page: @Inject private WallBoardDataProvider

Re: [announce] wicketstuff-core 1.4.10 released

2011-01-20 Thread Ayodeji Aladejebi
PLease where do I download stable releases on Wicket Stuff compatible with Wicket 1.4.x? thanks On Fri, Aug 13, 2010 at 4:33 AM, Michael O'Cleirigh michael.ocleir...@rivulet.ca wrote: Hello, Since wicket 1.4.10 was released this week it follows that a wicketstuff-core release is due as

FormComponentPanel and CompoundPropertyModels

2011-01-20 Thread Olivier Croisier
Hi, After searching unsuccessfully through the ML archive, I come here to seek some advice on FormComponentPanels (FCP). What I want to do is build a small, reusable form component that lets me edit an Address (address, zipCode, city, country). I know that FCP are usually used as a bridge

Re: [announce] wicketstuff-core 1.4.10 released

2011-01-20 Thread Major Péter
http://repo2.maven.org/maven2/org/wicketstuff/ Regards, Peter 2011-01-20 12:43 keltezéssel, Ayodeji Aladejebi írta: PLease where do I download stable releases on Wicket Stuff compatible with Wicket 1.4.x? thanks On Fri, Aug 13, 2010 at 4:33 AM, Michael O'Cleirigh michael.ocleir...@rivulet.ca

Re: [1.5 m3] SerializableChecker nullpointer?

2011-01-20 Thread Pedro Santos
Probably there are an non serializable object somewhere, but SerializableChecker stop searching for it due this proxy equals method NPE. IMO the checker would do better continuing to search the source of serialization problem, can you confirm that testing the patch at

Re: [announce] wicketstuff-core 1.4.10 released

2011-01-20 Thread Martin Grigorov
Better use http://oss.sonatype.org 2011/1/20 Major Péter majorpe...@sch.bme.hu http://repo2.maven.org/maven2/org/wicketstuff/ Regards, Peter 2011-01-20 12:43 keltezéssel, Ayodeji Aladejebi írta: PLease where do I download stable releases on Wicket Stuff compatible with Wicket 1.4.x?

Re: FormComponentPanel and CompoundPropertyModels

2011-01-20 Thread Jan Ferko
Hi, id of your TextFields should match name of property in Address model. something like that.. public class Address { private String address1; private String address2; private String city; //getters public String getAddress1(){} ... } Jan Ferko On 01/20/2011 12:45

Question regarding AjaxFormSubmitBehavior

2011-01-20 Thread Daniel Bartl
Have a small question regarding using AjaxFormSubmitBehavoir with nested forms. Would like to use it to submit a smaller nested form within a bigger parent form. Even though I passed a nested form as a *form that will be submitted* while calling the following constructor of

Re: FormComponentPanel and CompoundPropertyModels

2011-01-20 Thread Olivier Croisier
When I use the second solution I gave above, the data I enter in the form is not saved to the model, and I don't understand why... I also tried to override convertInput() - still does not work protected void convertInput() { setConvertedInput(getModelObject()); } For info,

Re: Submit form from other form onClick

2011-01-20 Thread Martin Grigorov
you can submit any form with pure javascript: document.getElementById('myform').submit(); this will call the respective myForm.onSubmit() method at the server side at server side you may call directly your methods e.g. new Form() {onSubmit() { myService.do(); }} new AjaxLink() {onClick() {

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Giannis Koutsoubos
1.5 port https://github.com/koutsoub/wicket/tree/component_queuing_1.5 https://github.com/koutsoub/wicket/tree/component_queuing_1.5 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Free-wicket-from-component-hierarchy-hell-tp3027705p3226581.html Sent from the Users

Re: Resource.getResourceStream() called twice in 1.4.15

2011-01-20 Thread Brad Grier
To follow-up it appears getResourceStream is being called multiple times per request for other shared resources like generated images (even under 1.4.12). This can be extremely inefficient depending on the amount of work done. I'm wondering if there's something wrong with my configuration. Any

Re: export to excel AjaxFallbackDefaultDataTable

2011-01-20 Thread fachhoch
Thanks for your reply , I tried using apache poi call the data provider get data and create excel . It works fine no problems.To download this excel I am using fileresource,the file I provide to this is a temp file my excel util creates this temp file, after download I want to clear the temp

Re: export to excel AjaxFallbackDefaultDataTable

2011-01-20 Thread James Carman
Are you using a DownloadLink? http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/link/DownloadLink.html#setDeleteAfterDownload%28boolean%29 On Thu, Jan 20, 2011 at 11:26 AM, fachhoch fachh...@gmail.com wrote: Thanks for your reply , I tried using apache poi call the data

Re: Resource.getResourceStream() called twice in 1.4.15

2011-01-20 Thread Martin Grigorov
we fixed something similar in 1.5 - UrlResourceStream was opening the underlying connection twice but your seems to be something else create a quickstart and attach to Jira thanks! On Thu, Jan 20, 2011 at 5:13 PM, Brad Grier brad.gr...@salusnovus.comwrote: To follow-up it appears

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Jeremy Thomerson
On Wed, Jan 19, 2011 at 3:55 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Can we bargain about this? Say, also wicket auto ajax enclosure and both into 1.4-x This made me laugh. What is the other side of the bargain? What does the giving party get in return? :) Apache is

Re: Wicket at FOSDEM 2011

2011-01-20 Thread hahdev
Any plan to host in US or Canada? On Jan 20, 2011, at 10:42 AM, jowen.gsb [via Apache Wicket]ml-node+3226705-1948444894-208...@n4.nabble.com wrote: I wish I could! A trip to Brussels is outside my training budget. ;) -Original Message- From: Martijn Dashorst [mailto:[hidden

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Martin Makundi
http://farm5.static.flickr.com/4089/4968160827_b742a7448a_z.jpg ..hrm.. putting that aside, did you give it a test drive? ** Martin 2011/1/20 Jeremy Thomerson jer...@wickettraining.com: On Wed, Jan 19, 2011 at 3:55 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Can we bargain

Re: Automatic ajax feedback panel

2011-01-20 Thread James Carman
Wicketopia has something similar called autofeedback. It's not as robust, but I believe Igor and I discussed this a while back, so I decided to make it reusable. On Thu, Jan 20, 2011 at 12:21 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Referring to

Re: Automatic ajax feedback panel

2011-01-20 Thread Martin Makundi
Note minor typo or residual code at true|| at if (true||childComponent.isVisible()) { 2011/1/20 Martin Makundi martin.maku...@koodaripalvelut.com:      public Object component(Component childComponent) {        if (true||childComponent.isVisible()) {          return childComponent;        }

Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread Andrew Lombardi
I've been converting mysticpaste.com to using Wicket 1.5 with the help of Martin Grigorov :) - the source is available here - https://github.com/kinabalu/mysticpaste 99% of the way there, and the only remaining issue is that when you paste a URL with previous versions of Wicket, I properly get

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Jeremy Thomerson
On Thu, Jan 20, 2011 at 11:24 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: ..hrm.. putting that aside, did you give it a test drive? No, I haven't. Because keeping the two hierarchies in sync has never been a problem on any project that I worked on. Typically, the

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Jim Pinkham
I'm not a committer, just a normal 1.5 user concerned about bloat. For what it's worth, I took a few minutes to actually look at the change (MarkupContainer as you'd expect) and I can see that if you don't use the new queue methods, the only a memory overhead is the *static* QUEUE (nothing extra

Re: session size

2011-01-20 Thread Jeremy Thomerson
On Thu, Jan 20, 2011 at 2:42 AM, Mihai Toma mihai.t...@asf.ro wrote: Hi guys! I resolved the problem. Here is what I was doing: - I have a page, let's say HomePage which extends WebPage. - This HomePage add a MenuPanel which extends Panel (add(new MenuPanel()). - This MenuPanel add a

Re: Automatic ajax feedback panel

2011-01-20 Thread Martin Makundi
Another minor issue, it seems that this was not eager enough when no components have actual errors (just session.info for example). To make it more eager: public static class TopMostVisibleFeedbackPanelAjaxAutoAdderListener implements IListener { private IFeedbackMessageFilter

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Jeremy Thomerson
On Thu, Jan 20, 2011 at 11:50 AM, Jim Pinkham pinkh...@gmail.com wrote: I still don't think it's necessary, and wonder if it might actually be counter-productive to have more than one way to learn for new adopters. If it goes forward, I don't suppose there's much precedent for taking

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Martin Grigorov
On Thu, Jan 20, 2011 at 4:41 PM, Giannis Koutsoubos kouts...@gmail.comwrote: 1.5 port https://github.com/koutsoub/wicket/tree/component_queuing_1.5 https://github.com/koutsoub/wicket/tree/component_queuing_1.5 Thanks, Giannis! -- View this message in context:

Re: Question regarding AjaxFormSubmitBehavior

2011-01-20 Thread Igor Vaynberg
the bigger form needs to be processed because what is submitted is the root form's formtag. however, validation, etc, will probably be delegated only to the inner form. -igor On Thu, Jan 20, 2011 at 4:14 AM, Daniel Bartl d.ba...@comsysto.com wrote: Have a small question regarding using

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Martin Grigorov
On Thu, Jan 20, 2011 at 6:24 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: http://farm5.static.flickr.com/4089/4968160827_b742a7448a_z.jpg ..hrm.. putting that aside, did you give it a test drive? Martin, I know you started the thread about this idea last time. I'm wondering

SwramWebApplication and session

2011-01-20 Thread jussi isokangas
Hi, My application extends SwramWebApplication. Session doesn't accpet that for paramater. I need to use session for ShoppingCart. How to solve it? Regards Jussi

DropDown options with labels and checkboxes

2011-01-20 Thread Alec Swan
Hello, Is there a way to build a DropDown list each option of which has a label and a checkbox. The idea is that the user will use this component to assign tags. Very similar to what Google labels dropdown. It would be even better if somebody could point an existing component that does this :)

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Martin Makundi
Quote from Igor http://apache-wicket.1842946.n4.nabble.com/Free-wicket-from-component-hierarchy-hell-td3027705i160.html If in doubt, there is always getMarkupSettings().setAllowComponentAutoHierarchy(false); there will be no such method. +1 for not making this part of core. ..hrm..

Re: DropDown options with labels and checkboxes

2011-01-20 Thread Igor Vaynberg
sure, just use javascript :) -igor On Thu, Jan 20, 2011 at 12:12 PM, Alec Swan alecs...@gmail.com wrote: Hello, Is there a way to build a DropDown list each option of which has a label and a checkbox. The idea is that the user will use this component to assign tags. Very similar to what

Re: Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread Martin Grigorov
On Thu, Jan 20, 2011 at 6:32 PM, Andrew Lombardi and...@mysticcoders.comwrote: I've been converting mysticpaste.com to using Wicket 1.5 with the help of Martin Grigorov :) - the source is available here - https://github.com/kinabalu/mysticpaste 99% of the way there, and the only remaining

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Martin Grigorov
On Thu, Jan 20, 2011 at 9:14 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Quote from Igor http://apache-wicket.1842946.n4.nabble.com/Free-wicket-from-component-hierarchy-hell-td3027705i160.html If in doubt, there is always

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Martin Makundi
http://apache-wicket.1842946.n4.nabble.com/Free-wicket-from-component-hierarchy-hell-td3027705i160.html If in doubt, there is always getMarkupSettings().setAllowComponentAutoHierarchy(false); there will be no such method. +1 for not making this part of core. I mean for yes making part

Re: How to do setResponsePage after alert message pressed ok?

2011-01-20 Thread Jeremy Thomerson
On Thu, Jan 20, 2011 at 2:42 AM, rolandpeng rolandp...@cht.com.tw wrote: Hi, After doing insert or update,I'd like to show some alert message,such as insert succeed. or update succeed.,and then do setResponsePage() to data listing page. But I wonder how to do it under wicket. Would

RE: Submit form from other form onClick

2011-01-20 Thread Brown, Berlin [GCG-PFS]
This works, thanks. Another similar question based on your question. Can I use an ajax form submit, maybe using a wicket javascript utility. I guess I could use jquery but does wicket have something available. E.g. as opposed to document.forms[xxx].submit(). Is there some generic ajax submit

Re: Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread Igor Vaynberg
the onclick of the stateless link can redirect back to the bookmarkable version, which will clean up the url -igor On Thu, Jan 20, 2011 at 12:22 PM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, Jan 20, 2011 at 6:32 PM, Andrew Lombardi and...@mysticcoders.comwrote: I've been

Re: Resource.getResourceStream() called twice in 1.4.15

2011-01-20 Thread Brad Grier
Thanks. I submitted an issue in Jira with a quickstart . https://issues.apache.org/jira/browse/WICKET-3357 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Resource-getResourceStream-called-twice-in-1-4-15-tp3225454p3228511.html Sent from the Users forum mailing list

Re: Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread Andrew Lombardi
Okay, got it. I'll dump the ajax on that page, and convert it over. Thanks! On Jan 20, 2011, at 1:00 PM, Igor Vaynberg wrote: the onclick of the stateless link can redirect back to the bookmarkable version, which will clean up the url -igor On Thu, Jan 20, 2011 at 12:22 PM, Martin

Re: Free wicket from component hierarchy hell

2011-01-20 Thread James Carman
On Thu, Jan 20, 2011 at 3:34 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: The largest production I am responsible for is stuck with wicket.version1.4.9/wicket.version  because some of the later releases have not been monotonically improving. So we are stuck with some patches

Re: Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread Andrew Lombardi
Url's look great now /view/[paste-id] Next issue. We have 2 links, one for Raw and the other for Download which suffix the URL with /text and /download respectively like so: /view/[paste-id]/text /view/[paste-id]/download in 1.4 I redirected to the SharedResourceReference and all worked

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Igor Vaynberg
so you only have one place to fix it in -igor On Thu, Jan 20, 2011 at 1:43 PM, James Carman ja...@carmanconsulting.com wrote: On Thu, Jan 20, 2011 at 3:34 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: The largest production I am responsible for is stuck with

Re: Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread Igor Vaynberg
you should use replacehandler() instead of scheduleaftercurrent, since current will render the page. but to do it in 1.5 way you would mount a handler on /view/${pasteid}/download and one on /view/${pasteid}/text and implement streaming there instead of using the page as a switchboard. -igor On

Re: Free wicket from component hierarchy hell

2011-01-20 Thread James Carman
I'm actually looking at it now. The markup changed between 1.4.5 and 1.4.6, so there must be some other reason that I stayed with 1.4.9 (assuming laziness wasn't it). :) On Thu, Jan 20, 2011 at 5:12 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: so you only have one place to fix it in

Re: Question regarding AjaxFormSubmitBehavior

2011-01-20 Thread jcgarciam
Adding to Igor's comment, remember that nested form is not allow in HTML spec per se, so what wicket is doing a trick where the root form is submit but only elements of nested form (which get transform in DIV tag) are processed On Thu, Jan 20, 2011 at 4:47 PM, Igor Vaynberg-2 [via Apache Wicket]

Re: Added parameters on the end of requests with wicket 1.5

2011-01-20 Thread and...@mysticcoders.com
Awesome thanks Igor. On Thu, Jan 20, 2011 at 2:13 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: you should use replacehandler() instead of scheduleaftercurrent, since current will render the page. but to do it in 1.5 way you would mount a handler on /view/${pasteid}/download and one on

Re: Calling wicket modal popup from non-wicket

2011-01-20 Thread Nelson Segura
That sounds like a good solution. Thanks! -nelson On Wed, Jan 19, 2011 at 3:53 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: your best bet is to use a non-wicket modal and iframe a wicket page into it. -igor On Wed, Jan 19, 2011 at 3:12 PM, Nelson Segura nsegu...@gmail.com wrote: We

Re: Free wicket from component hierarchy hell

2011-01-20 Thread Martin Makundi
(assuming laziness wasn't it). :) We are not lazy, we are just very busy ;) ** Martin On Thu, Jan 20, 2011 at 5:12 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: so you only have one place to fix it in -igor On Thu, Jan 20, 2011 at 1:43 PM, James Carman

Re: How can i change lang attribute in html markup tag?

2011-01-20 Thread Mike Mander
With further investigation i found a hint on using an IMarkupFilter. Is there an example with this for my problem? Thanks Mike - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: