Re: A button that does NOT submit form?

2007-10-08 Thread Matthijs Wensveen
Al Maw wrote: Stanczak Group wrote: I don't want the cancel button to submit the form, is this the best method? I'm not sure I see how to do this. Is there examples? @Override protected void delegateSubmit(IFormSubmittingComponent component) { } Also have a look at

Re: WicketNotSerializableException !

2007-10-08 Thread Kent Tong
chickabee wrote: Any idea why I am getting : org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: sun.font.AttributeMap This is fixed in beta 4 (https://issues.apache.org/jira/browse/WICKET-819). -- Kent Tong Wicket tutorials freely

Re: CompoundPropertyModel stops working when form validation fails.

2007-10-08 Thread Fabio Fioretti
On 10/6/07, Kent Tong [EMAIL PROTECTED] wrote: Even though you're not using wantOnSelectionChangedNotifications(), what I said applies: you need to call clearInput() like: [CUT] recommendationForm.clearInput(); //THIS LINE IS WHAT YOU NEED You were right Kent, thanks a lot! Calling

Re: CompoundPropertyModel stops working when form validation fails.

2007-10-08 Thread Fabio Fioretti
On 10/5/07, Eelco Hillenius [EMAIL PROTECTED] wrote: *BUT*, when the user edits one of the recommendations making errors, tries to save it and form validation fails, the panel's CompoundPropertyModel seems to detach from the underlying AbstractModel and, if the user selects another choice

Re: A button that does NOT submit form?

2007-10-08 Thread Igor Vaynberg
if you are going to start talking accessibility then that link should be an anchor period, not a button. buttons are bad if you do not need a form-submit :) -igor On 10/7/07, Matthijs Wensveen [EMAIL PROTECTED] wrote: Al Maw wrote: Stanczak Group wrote: I don't want the cancel button to

wicket-contrib-tinymce problem with multiple editors

2007-10-08 Thread Maurice Marrink
Hi, I would like to use wicket-contrib-tinymce in our project but am having a bit of a problem. I am using the 1.0 version from sourceforge in our wicket 1.2.x project. The problem is that in the html the id of the textarea is set to the markupid from the component, where TinyMCESettings expects

Re: CompoundPropertyModel stops working when form validation fails.

2007-10-08 Thread Kent Tong
Fabio Fioretti wrote: You were right Kent, thanks a lot! Calling clearInput() in the updating behavior really fixes the problem. What I miss now is why the CompoundPropertyModel breaks if the form is not manually reset by calling clearInput(). Is it a bug or a feature? :) It's a

Profiling the memory usage

2007-10-08 Thread Stefan Kanev
Hi. I'm doubting that my wicket application is using to much memory because of serializing too much unnecessary stuff in the session (programmers' mistakes). Can you help me find a way to see what objects get serialized, so I can see what I'm doing wrong and correct my mistakes? Thanks in

Re: A button that does NOT submit form?

2007-10-08 Thread Matthijs Wensveen
Most (if not all) browsers, whether text-based or graphically, support submitting of forms, regardless of what the server does with the submitted information. On the other hand, not all browsers (fully) support javascript. So in my opinion a button that submits a form but does nothing with

Portlet howto

2007-10-08 Thread Thijs
Hi (Ate?) Is there someone who could write a small wikipage on what I have to change in a Quickstart project to deploy it as a portlet? I'm trying to get the examples.war working on a liferay portal (liferay.com). But this is giving me so much trouble that I just want to work with an 'empty'

Multiple children border?

2007-10-08 Thread dcastannon
A border component insert its markup into the child tag of the border markup. I think i need a border with multiple body tags, identified by name. Is something like a template (a la facelets). How can i do this with wicket? Example: if a border's associated markup looked like this:

Re: Portlet howto

