Re: Callbacks triggered by keyboard...

2007-08-07 Thread Erik Underbjerg
Actually, I have been wondering about something like this. I have a gridView, that I would like to page through using, say, the left and right keyboard arrows. However, I can't seem to figure out how to hook up the javascript that captures the keyboard events to wicket, and make it flip

Re: BBcode component?

2007-08-07 Thread Nino Saturnino Martinez Vazquez Wael
resend, since I wasnt subscribed to the list when mailing this. Nino Saturnino Martinez Vazquez Wael wrote: Hi I was wondering if any one had done a bbcode component for wicket that they would share? Im needing something that will do the following: A component where you can enter text and

Re: Showing an alert

2007-08-07 Thread Federico Fanton
On Thu, 2 Aug 2007 18:25:28 +0200 Federico Fanton [EMAIL PROTECTED] wrote: I'm sorry, I'm looking for a way to show an alert dialog when a condition is met.. For example, the user fills in a search form, submits it and if there's no data matching the query, a no data found! should pop

{wicket 1.3 Beta 2} Adding panel via ajax...

2007-08-07 Thread Nino Saturnino Martinez Vazquez Wael
Hi I have a panel I want to replace by another panel via ajax. However when trying to replace the panel I get this message: WicketMessage: This component is not (yet) coupled to a page. It has to be able to find the page it is supposed to operate in before you can call this method

BBcode component?

2007-08-07 Thread Nino Saturnino Martinez Vazquez Wael
Hi I was wondering if any one had done a bbcode component for wicket that they would share? Im needing something that will do the following: A component where you can enter text and format it via BBcode. A component that displays a text string that has been formatted with BBcode. Other wise I

Tonight: London Wicket - Code Jam Lightning Talks (6:30pm - 8:30pm)

2007-08-07 Thread Al Maw
Hi folks, Just a quick reminder that it's the London Wicket Event tonight. I'm going to give a couple of really short talks on the following topics: 1) Setting up a new Wicket 1.3 project using a Maven 2 archetype. (5 mins). 2) Building a generic bean editor (10 to 15 mins). We'll spend

Re: Showing an alert

2007-08-07 Thread Federico Fanton
On Tue, 7 Aug 2007 10:57:03 +0200 Federico Fanton [EMAIL PROTECTED] wrote: I tried as you suggested, but I'm facing a little problem.. If I'm not mistaken, onError is called on form validation, so I added my check for no data in a FormValidator.. My problem is that this check needs the form

Re: {wicket 1.3 Beta 2} Adding panel via ajax...

2007-08-07 Thread Nino Saturnino Martinez Vazquez Wael
Ok, I'll try to explain myself a little better. Im using the tabs from extensions, tabs require that what you work with are panels (otherwise I would have done this with pages). So some of my tabs have a certain flow. Inorder to create that flow I have to replace panels along the way, for

How to use form method=get?

2007-08-07 Thread Gohan
Hi, I have a simple HTML file that contains: form wicket:id=form method=get ... /form However, wicket seems to change the form method from get to post. Is there a way to stop wicket from changing the method to post? I need to use get because the application should work from a mobile phone and

Re: {wicket 1.3 Beta 2} Adding panel via ajax...

2007-08-07 Thread Matej Knopp
The error looks like you are trying to render a component that is not attached to a page. You can add/remove components as much as you want, but when it comes to render, all components have to be attached to the page. -Matej On 8/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]

Re: {wicket 1.3 Beta 2} Adding panel via ajax...

