Re: will it work in a Linode?

2009-02-27 Thread jbarciela jbarciela
Yes I know, it all depends :) But imagine two questions: - Can you run a LAMP stack on that hardware? => yes - Can you run BEA Weblogic ? => no, I don't think so, I wouldn't even try it and I wouldn't recommend anyone to waste time like that. On the other hand can you run Seam/JBoss ? I'm not s

Re: will it work in a Linode?

2009-02-27 Thread jbarciela jbarciela
Well, no, I don't think that. On Sat, Feb 28, 2009 at 1:44 AM, Igor Vaynberg wrote: > what would make you think wicket would be the most memory hungry part > of that setup and not the OS or the database? > > -igor > > On Fri, Feb 27, 2009 at 9:08 PM, jbarciela jbarciela > wrote: >> Hello all, >

Re: Wicket Portlets on WAS 7.5

2009-02-27 Thread Philippe Marzouk
On Thu, Feb 26, 2009 at 08:11:46AM -0800, suneeelu wrote: > > > Hi, > We are trying to run the echo wicket example application as a wicket portlet > on WAS 7.5. > > We are able to load the echo application as a portlet but when we enter any > text and submit the form, the form doesn't gets submi

Re: will it work in a Linode?

2009-02-27 Thread Igor Vaynberg
what would make you think wicket would be the most memory hungry part of that setup and not the OS or the database? -igor On Fri, Feb 27, 2009 at 9:08 PM, jbarciela jbarciela wrote: > Hello all, > > Does anyone have experience running a Wicket app in a memory > constrained server? It's going to

Re: using a model with DropDownChoice

2009-02-27 Thread Igor Vaynberg
yes, the choice was intentional. personally i do not care if it is all the way, some users complained so we widened it on the choices model, we cannot widen it on the main model. -igor On Fri, Feb 27, 2009 at 8:51 PM, Brill Pappin wrote: > I see... but this would i think because Bar "is a" Foo:

RE: will it work in a Linode?

2009-02-27 Thread Jeremy Thomerson
Impossible question to answer given your details. Don't hold big objects, and especially not collections in session, do your database right, etc, etc, sure - you could get tons of r/s. But we don't know if every request generates 78 queries to your DB. If so, plan on your app dying a slow pai

will it work in a Linode?

2009-02-27 Thread jbarciela jbarciela
Hello all, Does anyone have experience running a Wicket app in a memory constrained server? It's going to be Ubuntu minimal, Wicket and H2 embedded database on a Linode (360 MB ram, $20/month). Can I get even 1 req/s from that setup? Thanks! Jaime ---

Re: using a model with DropDownChoice

2009-02-27 Thread Brill Pappin
I see... but this would i think because Bar "is a" Foo: class Bar exends Foo {} List list = ... list.add(new Bar()); Anyway, what your saying is that the generics choice was intentional? - Brill On 27-Feb-09, at 3:19 PM, Igor Vaynberg wrote: list stings=... strings.add("asd"); <== wont com

Re: What IDE best fits with Wicket?

2009-02-27 Thread Brill Pappin
It's been a year or two since I tried it... but I couldn't stand it unfortunately (m4eclipse was going through some serious issues at the time). Glad to see that its improved enough to use! - Brill On 27-Feb-09, at 6:14 AM, Sergio García wrote: I'm using Q4E, and although it has some fla

Re: m4eclipse Plugin -- Was: What IDE best fits with Wicket?