2007-10-08 Thread Ate Douma
Thijs wrote: Hi (Ate?) Hi Thijs, Is there someone who could write a small wikipage on what I have to change in a Quickstart project to deploy it as a portlet? I can and will, and even promised to do so last week :( But I'm currently crammed with two new client (portal) projects put on my

Re: Profiling the memory usage

2007-10-08 Thread Nino Saturnino Martinez Vazquez Wael
also im not sure if the wicket jmx panel could help you here? Nino Saturnino Martinez Vazquez Wael wrote: Look in filepagestore, if youre using the default.. -Nino Stefan Kanev wrote: Hi. I'm doubting that my wicket application is using to much memory because of serializing too much

Lazy loading pageable listview

2007-10-08 Thread wfaler
Hi, I have a page where I have a DataContainer that shows ten items at a time, with paging links at the bottom. Is there any way of lazy-loading the contents of the datacontainer? I need to do this, as the amount of data is very large (up to 300 000 rows, depending on the search criteria). I

out of memory - wicket 1.2.6

2007-10-08 Thread Dipu Seminlal
Hi, One of our servers running wicket application went down throwing out of memory error. This is the first time it has ever happened, can any one throw some light on the reason for the issue. 2007-10-08 11:36:02:425 ERROR wicket.RequestCycle [TP-Processor63] - Method onFormSubmitted of

Re: out of memory - wicket 1.2.6

2007-10-08 Thread Nino Saturnino Martinez Vazquez Wael
Hmm this is always tricky.. I supose that you deployed wicket in production mode? If not the only way forward are using a memory profiler, and a performance tester (because memory errors might not be obvious until youve gotten a lot of clicks). I'd suggest JProbe and JMeter...

Re: out of memory - wicket 1.2.6

2007-10-08 Thread Dipu Seminlal
yes it's in production mode Regards Dipu On 10/8/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hmm this is always tricky.. I supose that you deployed wicket in production mode? If not the only way forward are using a memory profiler, and a performance tester (because

Re: wicket-contrib-tinymce problem with multiple editors

2007-10-08 Thread Iulian Costan
Maurice, the issue was fixed in 1.3 only, i'll take a look and fix it in 1.2 branch as well. /iulian On 10/8/07, Maurice Marrink [EMAIL PROTECTED] wrote: Hi, I would like to use wicket-contrib-tinymce in our project but am having a bit of a problem. I am using the 1.0 version from

Re: out of memory - wicket 1.2.6

2007-10-08 Thread Nino Saturnino Martinez Vazquez Wael
What are the chances of you having a memory leak in your code? regards Nino Dipu Seminlal wrote: yes it's in production mode Regards Dipu On 10/8/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hmm this is always tricky.. I supose that you deployed wicket in production

RE: Customizing RadioChoice

2007-10-08 Thread Clay Lehman
Thanks for the suggestions Martijn! For now I will look into using the RadioGroup, but I like the idea removing final from the get*fix methods. =) This way someone could make MyRadioGroup, and have an option for topdown (default) lists or table-style lists, where they customize the width/shape

Re: out of memory - wicket 1.2.6

2007-10-08 Thread Dipu Seminlal
i would say very less ,i wouldn't rule it out though. On 10/8/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: What are the chances of you having a memory leak in your code? regards Nino Dipu Seminlal wrote: yes it's in production mode Regards Dipu On 10/8/07,

Re: wicket-contrib-tinymce problem with multiple editors

2007-10-08 Thread Maurice Marrink
Great. Thanks. One more thing though in my current workaround i have to override getInputName on my textarea to return the markupid, otherwise i don't get the userinput. Does this sound familiar to you? My component hierarchy is structured like this: Page { -Panel --Form ---Panel TextArea }

Re: Portlet howto

2007-10-08 Thread Charly
Hi Ate and Thijs, I'm actually trying to get Wicket working with Liferay portal 4.3.2. I already implement the 2 interfaces (not really sure of my work) and I can actually see the portlet example content of Wicket in Liferay. Here the steps I've done : - use Liferay 4.3.2 with tomcat (there's

RE: Customizing RadioChoice

2007-10-08 Thread Clay Lehman
Actually, it looks like CheckBoxMultipleChoice already is this way -- it only has final on the set*fix() and not on the get*fix() methods -Clay +1 - and please consider the same for the CheckBoxMultipleChoice. :-) Best regards, --- Jan.

