Re: JNDI and mvn test

2009-12-08 Thread Ilja Pavkovic
Hi, I'm executing the standard Wicket maven archetype's test target and it is having trouble finding my JNDI datasource. *mvn jetty:run* works just fine but when I execute the *mvn test* target from within m2eclipse, I get a huge stracktrace with the following excerpt: Caused by:

Re: table columns ajax update

2009-12-08 Thread actarus.xxx
Hi guys, where can I find this fantastic TableColumns? Thanx Pedro H. O. dos Santos wrote: I just commit the new version: - Refactoring the OrderingImage class - Using TableColumns and default renders per class to resolve the cell component creation - Remove the static cell model

button in one panel can change the components in other panel ?

2009-12-08 Thread Madhuri Garimella
Hi, I need a help in wicket. I have a panel containing a button and another panel containing components. on click of the first panel button i want to change the second panel components. Is there any way to do that. Please reply ASAP. Regards Madhu.

Re: button in one panel can change the components in other panel ?

2009-12-08 Thread Alex Objelean
The simplest solution is to make your button a submit button, this way when it clicked, the entire page will be reloaded components will render according to their new state. The second approach can be using ajax. I prefer the approach described on this blog:

Re: button in one panel can change the components in other panel ?

2009-12-08 Thread Pieter Degraeuwe
I suggest you work with a callback/listener mechanism. ButtonPanel has a reference to a calback/listener. In the onclick() you call that callback. The implementation of that callback can be done by the component/page that uses the buttonPanel. (Losely coupling...) On Tue, Dec 8, 2009 at 12:21

Re: Bookmarkable images from db

2009-12-08 Thread Peter Dotchev
Hi, Actually there is a clean and easy Wicket way to do this. No servlets, no URL hand writing. It is achieved by using a shared resource with parameters as mentioned above. I have described it http://dotev.blogspot.com/2009/11/serving-images-and-other-resources-with.html here . Best regards,

Wicket Test Harness and HTTP objects

2009-12-08 Thread Loritsch, Berin C.
I discovered as I implemented the SessionListener to clean up user record locks that the WicketTester object does not behave as expected in regards to the HttpSession objects. I expected to have my MockHttpSession already configured with the application session object bound in the specified

Redirect after for submit, but not what you think

2009-12-08 Thread Robert Moskal
Hi all: I'd like to be able to redirect after I submit a form, basically I want my app to navigate to the next question in a survey after a user responds. But I don't want to do this in the onClick method of the form buttons, because I only want to do this sometimes. In other words sometimes I

RE: Redirect after for submit, but not what you think

2009-12-08 Thread Alex Rass
So: always override onSumbit for the buttons and *sometimes* redirect. Tis all. - Alex -Original Message- From: Robert Moskal [mailto:rmos...@mostmedia.com] Sent: Tuesday, December 08, 2009 12:05 PM To: users@wicket.apache.org Subject: Redirect after for submit, but not what you think

Re: Redirect after for submit, but not what you think

2009-12-08 Thread Robert Moskal
That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of panel). I don't want to have to introduce n new panels to handle the case where I wan to do the redirect. I was hoping I could do it in one place (kind of like an aop after advice :).

Re: Redirect after for submit, but not what you think

2009-12-08 Thread Alex Objelean
You don't have to expose your private panels. Just create a protected method which handles the form submission override it in inherited components. Alex Objelean rmoskal wrote: That's just what I don't want to do. My forms live as private classes on a panel (one form per one style of

Re: Redirect after for submit, but not what you think

2009-12-08 Thread Robert Moskal
I could do that, but would be nicer if I didn't have to touch n classes or create a class hierarchy for my Panel. I don't like my Page knowing so much about what goes on in my Panels either. Thanks! Robert ___ Robert Moskal Most Media Brooklyn, USA 347-529-4744 On Tue, Dec 8, 2009 at

Re: Redirect after for submit, but not what you think

