Re: Configuring database connection pool with Jetty in QuickStart

2008-03-14 Thread Gin Yeah
Are you running your app using Quickstart's test.Start? That one does not have Jetty-Plus and does not load your jetty-env.xml and you will get the error you are seeing. Use 'mvn jetty:run' instead. It does Jetty-Plus and loads jetty-env.xml from WEBINF all without any additional config. If you

How to handle RuntimeException & Ajax?

2008-03-14 Thread Gin Yeah
I have a page with AjaxFallbackButton on it. On RuntimeException, I want to show some error message in the feedbackpanel on the page. For testing, I use this one page and one form and the following code in my WebApplication to try: @Override public RequestCycle newRequestCycle(Request reques

ListView: if my entry is one component, can I not have it nested inside the entry?

2008-03-13 Thread Gin Yeah
My list entry is only one component, but the only way I can get the ListView to work is have the markup with one level nesting like this: EE Is it possible to just have markup without the additional level of nesting? Like this: EE and somehow in java, m

Re: Default Focus Behavior?

2008-03-10 Thread Gin Yeah
Can we have a faq in the wiki enumerating all the possible scenarios and solutions? On Sun, Mar 9, 2008 at 11:51 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > On Sun, Mar 9, 2008 at 1:37 PM, James Carman <[EMAIL PROTECTED]> > wrote: > > On 3/9/08, djo.mos <[EMAIL PROTECTED]> wrote: > > > > > >

Re: Why PopupCloseLink doesn't close my popup?

2008-03-05 Thread Gin Yeah
> > > On Wed, Mar 5, 2008 at 9:03 PM, Gin Yeah <[EMAIL PROTECTED]> wrote: > > There is no Javascript generated at the browser end at all: > > > > > wicket:id="closeLink">Close > > > > The popup is open with this: > > > >

Re: Why PopupCloseLink doesn't close my popup?

2008-03-05 Thread Gin Yeah
.. > > -igor > > > On Wed, Mar 5, 2008 at 9:03 PM, Gin Yeah <[EMAIL PROTECTED]> wrote: > > There is no Javascript generated at the browser end at all: > > > > > wicket:id="closeLink">Close > > > > The popup is open

Re: Why PopupCloseLink doesn't close my popup?

2008-03-05 Thread Gin Yeah
There is no Javascript generated at the browser end at all: Close The popup is open with this: Java: PopupSettings ps = new PopupSettings() .setHeight(200) .setWidth(100) .setTop(50) .setLeft(200) .setWindowName("Salumonunu");

Re: Markup Rendering issues

2008-03-05 Thread Gin Yeah
>-- Wicket tags >This is all time high FAQ :) Do >getMarkupSettings().setStripWi>cketTags(true) in the init() of your >application class. (I still wonder why it is not the default.) Don't explicitly turn off wicket tag, unless you have real good reason to. This setting is automatically determined

Re: Simple table with ListView

2008-03-03 Thread Gin Yeah
Can you just make your 1d list look like a 2d list to the ListView? // this make a 1d list to look like a 2d list class FoldingList extends AbstractList> implements Serializable { List inputList; int width; int size; FoldingList(List inputList, int width) {