Re: Customizing RadioChoice

2007-10-08 Thread Chris Fierer
+1 for removing the final on the Prefix methods as well. - Chris Martijn Dashorst wrote: Hmm, Opening up the get*fix methods doesn't seem risky, but I'm not sure what we are going to do with the change recording. That is the only thing I can tell why the methods are final. Your

Problem with form default button in IE

2007-10-08 Thread Christian Alejandro Marquez Grabia
Hi all, and thanks in advanced for your attention. I'm having some problems with the default button in a form that is not working in IE. Here is the situation: I have a collapsible border that contains the form. When clicked, the form is toggled and when the page loads, this border is set

Re: Ajax dropdownchoice doesn't work after submit

2007-10-08 Thread Larva
Thanks Igor and Kent !! I removed the page.render() invocation like Igor said and works perfect!! It's not neccessary to set the response page. The submit refresh the page. Thanks a lot for your quick answers. Pablo. igor.vaynberg wrote: provide a working quickstart and i will take a

body onload contribution

2007-10-08 Thread Evan Chooly
I used the following in my page constructor, but I'm not seeing the change in the HTML. What am I missing? add(new BodyTagAttributeModifier(onload, true, new Model(foo()), this));

Re: body onload contribution

2007-10-08 Thread Matej Knopp
What wicket version are you using? In 1.3 there's much better way to do this. Just use renderOnLoad/renderOnDomReady javascript on IHeaderResponse. -Matej On 10/8/07, Evan Chooly [EMAIL PROTECTED] wrote: I used the following in my page constructor, but I'm not seeing the change in the HTML.

Re: body onload contribution

2007-10-08 Thread Evan Chooly
Ah. that was the 1.3ism i was looking for. I'll try that. Thanks. I knew it had changed but couldn't remember the new approach. On 10/8/07, Matej Knopp [EMAIL PROTECTED] wrote: What wicket version are you using? In 1.3 there's much better way to do this. Just use

Form with TabbedPanel

2007-10-08 Thread martinf
Hi, I have a question on implementing validation in a form that conatins a TabbedPanel, where the Tabs themself contain FormComponents. The wishtlist goes like this: The Tabs ought to be able to validate themselve, like first validating FormComponents and then the TabPanel as a whole. On

AjaxChoiceBox... does this exist???

2007-10-08 Thread Doug Leeper
Is this available anywhere? -- View this message in context: http://www.nabble.com/AjaxChoiceBox...-does-this-existtf4589172.html#a13099630 Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: AjaxDropDownChoice... does this exist???

2007-10-08 Thread Doug Leeper
I meant to say AjaxDropDownChoice -- View this message in context: http://www.nabble.com/AjaxChoiceBox...-does-this-existtf4589172.html#a13099632 Sent from the Wicket - User mailing list archive at Nabble.com. - To

Re: AjaxDropDownChoice... does this exist???

2007-10-08 Thread Doug Leeper
Never mind...I found what I needed in the examples. -- View this message in context: http://www.nabble.com/AjaxChoiceBox...-does-this-existtf4589172.html#a13099795 Sent from the Wicket - User mailing list archive at Nabble.com.

Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread anita nichols
How do I upgrade wicket quickstart 1.2 to 1.3. If you can point me to any source that will be great

Re: Lazy loading pageable listview

2007-10-08 Thread Igor Vaynberg
have you looked in wicket-examples under repeaters? -igor On 10/8/07, wfaler [EMAIL PROTECTED] wrote: Hi, I have a page where I have a DataContainer that shows ten items at a time, with paging links at the bottom. Is there any way of lazy-loading the contents of the datacontainer? I need

Re: AjaxChoiceBox... does this exist???