2007-08-07 Thread Nino Saturnino Martinez Vazquez Wael
This is somewhat working as wanted, but feels wrong, since I have to add the next page panel inorder to be able to show it later on: public PhoneSearchPanel(String id, final IPhoneManipulationPanel gotoPage) { super(id); setOutputMarkupId(true); Form form = new

Radio buttons in an AjaxFallbackDefaultDataTable

2007-08-07 Thread Evgeniy Platonov
Hi All, Maybe the question was already there, but I wasn't able to find it. Please redirect me if it so. And the question is: how can I create a column of radio buttons (which all are in a radio group) using AjaxFallbackDefaultDataTable. Is it posible at all? Thanks. Evgeniy. -- View this

Re: wicket-event.js returning unreadable

2007-08-07 Thread Joel Hill
This way you end up not using compression at all? I would be interested in a solution which would help me to use the compression without any problems. Now I'm just using wicket's default compression (which I didn't know existed before this problem arose). Maybe someone from the wicket core

Re: How to use form method=get?

2007-08-07 Thread Gohan
I've tried extending Form and adding tag.put(method, get) in onComponentTag(..), but this doesn't work either. The page gets rendered as with form method=get but submits won't work. Is this possible achieve? -- View this message in context:

Re: How to use form method=get?

2007-08-07 Thread Martijn Dashorst
Have you tried adding it *after* the super.onComponentTag() ? Martijn On 8/7/07, Gohan [EMAIL PROTECTED] wrote: I've tried extending Form and adding tag.put(method, get) in onComponentTag(..), but this doesn't work either. The page gets rendered as with form method=get but submits won't

Re: Radio buttons in an AjaxFallbackDefaultDataTable

2007-08-07 Thread Evgeniy Platonov
Hurray, I've found it on my own. Thanks guys, it was quite intuitive :) So this is what I've got. Java // TablePage.java { // ... provider obtaining List columns = new ArrayList(); columns.add( new AbstractColumn( new Model( Select ) ) { public

Re: WicketTester vs Component.error()

2007-08-07 Thread Igor Vaynberg
in 1.2 you cannot call error/info/etc from component's constructor because you havent added that component to the page yet. in 1.3 it just works. -igor On 8/7/07, Gabor Szokoli [EMAIL PROTECTED] wrote: Hi, I'm using wicket 1.2, and use the WicketTester startPage(...) method in a unit test.

Re: How to use form method=get?

2007-08-07 Thread Eelco Hillenius
I've tried extending Form and adding tag.put(method, get) in onComponentTag(..), but this doesn't work either. The page gets rendered as with form method=get but submits won't work. Is this possible achieve? It looks like you can override method 'getMethod' in your form and let it return get.

Re: ListView + AjaxEditableLabel + move down and move up

2007-08-07 Thread anita nichols
Ok. Actually my code already have ajaxrequest target, how do I use this http://wicketstuff.org/confluence/display/STUFFWIKI/Script.aculo.us+SortableListViewcode? Also anyone know where the wicket extension and javadoc go after they move their web site to apache? Anita On 8/3/07, Gerolf Seitz

Re: NullPointerException when clicking on an expired wizard button

2007-08-07 Thread Eelco Hillenius
On 8/6/07, David Leangen [EMAIL PROTECTED] wrote: After completing a wizard, clicking the browser's back button, then clicking the previous button of the wizard, I get the error below. Looks like a bug. Are you using 1.2.6? Yes. Unfortunately, I'm still stuck on 1.2.6+ for the

Re: {wicket 1.3 Beta 2} Adding panel via ajax...

2007-08-07 Thread Eelco Hillenius
On 8/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Ok, I'll try to explain myself a little better. Im using the tabs from extensions, tabs require that what you work with are panels (otherwise I would have done this with pages). So some of my tabs have a certain flow.

Re: BBcode component?

2007-08-07 Thread Eelco Hillenius
On 8/7/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I was wondering if any one had done a bbcode component for wicket that they would share? Not that I know of. But I would be surprised if no-one every did this before with Wicket :) Im needing something that will do

Re: How to use form method=get?

2007-08-07 Thread Gohan
Yes, that's exactly what I did. And unfortunately it doesn't seem to work. Martijn Dashorst wrote: Have you tried adding it *after* the super.onComponentTag() ? Martijn On 8/7/07, Gohan [EMAIL PROTECTED] wrote: I've tried extending Form and adding tag.put(method, get) in

Re: How to use form method=get?

2007-08-07 Thread Gohan
Btw I'm using wicket 1.2.6. Gohan wrote: Yes, that's exactly what I did. And unfortunately it doesn't seem to work. Martijn Dashorst wrote: Have you tried adding it *after* the super.onComponentTag() ? Martijn On 8/7/07, Gohan [EMAIL PROTECTED] wrote: I've tried extending

Re: How to use form method=get?

2007-08-07 Thread Gohan
I'll open a jira issue tomorrow morning when I have a bit more time. Do you have a clue what's might be causing the behavior? Perhaps I can work my way around it somehow (like creating my own wicket version). I'd love for this to work, otherwise we may be forced to switch to another framework.

help script.aculo.us wicket

2007-08-07 Thread anita nichols
I download the jar, but how do I use script.aculo.us on wicket? Thanks, Anita

Re: resource reference vs resource

2007-08-07 Thread Kent Tong
Matej Knopp matej.knopp at gmail.com writes: basically, there are two kinds of resources in wicket. One is application-scope resources, that don't need the context of a page (javascriptps, css...) and the other is component resources, which kind of belong to a component - so they have access

Re: resource reference vs resource

2007-08-07 Thread Matej Knopp
Yeah, ResourceReference is like global resource factory. That is for resources that don't belong to any component/page (they can't touch any component instance while they are served). -Matej On 8/8/07, Kent Tong [EMAIL PROTECTED] wrote: Matej Knopp matej.knopp at gmail.com writes: basically,