2009-02-27 Thread Brill Pappin
I *do* feel your pain and I understand the problems you are having. the m2eclipse plugin is actually participating in the build that Eclipse initiated (which it does do after every code change), which helps keep things in sync. What exactly it does will depend on what needs doing (for instan

a simple RepeatingView to display links with labels

2009-02-27 Thread novotny
Hi, The sample from the javadocs works: Java: RepeatingView view = new RepeatingView("repeater"); view.add(new Label("1", "hello")); view.add(new Label("2", "goodbye")); view.add(new Label("3", "good morning")); Markup: Yields: hello goodbye good morning However, I can't

Re: using a model with DropDownChoice

2009-02-27 Thread Igor Vaynberg
list stings=... strings.add("asd"); <== wont compile -igor On Fri, Feb 27, 2009 at 11:13 AM, Adriano dos Santos Fernandes wrote: > What do you mean with "read only" here? > > > Adriano > > > Igor Vaynberg escreveu: >> >> collections are read only, it would be too >> inconvenient to make the mod

Re: Wicket Link with proxy server: wrong hostname

2009-02-27 Thread Marcelo Morales
Hi I am not a fan of reverse proxying. I would not vote for it if runs. If your servlet container supports it, you may try the AJP protocol. It works on tomcat at least. AJP is better than just using a http reverse proxy because: a) you get the right client IP address then asking the servlet API,

Multiple Forms in A Border

2009-02-27 Thread TH Lim
I am using Wicket-1.4-SNAPSHOT libraries. I have a page with multiple forms. These forms are within a Border as shown in the HTML below The Wicket code to this page is public class CommonModelPage exten

Re: using a model with DropDownChoice

2009-02-27 Thread Adriano dos Santos Fernandes
What do you mean with "read only" here? Adriano Igor Vaynberg escreveu: collections are read only, it would be too inconvenient to make the model collection read only :) -igor On Thu, Feb 26, 2009 at 8:34 PM, Jeremy Thomerson wrote: This is what I was commenting on last week on the li

Re: DropDownChoice constructor

2009-02-27 Thread Adriano dos Santos Fernandes
Seems I'm late reading this list, and encounter the same problem discussed in another thread today. :-) Adriano - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.

DropDownChoice constructor

2009-02-27 Thread Adriano dos Santos Fernandes
Hi! Maybe I'm dumb today :-), but I can't access this constructor: public DropDownChoice(String id, IModel> choices, IChoiceRenderer renderer) So I had created new functions using similar generics parameter, and it also don't work for the DDC equivalent: private void temp1(String id, I

Re: [AjaxTabbedPanel] Switching between form and result tab

2009-02-27 Thread Igor Vaynberg
p.add(new Label("statut", demande.getStatut())); ^ you should use models instead of passing it actual values, that way your data doesnt get out of sync. see the models page on the wiki -igor 2009/2/27 : > I've already try that. It didn't work. > But maybe I'm doing something wrong ... > > Here'

Re: [AjaxTabbedPanel] Switching between form and result tab

2009-02-27 Thread valery . chhoa
I've already try that. It didn't work. But maybe I'm doing something wrong ... Here's the page code : private DemandeUnitaire demande; private GererMesLignesUnitForm myForm; private AjaxTabbedPanel tabPanel; private Panel currentPanel; public GererMesLignesUnitPage(int selectedTab, Object infos

Re: Wicket Bench error under Eclipse

2009-02-27 Thread Thomas Mäder
Looks like com.eviware.soapui.eclipse.swt_awt.SwtAwtRequestEditor.init(SwtAwtRequestEditor.java:68) is the culprit. I would guess that you only get the error when opening files of a certain type (sth. related to SOAP, perhaps?). If so, try changing the default editor for this particular file type

Re: [AjaxTabbedPanel] Switching between form and result tab

2009-02-27 Thread Igor Vaynberg
use panelcachingtab instead of abstracttab -igor 2009/2/27 : > Hi, > > Anyone have an idea on the matter below ? > > Cheers, > > Val > > > > De : > valery.ch...@steria.com > A: > users@wicket.apache.org > Date: > 26/02/2009 14:11 > Objet : > [AjaxTabbedPanel] Switching between form and result ta

Re: AjaxEditableLabel, "Double" type and comma / dot

2009-02-27 Thread Piller Sébastien
Hi, thank you for your quick answer. I agree with what you said, but my users are a bit... hum, you know, they have weird desires, and often ask for things they don't really need. If I try to make them change their point of view, then they get angry... so I've learned to close my mouth and do

Re: radio and radiogroup default "checked" not working?

2009-02-27 Thread francisco treacy
i was refusing to use models (how stubborn :) but i think you're right - not a very mean workaround that just works fine. thanks! francisco On Fri, Feb 27, 2009 at 4:41 PM, Jonas wrote: > Have you tried this: add models to the components (even though you don't use > on them), and store the val