2007-10-08 Thread Igor Vaynberg
dropdownchoce ddc=new dropdownchoice(..); ddc.add(new ajaxformcomponentupdatingbehavior(onchange)); -igor On 10/8/07, Doug Leeper [EMAIL PROTECTED] wrote: Is this available anywhere? -- View this message in context:

Re: out of memory - wicket 1.2.6

2007-10-08 Thread Nino Saturnino Martinez Vazquez Wael
At my former job, we had a memory leak not in our own application but a dependancy though.. Thats where jmeter and jprobe came into scope. It took me 12 hours of screen starin/running different scenarios to find out what it was, very boring but nice to see it wasnt my code. regards Nino Dipu

Re: Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread Martijn Dashorst
Why would you upgrade the quickstart from 1.2 to 1.3? Or do you want a download for quickstart with wicket 1.3? Do you use maven? What is your IDE: eclipse, netbeans, intellij IDEA? Martijn On 10/8/07, anita nichols [EMAIL PROTECTED] wrote: How do I upgrade wicket quickstart 1.2 to 1.3. If

Re: Lazy loading pageable listview

2007-10-08 Thread wfaler
Yes some of them, but they mostly seem to be focused around minimizing what is serialized into a session, not how to lazy load a large amount of data that needs to be paged through. I don't need to retrieve id's only, I need to limit the amount of id's that I get in one go. igor.vaynberg wrote:

Re: Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread anita nichols
netbean IDE and maven 2 I tried to download quickstart 1.3, but get me error and keep telling me that I need to download the file manually. How do I use the archetype to setup a wicket 1.3 project? or if I have to do it manually how do I do it? Anita On 10/8/07, Martijn Dashorst [EMAIL

Re: Lazy loading pageable listview

2007-10-08 Thread Igor Vaynberg
well, all the examples in there that page only retrieve records for that page, so im not sure what you are talking about. -igor On 10/8/07, wfaler [EMAIL PROTECTED] wrote: Yes some of them, but they mostly seem to be focused around minimizing what is serialized into a session, not how to

Re: Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread Frank Bille
On 10/8/07, anita nichols [EMAIL PROTECTED] wrote: How do I use the archetype to setup a wicket 1.3 project? or if I have to do it manually how do I do it? Al has created a screencast of how to do it: http://herebebeasties.com/2007-10-07/wicket-quickstart/ Frank

Re: Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread Martijn Dashorst
Netbeans has a maven 2 module/plugin you can use that uses the pom for creating a project (really nice functionality) I suggest you install that one. The other thing you should use is the wicket archetype. The instructions for using it are found here: http://wicket.apache.org/quickstart.html

Re: out of memory - wicket 1.2.6

2007-10-08 Thread Jeremy Levy
Are you redeploying often with out restarting? Jeremy On 10/8/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: At my former job, we had a memory leak not in our own application but a dependancy though.. Thats where jmeter and jprobe came into scope. It took me 12 hours of

Re: Multiple children border?

2007-10-08 Thread dcastannon
n8han wrote: dcastannon wrote: A border component insert its markup into the child tag of the border markup. I think i need a border with multiple body tags, identified by name. Is something like a template (a la facelets). How can i do this with wicket? You can do this panels or

Re: Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread anita nichols
Thanks Frank. So far so good, but no luck on installing mvn netbeans:netbeans, but works for eclipse.. On 10/8/07, Frank Bille [EMAIL PROTECTED] wrote: On 10/8/07, anita nichols [EMAIL PROTECTED] wrote: How do I use the archetype to setup a wicket 1.3 project? or if I have to do it

Re: Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread jweekend
Such screencasts are really helpful. I think http://herebebeasties.com/2007-10-07/wicket-quickstart/ Al's Wicket Quickstart screencast can help many people who are new to both Maven 2 and Wicket. As you follow it, bear in mind that most of it covers the one-off task of installing Maven 2. If

Re: Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread anita nichols
Everything looks fine, I followed all the instruction, but I got this HTTP Status 404 - /WicketProject -- *type* Status report *message* */WicketProject* *description* *The requested resource (/WicketProject) is not available.* -- Apache

Re: Portlet howto

2007-10-08 Thread Gwyn Evans
On Monday, October 8, 2007, 11:45:39 AM, Ate [EMAIL PROTECTED] wrote: To get you started, I'll give the important configuration (and portal runtime) settings/requirements inline here. These will eventually end up on a Wiki page, but I'm afraid I won't have time to write that before next week.

Re: Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread jweekend
Assuming you had -DartifactId=WicketProject in the command line you ran to create your Wicket archetype, typing mvn jetty:run in the WicketProject folder should enable you to point your browser at http://127.0.0.1:8080/WicketProject to see the simple Wicket Quickstart Archetype Homepage

Re: Quickstart 1.2 upgrade to 1.3

2007-10-08 Thread anita nichols
After I restarted my computer everything is working fine On 10/8/07, jweekend [EMAIL PROTECTED] wrote: Assuming you had -DartifactId=WicketProject in the command line you ran to create your Wicket archetype, typing mvn jetty:run in the WicketProject folder should enable you to point your

Custom URL strategy

2007-10-08 Thread John Patterson
Hi, I want to build a custom url encoder fro bookmarkable pages and have been looking at BookmarkablePageRequestTargetUrlCodingStrategy. Can someone quickly contrast the responsibilities of IRequestTargetUrlCodingStrategy and WebRequestCodingStrategy. From a quick look it seems like

Re: Portlet howto

2007-10-08 Thread Ate Douma
Gwyn Evans wrote: On Monday, October 8, 2007, 11:45:39 AM, Ate [EMAIL PROTECTED] wrote: To get you started, I'll give the important configuration (and portal runtime) settings/requirements inline here. These will eventually end up on a Wiki page, but I'm afraid I won't have time to write that

Wicket Example

2007-10-08 Thread anita nichols
Ok I have my wicket 1.3 running smoothly, how do try the wicket example? Do I need to remove all the files from com.mycompany folder? or can I just create a new one and redirect the page to my new application? how to redirect? Thanks, Anita

Google Maps and AJAX

2007-10-08 Thread Ballist1c
Okay. this is a follow up from my initial google maps query.. i just figured out the problem ... what I am attempting to do is load googles external javascript on AJAX page loads, and google does not like it. I get this XMLHttpRequestOpen error which seems like google itself is denying the

Decouple parts of a form

2007-10-08 Thread Michael Sparer
Hi folks, I've been fiddling around with JCaptcha, Wicket and Spring these days. Now I'm trying to decouple the captcha part of the GUI from the rest. I.e. I'm trying to construct a captcha-component that can easily be nested into a form (into any form basically). The captcha class should look

Custom URL strategy

2007-10-08 Thread John Patterson
Hi, I want to build a custom url encoder fro bookmarkable pages and have been looking at BookmarkablePageRequestTargetUrlCodingStrategy. Can someone quickly contrast the responsibilities of IRequestTargetUrlCodingStrategy and WebRequestCodingStrategy. From a quick look it seems like

AutoCompleteTextfield - how to populate two input fields

2007-10-08 Thread Oliver Lieven
Hi, in an address edit panel I've got the two AutoCompleteText fields 'zipcode' and 'city'. When a users begins typing into the zipcode-field, the autocomplete shows up and offers valid zipcode - city combinations. After selecting a value from the autocomplete the 'zipcode' is set. Same for

Re: AutoCompleteTextfield - how to populate two input fields

2007-10-08 Thread Nino Saturnino Martinez Vazquez Wael
Quick answer, why not use property models and use both in the fiields you mention? Oliver Lieven wrote: Hi, in an address edit panel I've got the two AutoCompleteText fields 'zipcode' and 'city'. When a users begins typing into the zipcode-field, the autocomplete shows up and offers valid