2009-12-08 Thread Alex Objelean
You can define a default behavior (for instance no redirect after submit) apply redirect only for few pages. It is a nice solution... it reminds me about template method design pattern. Alex rmoskal wrote: I could do that, but would be nicer if I didn't have to touch n classes or create

Questions about Serialization...

2009-12-08 Thread Yves-Marie LAINÉ
Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? If no, why ? Technically, is it possible to imagine a SimpleHttpSessionPageStore that don't serialize objects and keep them as

Re: Redirect after for submit, but not what you think

2009-12-08 Thread Robert Moskal
Thanks Alex. It does seem a like a slightly old-fashioned way of doing things. My factory instantiates the Panels by reflection from the class name (kept in a spring file). I personally don't know how to create an anonymous class when I instantiate something using the reflection api. I suppose

Re: Redirect after for submit, but not what you think

2009-12-08 Thread Alex Objelean
Wicket is unmanaged framework. I've never have seen a wicket code which would use instantiation of panels using spring. I don't know I understand it... do you have some special use-case? Can you describe it? My first thought is, that this is some sort of over engineering which doesn't bring you

Re: Questions about Serialization...

2009-12-08 Thread Martin Makundi
Where do you keep your data between pages if not in session? ** Martin 2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? If

Re: Questions about Serialization...

2009-12-08 Thread Igor Vaynberg
you can create your own ISessionStore implementation that keeps all objects in memory. -igor 2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without

Re: AjaxEditableLabel

2009-12-08 Thread TahitianGabriel
Try to add URIEncoding=UTF-8 in the Connector meta in the server.xml file of Tomcat: Connector URIEncoding=UTF-8 ... Should solve your problem... Regards, Gabriel. -- View this message in context: http://old.nabble.com/AjaxEditableLabel-tp26676156p26699350.html Sent from the Wicket - User

Re: Questions about Serialization...

2009-12-08 Thread Marat Radchenko
2009/12/8 Yves-Marie LAINÉ ymla...@gmail.com: Hi, I'm new on the list, sorry if my question has already been asked. I didn't find the right answer on google. Is it possible tu use wicket without Page serialization ? It is. Use only stateless components. Technically, is it possible to

Re: Redirect after for submit, but not what you think

2009-12-08 Thread Robert Moskal
Our application is configured after compilation. I have many different renderers implemented as panels with a private form for a large population of content types. When we deploy the application we have to specify the ones we want to actually use. Since there's no compilation involved in

Re: Redirect after for submit, but not what you think

