Re: Making Component easier to Generify

2008-06-14 Thread Martijn Dashorst
Or with qi4j (http://qi4j.org) Martijn On Sat, Jun 14, 2008 at 5:37 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: It's good to know that when you reach the same conclusion it is a deliberate one. BTW, interfaces are useful for this, but not a necessity. Or am I the only one thinking that

Re: Making Component easier to Generify

2008-06-14 Thread Gwyn Evans
Hmm... (As an aside, I wonder if they mean pray in the jungle or prey in the jungle? :-)) /Gwyn On Sat, Jun 14, 2008 at 8:23 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Or with qi4j (http://qi4j.org) Martijn On Sat, Jun 14, 2008 at 5:37 AM, Eelco Hillenius [EMAIL PROTECTED] wrote:

How to detect model changes in form submission

2008-06-14 Thread galbelli
Is there an easy way to detect what model objects have changed as a result of a form submission? I see that wicket compares the old values to the submitted values but where can I hook into tthat change detection? I have a data grid with many rows and only a few could change. -- View this message

Re: How to detect model changes in form submission

2008-06-14 Thread Michael Allan
Is there an easy way to detect what model objects have changed as a result of a form submission? I see that wicket compares the old values to the submitted values but where can I hook into tthat change detection? I have a data grid with many rows and only a few could change. Override

NicEditTextAreaBehavior

2008-06-14 Thread francisco treacy
hi, i thought i'd like to share a simple behaviour for NicEdit (http://nicedit.com/). to use it, just download nicedit and modify NICEDIT_JAVASCRIPT and NICEDIT_ICONS accordingly. (i chose to put them together in the same package). if you download the basic version (without xhtml/ code view),

Re: [Slightly OT] Country selection component with a nice GUI

2008-06-14 Thread Kaspar Fischer
Thanks a lot for the hint regarding openlayers! On 30.05.2008, at 20:43, Nino Saturnino Martinez Vazquez Wael wrote: I dont think it would be too horrible to whip up such a component with openlayers or gmap. Otherwise you could use image maps... Kaspar Fischer wrote: Does anybody know of a

HTTP Session creating at home page

2008-06-14 Thread Stefan Simik
Hi boys, I would like to ask, how can I force creation of HTTP session when first request comes to server. I have this problem: 1. user requests home page (wicket session is created) for example: www.server.com/app 2. I set some data into the wicket session 3. server responds with redirect to

Re: Problem on resolving images path

2008-06-14 Thread Maurice Marrink
The following works for me using wicket 1.3.x. in web.xml: filter filter-nametabs/filter-name filter-class org.apache.wicket.protocol.http.WicketFilter /filter-class init-param param-nameapplicationClassName/param-name

Re: Cannot get rid of these error and warnings

2008-06-14 Thread Maurice Marrink
On Fri, Jun 13, 2008 at 12:31 PM, Cristi Manole [EMAIL PROTECTED] wrote: [1] I get these kind of errors quite often: there was an error cleaning up target [EMAIL PROTECTED] markupIdToComponent any idea what causes them? [i'm guessing it's a panel that gets updated to often for my server -

Re: Dynamic Form Data Retrieval

2008-06-14 Thread Maurice Marrink
In the Button.onSubmit do getForm.visitChildren(FormComponent.class, new IVisitor() { public Object component(Component component) { //do something with the models from the components here. } } Maurice On Fri, Jun 13, 2008 at 2:10 PM, wfroud [EMAIL PROTECTED] wrote: Hi All, I

Re: Modifying QuickStart to serve static content in embedded Jetty (was: RE: Tomcat 5.5.9 isn't running Quickstart)

2008-06-14 Thread Maurice Marrink
On Fri, Jun 13, 2008 at 3:56 PM, Frank Silbermann [EMAIL PROTECTED] wrote: OK, I did some experiments starting with a clean quicksort project. The images did appear. However, when I modified the web.xml to change from: filter-mapping filter-namewicket.myproject/filter-name

Re: HTTP Session creating at home page

2008-06-14 Thread Maurice Marrink
It seems that you homepage is stateless, wicket does not create a session for stateless pages to preserve server resources. You can force wicket to create a session for you by calling Session.get().bind() in your constructor (or any other place that is executed during a requestcycle). Maurice On

Passing data to Modal Window

2008-06-14 Thread Manuel Corrales
Hi, i have a table with one ajax link per line. When i click the link, an Modal Window is opened. Now, i want that modal window to show some info, just that. How can i pass information to this modal window? This information will depend on the line data, like a master/detail with a modal window.

Re: Making Component easier to Generify

2008-06-14 Thread Matthijs Wensveen
Ah, you beat me to that. I should've read the thread entirely before posting :) Martijn Dashorst wrote: Or with qi4j (http://qi4j.org) Martijn On Sat, Jun 14, 2008 at 5:37 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: It's good to know that when you reach the same conclusion it is a

Re: Making Component easier to Generify

2008-06-14 Thread Matthijs Wensveen
Eelco Hillenius wrote: It's good to know that when you reach the same conclusion it is a deliberate one. BTW, interfaces are useful for this, but not a necessity. Or am I the only one thinking that No, I agree with you mostly. However, I was trying (back then) to define separate

Re: How to detect model changes in form submission

2008-06-14 Thread Martin Grigorov
On Sat, 2008-06-14 at 09:52 -0400, Michael Allan wrote: Is there an easy way to detect what model objects have changed as a result of a form submission? I see that wicket compares the old values to the submitted values but where can I hook into tthat change detection? I have a data grid

Re: Passing data to Modal Window

2008-06-14 Thread Martin Grigorov
On Sat, 2008-06-14 at 18:08 -0300, Manuel Corrales wrote: Hi, i have a table with one ajax link per line. When i click the link, an Modal Window is opened. Now, i want that modal window to show some info, just that. How can i pass information to this modal window? This information will depend