how to show checkboxes in two column

2009-05-30 Thread gaoxm
Hello, Does anyone know how to show a group of check boxes or radio boxes in two columns and align them vertically, for example, as shown in attached picture? I can render them one by one in HTML using table. However, I have several such kinds of list, and some of them may be changed later. So I w

Disabling component again with AjaxCheckBox

2009-05-30 Thread Rick Gruber-Riemer
Hi I have a checkbox which must be checked for the user to be able to submit (accept terms). I want the related submit button to be enabled only, when the checkbox is checked. This works fine when the button initially is disabled, then the checkbox is checked by the user (I followed http://www.nab

Re: how to reset a form

2009-05-30 Thread Igor Vaynberg
button.setdefaultformprocessing(false) -igor On Sat, May 30, 2009 at 9:35 PM, tubin gen wrote: > My application is using hibernate and wicket  , I am trying to reset my form > , My form model is hibernate entity  and its LoadableDetachableModel .  In > order to reset my form I added ajax button

how to reset a form

2009-05-30 Thread tubin gen
My application is using hibernate and wicket , I am trying to reset my form , My form model is hibernate entity and its LoadableDetachableModel . In order to reset my form I added ajax button , hoping to call form.clearInput () in the onSubmit , but realized that before the onSubmit , form

Re: OutOfMemory on certain combinations of controls

2009-05-30 Thread Flavius
Thanks Igor. I didn't think about the callback keeping a reference to the calling page. I appreciate your help. igor.vaynberg wrote: > > the problem is the page inside the modal window has a reference to the > outer page - you pass the modal window which has an anonymous close > callback whi

Re: Wicket Quickstart vs WIA eclipse projects: why so different?

2009-05-30 Thread David Brown
Hello Igor, thanks - that did the trick. Regards, David. - Original Message - From: "Igor Vaynberg" To: users@wicket.apache.org Sent: Saturday, May 30, 2009 4:13:37 PM GMT -06:00 US/Canada Central Subject: Re: Wicket Quickstart vs WIA eclipse projects: why so different? window/preferen

Re: Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread James Carman
Also, check out catalina.out On Sat, May 30, 2009 at 4:26 PM, David Chang wrote: > > Vitek, you are right. Under tomcat\logs directory, one type of logs called > localhost contains more info than what tomcat start screen reveals. > > Thanks for the pointer. > > --- On Sat, 5/30/09, Vit Rozkovec

Re: Restarting AjaxLazyLoadingPanel

2009-05-30 Thread Antony Stubbs
Yeah that's what I thought. And I tried it, but visually nothing happened. I'll give it another shot. Sent from my iPhone http://friendfeed.com/astubbs On 31/05/2009, at 7:15 AM, Igor Vaynberg wrote: you can just replace the entire panel with a new instance. -igor On Sat, May 30, 2009

Re: Wicket Quickstart vs WIA eclipse projects: why so different?

2009-05-30 Thread Igor Vaynberg
window/preferences/compiler/building - remove *.html from output folder/filtered resources -igor On Sat, May 30, 2009 at 2:09 PM, David Brown wrote: > Hello Luther, thanks for the informative and speedy reply. I'm going to take > things one-step-at-a-time. So far, Igor is right about running th

Re: Wicket Quickstart vs WIA eclipse projects: why so different?

2009-05-30 Thread David Brown
Hello Luther, thanks for the informative and speedy reply. I'm going to take things one-step-at-a-time. So far, Igor is right about running the Start.class (as found in the test-classes directory). The only issue now is the Eclipse bug-a-boo about not copying the .HTML files along with the .CLAS

Re: Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread David Chang
Vitek, you are right. Under tomcat\logs directory, one type of logs called localhost contains more info than what tomcat start screen reveals. Thanks for the pointer. --- On Sat, 5/30/09, Vit Rozkovec wrote: > From: Vit Rozkovec > Subject: Re: Error filterStart -- how to know what caused tom

Re: OutOfMemory on certain combinations of controls

2009-05-30 Thread Igor Vaynberg
the problem is the page inside the modal window has a reference to the outer page - you pass the modal window which has an anonymous close callback which keeps a reference to the page. so you keep serializing the entire page with every ajax request as part of the current page. you dont need the re

Re: Restarting AjaxLazyLoadingPanel

2009-05-30 Thread Igor Vaynberg
you can just replace the entire panel with a new instance. -igor On Sat, May 30, 2009 at 3:11 AM, Antony Stubbs wrote: > We use AjaxLazyLoadingPanel, and want to be able to trigger the process of > showing the indicator, and requesting the panels contents with a separate > Ajax request, after th

Re: CheckGroup and AjaxPagingNavigator

2009-05-30 Thread Igor Vaynberg
you need to change the links to be ajaxsubmitlinks instead of just ajaxlinks, there are factory methods on the navigator. -igor On Fri, May 29, 2009 at 5:18 PM, Julian Sinai wrote: > > I'm having trouble with my usage of CheckGroup and AjaxPagingNavigator. > > If the user checks one or more chec

Re: Help debugging why a component is not showing up...

2009-05-30 Thread jWeekend
Ryan, Is PageView what you're looking for? Regards - Cemal http://jWeekend.com jWeekend ryantxu wrote: > > Hello- > > I am pulling my hair out trying to figure out why a component is not > showing up within a page. When I run the app from eclipse in > development or deployment mode, it s

Help debugging why a component is not showing up...

2009-05-30 Thread Ryan McKinley
Hello- I am pulling my hair out trying to figure out why a component is not showing up within a page. When I run the app from eclipse in development or deployment mode, it shows up just fine. When I build a package run that... no luck. However it does include javascript libraries added from the

Re: Wicket Quickstart vs WIA eclipse projects: why so different?

2009-05-30 Thread Martin Grigorov
Check project's sources (Project -> Properties -> Build path -> Sources) and remove the excludes El sáb, 30-05-2009 a las 11:08 -0500, da...@davidwbrown.name escribió: > Hello Igor, thanks. I had to create an Eclipse Run/Launch property as the > is not available on right click (but it works). Th

Re: Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread Vit Rozkovec
There are also other tomcat logs, have you looked into them? I found an cause of this error in other log, but I do not remember which one was that. Vitek David Chang wrote: I googled a lot but failed to find satisfactory answers. I just find a way to make tomcat to produce more error info tha

Re: Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread Mathias Nilsson
Have you tried this with a jetty server? If you are using maven then this will help you. http://wicket.apache.org/quickstart.html http://wicket.apache.org/quickstart.html are you using windows, mac, linux? -- View this message in context: http://www.nabble.com/Error-filterStarthow-to-k

Re: Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread David Chang
I googled a lot but failed to find satisfactory answers. I just find a way to make tomcat to produce more error info than simply May 30, 2009 12:06:57 PM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart May 30, 2009 12:06:57 PM org.apache.catalina.core.StandardContext st

Re: Wicket Quickstart vs WIA eclipse projects: why so different?

2009-05-30 Thread david
Hello Igor, thanks. I had to create an Eclipse Run/Launch property as the is not available on right click (but it works). The only issue now is the corresponding HTML page cannot be found. I have seen this before on this ML but I can no longer find the reference. Apparently, Eclipse properties l

Re: Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread Mathias Nilsson
I guess this isn't wicket specific. goggle on your error and you may get information on how to solve this. -- View this message in context: http://www.nabble.com/Error-filterStarthow-to-know-what-caused-tomcat-start-failure--tp23794740p23794783.html Sent from the Wicket - User mailing list a

Error filterStart -- how to know what caused tomcat start failure?

2009-05-30 Thread David Chang
Hello, I am in the process of learning Wicket and testing different things. One of the biggest problems so far is that when starting Tomcat, I often get the following error message: SEVERE: Error filterStart AND Tomcat gives no detail what cuased the problem Any way I can make Tomcat produce

Re: OutOfMemory on certain combinations of controls

2009-05-30 Thread Martijn Dashorst
Please file a jira issue and Attach the quickstart. Saves a lot of hunting. Use the power of jira! Martijn On Friday, May 29, 2009, Flavius wrote: > > > I put a quickstart build up at http://silverlion.com/tmp2/OutOfMemory.zip. > > Just unzip it, change to that dir and run mvn jetty:run and go

Re: Wicket Quickstart vs WIA eclipse projects: why so different?

2009-05-30 Thread Luther Baker
For what its worth, I run a few Wicket 1.4x projects as within Eclipse/m2plugin and pages, etc refresh just fine. I use the Run/Debug Configurations and create a Maven application and then select the jetty plugin, correct workspace and jetty:run command. There are also Jetty options you can includ

Re: Wicket Quickstart vs WIA eclipse projects: why so different?

2009-05-30 Thread Ben Tilford
Something that may be worth trying is mvn jetty:run-exploded On Fri, May 29, 2009 at 6:10 PM, Igor Vaynberg wrote: > like i said, the best way is to right click the Start class and do run > as java application. you can, of course, do it any other way you like > - including installing jetty eclips

Re: localisation - specify fallback locale

2009-05-30 Thread Antony Stubbs
Ok, answered my own question: ComponentStringResourceLoader dutchFallbackResourceLoader = new ComponentStringResourceLoader(){ @Override public String loadStringResource(Class clazz, String key, Locale locale, String style) { return super.loadS

localisation - specify fallback locale

2009-05-30 Thread Antony Stubbs
I would like to keep all our languages in specific files *_lang.properties - and not have a *.properties file - i.e. mypanel_en.prop mypanel_nl.prop and not have a mypanel.prop. and if someone comes to the site with fr as their locale, is there already an option for me to specify that the f

Restarting AjaxLazyLoadingPanel

2009-05-30 Thread Antony Stubbs
We use AjaxLazyLoadingPanel, and want to be able to trigger the process of showing the indicator, and requesting the panels contents with a separate Ajax request, after the first complete render has finished. I.e. do the whole process over and over, without having to reload the entire page.

Re: DropDownChoices: How to force a selection.

2009-05-30 Thread Rob Sonke
It should work with the value in your model. In your case something like selectedDistrito.setSelectedChoice(1); Rob On 5/30/09 3:02 AM, Marco Santos wrote: Here is the creation of the DDC: private void buildDistritosComboBox() { DistritosModel distritosModel = new DistritosModel();

Re: congrats to inmethod

2009-05-30 Thread Matej Knopp
On Sat, May 30, 2009 at 1:36 AM, Cristi Manole wrote: > I was trying to see if the inmethod site still links the (best) wicket > data/tree table (although i knew it's been moved to wicket-stuff) and I > stumbled on the new site. > > The site looks great and so does the service. Congrats to Matej..