2009-12-08 Thread Alex Objelean
You may want to take a look to brix (http://code.google.com/p/brix-cms/) project. It is a wicket-based CMS framework it also has a similar use-case like yours. Maybe you'll find their approach interesting... Alex rmoskal wrote: Our application is configured after compilation. I have many

Form submit error after upgrading to 4.1

2009-12-08 Thread Douglas Ferguson
I've been having some upgrade woes. I tried to upgrade to 4.3 and got the wicket:enclosure error then I rolled back to 4.1 and everything seemed fine, but I just found an error with a form that wouldn't submit. I had a drop drop that was set to required and it was preventing the form from

Re: Form submit error after upgrading to 4.1

2009-12-08 Thread Igor Vaynberg
quickstart+jira issue. -igor On Tue, Dec 8, 2009 at 2:24 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I've been having some upgrade woes. I tried to upgrade to 4.3 and got the wicket:enclosure error then I rolled back to 4.1 and everything seemed fine, but I just found an error

Data Provider

2009-12-08 Thread hill180
Hello Group, Just a questions to get a point in the right direction. I have a Modal Window that opens when a Search AjaxLink is clicked. All is Good There. The modal Window is a form which has a datatable which autoupdates on textfield. No Problems there. The problem is the Navigation 1 2

Re: WicketStuff and wicket-contrib-javaee

2009-12-08 Thread Alan Garfield
On Tue, 2009-12-08 at 00:26 +0100, Major Péter wrote: Hi all, Lately I had to make some refactoring in wicket-contrib-javaee, and I saw, that the project is not well maintained. In the repo I only could find the source for v1.0, but only on sourceforge did I found the v1.1 sources. :s So

Re: WicketStuff and wicket-contrib-javaee

2009-12-08 Thread bht
Hi Peter, When my response has EJB in it, it can't be MASSIVE because EJB, you hardly worry about it. EJB is great, easy to use, and Wicket with EJB is even better. VERY powerful combination. The thing is it just works, and there is no need to talk about it much, especially with the NetBeans

Re: Data Provider

2009-12-08 Thread Martin Makundi
Modal window can contain only ajax components. Are you using ajaxdatatable? ** Martin 2009/12/9 hill180 hill...@gmail.com: Hello Group, Just a questions to get a point in the right direction. I have a Modal Window that opens when a Search AjaxLink is clicked.  All is Good There. The

Re: Form submit error after upgrading to 1.4.1

2009-12-08 Thread Douglas Ferguson
I figured out that it has to do with required but not visible fields. Is this already a known issue? Also, I verified that it still exists in 1.4.4 D/ On Dec 8, 2009, at 4:32 PM, Igor Vaynberg wrote: quickstart+jira issue. -igor On Tue, Dec 8, 2009 at 2:24 PM, Douglas Ferguson

2 ModalWIndows at once

2009-12-08 Thread Stefan Lindner
I try to open two modal Windows at once AjaxLink onClick(AjaxRequestTarget) { modal1.show(target); modal2.show(target); } Both modal windows are Pages, no panels. Both modal windows are opened as expected,

Test (sorry)

2009-12-08 Thread Stefan Lindner
Please ignore

unreachable john.mattu...@td.com

2009-12-08 Thread Stefan Lindner
Every time I send an email to users@wicket.apache.org I receive the message john.mattu...@td.com is not reachable TDGROUP #5.0.0 X-Notes;Invalid/unknown recipient [MAPI Reason Code: 1, MAPI Diagnostic Code 1] Am I the only one who gets this message? Stefan

Re: Form submit error after upgrading to 1.4.1

2009-12-08 Thread Igor Vaynberg
check jira, and if its not in there its not knownplease open a ticket and attach a quickstart. -igor On Tue, Dec 8, 2009 at 10:28 PM, Douglas Ferguson doug...@douglasferguson.us wrote: I figured out that it has to do with required but not visible fields. Is this already a known issue?

Re: unreachable john.mattu...@td.com

2009-12-08 Thread Jonas
That sounds really strange - I'd recommend a thorough virus scan of your box... On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner lind...@visionet.de wrote: Every time I send an email to users@wicket.apache.org I receive the message      john.mattu...@td.com is not reachable TDGROUP #5.0.0

Re: 2 ModalWIndows at once

2009-12-08 Thread Igor Vaynberg
opening two modals doesnt really make sense unless one is the parent of the other... -igor On Tue, Dec 8, 2009 at 11:26 PM, Stefan Lindner lind...@visionet.de wrote: I try to open two modal Windows at once        AjaxLink                onClick(AjaxRequestTarget) {                        

Re: unreachable john.mattu...@td.com

2009-12-08 Thread Jonas
forget that, I just also received that message, but it was filtered out as spam On Wed, Dec 9, 2009 at 8:45 AM, Jonas barney...@gmail.com wrote: That sounds really strange - I'd recommend a thorough virus scan of your box... On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner lind...@visionet.de

AW: 2 ModalWIndows at once

2009-12-08 Thread Stefan Lindner
Hi Igor, how can I make modal2 the child of modal1. Or how can I open modal2 automatically after modal1 was opened? Fake an ajax roundtrip with a self updating timer? Stefan -Ursprüngliche Nachricht- Von: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Gesendet: Mittwoch, 9. Dezember

Re: unreachable john.mattu...@td.com

2009-12-08 Thread Ernesto Reinaldo Barreiro
I get similar a delivery failure, even if my message is successful... The same thing happens if I post messages to struts mailing list... Best, Ernesto On Wed, Dec 9, 2009 at 8:39 AM, Stefan Lindner lind...@visionet.de wrote: Every time I send an email to users@wicket.apache.org I receive