Martijn Dashorst at London Wicket Event

2009-02-27 Thread jWeekend
I am pleased to announce that after nearly 18 months of gentle persuasion Martijn Dashorst will be joining us at our next London Wicket Event on April 1st. He will be giving a couple of talks covering very interesting topics and signing your copy of Wicket In Action. As in the past, we'll give awa

Re: radio and radiogroup default "checked" not working?

2009-02-27 Thread Jonas
Have you tried this: add models to the components (even though you don't use on them), and store the value associated with the Radio you want checked in the RadioGroup's model: final RadioGroup group = new RadioGroup("group", new Model(Boolean.TRUE)); Radio radio1 = new Radio("radio1", new

radio and radiogroup default "checked" not working?

2009-02-27 Thread francisco treacy
hi people, i'm quite puzzled with this little problem: i have two Radio buttons within a RadioGroup. both radios have an ajaxeventbehavior("onclick") attached to them, and there are no models backing those components. this works fine. my problem is i want the *first* option to be "checked" by de

Re: AjaxEditableLabel, "Double" type and comma / dot

2009-02-27 Thread Jonas
What you can do is to provide you own Converter to the Label and do you own number parsing/formatting. In my experience it makes sense to strictly follow the formats defined by the locales, otherwise user will complain about unexpected results when entering numbers, e.g. if they use the character t

AjaxEditableLabel, "Double" type and comma / dot

2009-02-27 Thread Piller Sébastien
Hi all, I'd like to know if there is a way to make an AjaxEditableLabel accept either a comma or a dot as decimal separator. That field has a "Double" type. It works well but I have to insert a "," as decimal separator (dots are not allowed), which is quite unusual. I know this is related to

Re: Wicket Security Question

2009-02-27 Thread Les Hazlewood
Yep, I've been playing around with integration and will use it in a production deployment soon. So far, so good. I'm open to any feedback. I'm particularly happy with the PageStore implementation to use JSecurity's enterprise session management in a distributed environment - I needed to write it

Re: FeedbackPanel and Wizard

2009-02-27 Thread unka_hahrry
Thanks for your fast reply, but NOW it seems to work with overriding newFeedbackPanel(String id), no idea why it do not work 15 minutes ago... Michael O'Cleirigh wrote: > > Hello, > > I think you can just call FeedbackPanel.setFilter(IFeedbackMessageFilter > filter) and pass in a filter that

Re: FeedbackPanel and Wizard

2009-02-27 Thread Michael O'Cleirigh
Hello, I think you can just call FeedbackPanel.setFilter(IFeedbackMessageFilter filter) and pass in a filter that will just reject everything like: new IFeedbackMessageFilter() { private static final long serialVersionUID = 1L; public boolean accept(FeedbackMessage message)

FeedbackPanel and Wizard

2009-02-27 Thread unka_hahrry
Hi! Is there any way to remove the default FeedbackPanel from a Wizard? I want to provide my own implementation of FeedbackPanel above the Wizard. I tried to override newFeedbackPanel(String id) and set the visibility to false, but it didn't seem to have an effect. -- View this message in contex

Re: Session expires while a modal window is open

2009-02-27 Thread Andrea Beda
Thanks a lot, it works for me! -- View this message in context: http://www.nabble.com/Session-expires-while-a-modal-window-is-open-tp22203322p22246297.html Sent from the Wicket - User mailing list archive at Nabble.com. - To u

Re: getting the component to which a Behavior is added from with the Behavior

2009-02-27 Thread Will Jaynes
I think I'll go bury myself in shame. Thank you, Witold. On Fri, Feb 27, 2009 at 8:24 AM, Witold Czaplewski wrote: > I think you mean > org.​apache.​wicket.​behavior.​AbstractAjaxBehavior#getComponent() > > Witold > > Am Fri, 27 Feb 2009 08:15:03 -0500 > schrieb Will Jaynes : > > > I'm trying t

RE: [AjaxTabbedPanel] Switching between form and result tab

2009-02-27 Thread valery . chhoa
Hi, Anyone have an idea on the matter below ? Cheers, Val De : valery.ch...@steria.com A: users@wicket.apache.org Date: 26/02/2009 14:11 Objet : [AjaxTabbedPanel] Switching between form and result tab Hi, I have an AjacTabbedPanel with two tabs. The first tab is a form which, when submitt

Re: getting the component to which a Behavior is added from with the Behavior

2009-02-27 Thread Witold Czaplewski
I think you mean org.​apache.​wicket.​behavior.​AbstractAjaxBehavior#getComponent() Witold Am Fri, 27 Feb 2009 08:15:03 -0500 schrieb Will Jaynes : > I'm trying to write a class that extends OnChangeAjaxBehavior. Is there a > way, in the update method, to get the component to which the behavior

getting the component to which a Behavior is added from with the Behavior

2009-02-27 Thread Will Jaynes
I'm trying to write a class that extends OnChangeAjaxBehavior. Is there a way, in the update method, to get the component to which the behavior has been added? I just don't see how. Should it just be added via the constructor? component.add(new MyOnChangeAjaxBehavior(component)); This doesn't se

Re: What IDE best fits with Wicket?

2009-02-27 Thread Richard Allen
I think when/if Eclipse supports nested projects, that might help. Eclipse.org appears to be working on it for version 4. See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=35973 I have also ran into problems with m2eclipse, however I have kept it installed for use with small projects and for the

Re: GSoC ideas for 09

2009-02-27 Thread Richard Allen
Here is some info: http://code.google.com/opensource/gsoc/2009/faqs.html I'll be happy to contribute my time also. The only catch is that I wouldn't be considered a Wicket expert. I've only read Wicket in Action and I'm three months into a professional application based on Wicket. However, I am a

Re: What IDE best fits with Wicket?

2009-02-27 Thread nino martinez wael
Replying inline 2009/2/27 Emond Papegaaij > Some of the benefits are: > - You can edit the pom and the results are immediately visible (like when > editing java code). Okay I see some benefit from this... > > - Working with snapshots is much easier. You just checkout the project and > m2ecli

Re: Wicket Link with proxy server: wrong hostname

2009-02-27 Thread Martin Makundi
Try one thing at a time, patience ;) ** Martin 2009/2/27 : > Hi, > > In application I am not generating urls, only setResponsePage(Index.class); > > So, you think this is proxy settings problem? > Hovever, changing these didn't help, they are now pointing into ssl > accelerator instead of app s

RE: Wicket Link with proxy server: wrong hostname

2009-02-27 Thread harri.temonen
Hi, In application I am not generating urls, only setResponsePage(Index.class); So, you think this is proxy settings problem? Hovever, changing these didn't help, they are now pointing into ssl accelerator instead of app server. ProxyPass /pls http://www.mycompany.com:/pls/mya

Re: What IDE best fits with Wicket?

2009-02-27 Thread Sergio García
I'm using Q4E, and although it has some flaws, it works very good with maven Brill Pappin wrote: > > What are you using instead? > > - Brill > > On 24-Feb-09, at 12:45 PM, James Carman wrote: > >> +1! We had an awful lot of trouble getting it to work for us. >> >> On Tue, Feb 24, 2009 at 12:

Re: What IDE best fits with Wicket?

2009-02-27 Thread Emond Papegaaij
Some of the benefits are: - You can edit the pom and the results are immediately visible (like when editing java code). - Working with snapshots is much easier. You just checkout the project and m2eclipse removes the jar dependency and adds a project dependency. This saves you from performing

Re: Wicket Link with proxy server: wrong hostname

2009-02-27 Thread nino martinez wael
Works for me too, I also posted some Apache configs to this list some time ago.. So search the forum, you can use nabble 2009/2/27 Martin Makundi > Hi! > > If you generate the url in your app, it will see the proxyPass address: > > > ProxyPass /pls http://server:/pls/myapp/ >

Re: What IDE best fits with Wicket?

2009-02-27 Thread nino martinez wael
Sure, if you change project structure, you need to invoke mvn eclipse:eclipse one projects that are changed.. But it works... And true it's not integrated in eclipse.. I just dont see what the integrations bring, but It might just be because I too have been unlucky, when I tried m2eclipse... The

Re: Wicket Link with proxy server: wrong hostname

2009-02-27 Thread Martin Makundi
Hi! If you generate the url in your app, it will see the proxyPass address: > ProxyPass /pls http://server:/pls/myapp/ > ProxyPassReverse/pls http://server:/pls/myapp/ You could change this into: ProxyPass /pls http://www.mycompany.com:/pls/myap

Wicket Link with proxy server: wrong hostname

2009-02-27 Thread harri.temonen
Hi all, I have problem when Wicket 1.3.5 application is installed behind proxy server. Application it showing Index page in url https://www.mycompany.com/pls/myapp/ When clicking link (pointing into same Index page), browser is going to url http://server:/pls/myapp/ Any ideas about to solve

Re: What IDE best fits with Wicket?

2009-02-27 Thread Emond Papegaaij
Yes, mvn eclipse:eclipse works, but it's not really integrating maven in eclipse. I have to run it manually after changing the pom or the project structure and it often results in a complete rebuild of all projects. On Friday 27 February 2009 10:08:58 nino martinez wael wrote: > I just use mvn e

Wicket Bench error under Eclipse

2009-02-27 Thread Piller Sébastien
Hi all, I have some problems using the WicketBench plugin under Eclipse Ganymede. It sometimes success in opening the files, and sometimes not. When it fails, I can see the following stack trace on Eclipse: java.lang.NullPointerException at com.eviware.soapui.eclipse.swt_awt.Swt

Re: Wicket Security Question

2009-02-27 Thread nino martinez wael
Ahh ok, Just wrote Les... 2009/2/27 Maarten Bosteels > I created a google-code project for Wicket-JSecurity integration, but > unfortunately haven't had time to work on it. > Les has already done some commits though. > > http://code.google.com/p/wicket-jsecurity/ > > Any help is welcome. > > re

Re: Wicket Security Question

2009-02-27 Thread Maarten Bosteels
I created a google-code project for Wicket-JSecurity integration, but unfortunately haven't had time to work on it. Les has already done some commits though. http://code.google.com/p/wicket-jsecurity/ Any help is welcome. regards, Maarten On Fri, Feb 27, 2009 at 8:31 AM, Wayne Pope < waynemail

Wicket and downloading huge pdf files

2009-02-27 Thread Emanuele Gesuato
Hi there, We have several huge pdf files with many pages (an hundred or so) and we would like to do a lazy loading of the pdf file when the user click to download it. Right now, when the user click for some pdf we return to the browser a resource stream with mime type "application/pdf" in which we

Re: What IDE best fits with Wicket?

2009-02-27 Thread nino martinez wael
I just use mvn eclipse:eclipse , it works every time :) 2009/2/27 Emond Papegaaij > That is the plugin Martijn is talking about, and I am one of the co-workers > he > mentioned. I tried the m2eclipse plugin and used it for a day. The plugin > (version 0.9.7.200902090947) was able to checkout the

Re: Wicket Security Question

2009-02-27 Thread nino martinez wael
Thanks for the update.. 2009/2/27 Wayne Pope > Hi, > In terms of SWARM etc its in the pre-generics stage. It didn't take > much to get it working with the latest wicket version mind. > It works fine, however it wan't what we needed in the end - we went > with the wicket.aurthorization package an