WARN BorderBodyResolver

2010-01-07 Thread Anton Veretennikov
Good day, I'm a bit confused, can't understand what i really need to do after getting this warning: Please consider to change your java code to something like: c.add(getBodyContainer()); for the component hierarchy to better reflect the markup hierarchy. For example, say that you have a border

Re: question about swarm

2010-01-07 Thread Olger Warnier
Hi Emond, Very nice. Could you think of a way to support your scenario and a way to support anonymous classes in a way that you don't have to specify a MyPageClass$1$2 and we don't have to impose a change in the hive file ? Kind Regards, Olger On 6 jan 2010, at 14:03, Emond Papegaaij wrote:

How to close a Wicket application?

2010-01-07 Thread Giovanni
I am using Spring + Wicket. When the Wicket application starts, if some important configuration is missing, I want to close all the application context, destroying all the Spring beans, including also the Wicket application, which is configured as a Spring bean by SpringWebApplicationFactory.

Re: How to close a Wicket application?

2010-01-07 Thread Martin Grigorov
On Thu, 2010-01-07 at 02:15 -0800, Giovanni wrote: I am using Spring + Wicket. When the Wicket application starts, if some important configuration is missing, I want to close all the application context, destroying all the Spring beans, including also the Wicket application, which is

Re: How to close a Wicket application?

2010-01-07 Thread Erik van Oosten
There is no hook in Wicket to stop. Wicket normally starts and ends with the web context it is running in. So ending the application is done by undeploying the web-app. You'll need to find hooks in your serlvet container. Spring will automatically shutdown with the web context as well.

Re: How to close a Wicket application?

2010-01-07 Thread Martijn Dashorst
Call System.exit(1) ... that will do the trick. Always nice to see all applications deployed to a container disappear. Martijn On Thu, Jan 7, 2010 at 12:03 PM, Erik van Oosten e.vanoos...@grons.nl wrote: There is no hook in Wicket to stop. Wicket normally starts and ends with the web context

is wicket+seam+ejb3 stable?

2010-01-07 Thread Haulyn Jason
Hi, all: I am wicket fans, I always make my applications to work with wicket+guice+ibatis. Now we have a new project, we need to make wicket work with ejb3. I think maybe seam is a good idea, but i am not familiar with this. Can anyone share experience? Thanks very much. -- Thanks! VVThumb

DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
Hi, - the scenario is this: jmeter stress-testing (10 simultaneous users with no ramp-up and an infinite-loop cycle) a wicket application (extends SpringWebApplication) by only refreshing the HomePage. - the result is: observing the disk, the pagemap file for each session (10 items), there is

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
Just because it's the same page class it doesn't mean it's the same page instance. How does the URL that you invoke look like? -Matej On Thu, Jan 7, 2010 at 12:32 PM, manuelbarzi manuelba...@gmail.com wrote: Hi, - the scenario is this: jmeter stress-testing (10 simultaneous users with no

InspectorBug on 1.3.5

2010-01-07 Thread Xavier López
Hi, I'm trying to use the InspectorBug in wicket 1.3.5. I extracted it from the wicket-examples source code. The problem is, every page is treated as stateless, soI can get no information on component's models. I get info on Application and Session, but about the Pages, debugging through the code

Re: question about swarm

2010-01-07 Thread Emond Papegaaij
Well, provided you've implemented the ComponentSubclassPermission, you could overwrite the alias for ComponentPermission by subclassing the SwarmPolicyFileHiveFactory like this: public class MyFileHiveFactory extends SwarmPolicyFileHiveFactory { public MyFileHiveFactory(ActionFactory

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
the url is this: http://localhost:9090/test/

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Johan Compagner
if you constantly target exactly that url then that will be a new page everytime because thats just a bookmarkable url. not an instance url. On Thu, Jan 7, 2010 at 12:52, manuelbarzi manuelba...@gmail.com wrote: the url is this: http://localhost:9090/test/

Re: How to close a Wicket application?

2010-01-07 Thread Giovanni
Hi Martjin, I tried with System.exit(1) on Weblogic, but it is also stopping the whole Weblogic server. It seems that this solution is too strong. :) Maybe the solution ofMartin Grigorov is softer. At the end, we are using the ApplicationContext.close() method, which seems to stop the Spring

Re: Autosize modal window

2010-01-07 Thread Ilja Pavkovic
Hi, I forgot the following line: modalWindow.setUseInitialHeight(false); Best Regards, Ilja Pavkovic Am Donnerstag, 7. Januar 2010 12:40:25 schrieb Kogel, Jonck-van-der: Hi Ilja, Ok, that's good, I'm not using PageCreator. But how do I then make the ModalWindow autosize? Perhaps I'm

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
if this is the behaviour by default, then, how do you avoid a DoS attack? i mean, to put an example, if a simple app like this receives thousand of users just refreshing the home page, then the pagestore will be overloaded... may this become a disk I/O overhead and its other possible consequences.

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
You have the exact same problem with every stateful application. If you want to avoid a DoS attack (which isn't really always possible) you need a good firewall. -Matej On Thu, Jan 7, 2010 at 2:29 PM, manuelbarzi manuelba...@gmail.com wrote: if this is the behaviour by default, then, how do you

Re: is wicket+seam+ejb3 stable?

2010-01-07 Thread Martin Grigorov
Mind wicketstuff-core/javaee as well. It is used by more people and it works for sure. There are two Seam integrations, one in wicketstuff and one in Seam itself. I can tell nothing about their status. On Thu, 2010-01-07 at 19:18 +0800, Haulyn Jason wrote: Hi, all: I am wicket fans, I always

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
hmmm... but we are talking about something very basic: the home page! there's no way to avoid repetition of this page in pagestore? i guess pagestore does not repeat other internal pages (with extended url - not home page - if their are correctly independent, no new object references inside on

SV: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Wilhelmsen Tor Iver
hmmm... but we are talking about something very basic: the home page! Have you set it unversioned? How about trying to make it stateless? - Tor Iver - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
You can make your home page stateless. Of course that limits what components you can put on it. -Matej On Thu, Jan 7, 2010 at 2:42 PM, manuelbarzi manuelba...@gmail.com wrote: hmmm... but we are talking about something very basic: the home page! there's no way to avoid repetition of this page

Re: Autosize modal window

2010-01-07 Thread Stefan Jozsa
Yes, it can be resized. Do something like this: public void show(AjaxRequestTarget target, ...) { // ... super.show(target); // ... int height = YOUR_COMPUTED_HEIGHT; int width = YOUR_COMPUTED_WIDTH;

Re: Autosize modal window

2010-01-07 Thread Stefan Jozsa
Forgot: public MyModalWindow extends ModalWindow { public MyModalWindow(String id) { super(id); setResizable(false); setWidthUnit(em); setHeightUnit(em); setContent(new MyWindowPanel(this.getContentId())); // ... } } Stefan

RE: Autosize modal window

2010-01-07 Thread Kogel, Jonck-van-der
Ok, great, the height is indeed autosizing nicely now. Is there any way to have the width autosize as well? Thanks, Jonck -Original Message- From: Ilja Pavkovic [mailto:ilja.pavko...@binaere-bauten.de] Sent: donderdag 7 januari 2010 13:51 To: users@wicket.apache.org Cc: Kogel,

Re: datagrid error

2010-01-07 Thread Igor Racic
Hi, Yes, that solved the issue. Thank you, Igor 2010/1/6 Matej Knopp matej.kn...@gmail.com Caused by: java.util.MissingResourceException: Unable to find property: 'id1' for component: grid1:header:header:id1 You are missing property id1 for column header in your property file. -Matej

Re: Autosize modal window

2010-01-07 Thread Ilja Pavkovic
Hi, Ok, great, the height is indeed autosizing nicely now. Is there any way to have the width autosize as well? no, as you need either a height or a width to calculate on out of the other automatically with respect to the window content (content dimension and aspect ratio would be

RE: DropDownChoice and selected value...

2010-01-07 Thread Kogel, Jonck-van-der
Hi, I also had this problem once. It turned out to have to do with my list of choices becoming stale. I solved this by putting the choices in a LoadableDetachableModel. ie: IModelListYourObject yourObjectsModel = new LoadableDetachableModelListYourObject() { @Override protected

TextField Class Type Validation

2010-01-07 Thread sakthi vel
Hello, I have a text field and added the class type as Date, to validate the date entered. TextField txtDate = new TextField(txtDate, new Model(), Date.class); I have two button in the same screen one for the Save for another for Reset. When i enter invalid date and press the save button,

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Peter Ertl
Would it be a good idea to be able to specify the pagestore limits on a per-wicket-session base? So you could for example increase the page store limits once a user has successfully authenticated. DoS web clients usually don't go through the mess to authenticate first. Also multiple

Re: TextField Class Type Validation

2010-01-07 Thread Fatih Mehmet UCAR
button.setDefaultFormProcessing(boolean b) http://wicket.sourceforge.net/apidocs/wicket/markup/html/form/Button.html#setDefaultFormProcessing%28boolean%29 - Original Message - From: sakthi vel vela@gmail.com To: users@wicket.apache.org Sent: Thursday, January 07, 2010 4:30 PM

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
that good be great! dos attack is very rude scenario? ok, a more realistic scenario would be - as happens here - an app that has a very huge amount of users during only one week per year (about 40k users connecting to this app for subscriptions and checking some personal information). let's say

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread manuelbarzi
about unversioned, i have just done a quick test on wicket-examples helloworld, adding serialVersionUID (not informed in the examples) and the result is the same: pagestore file increasing to the infinite (max size of course :) stateless page is next, but limitations in this scenario should be

RE: OnChangeAjaxBehavior with palette

2010-01-07 Thread wic...@geofflancaster.com
any help? i cant be the only person to have tried this. Original Message: - From: wic...@geofflancaster.com wic...@geofflancaster.com Date: Wed, 6 Jan 2010 14:13:50 -0500 To: users@wicket.apache.org Subject: OnChangeAjaxBehavior with palette i'm trying using a text field to

Re: OnChangeAjaxBehavior with palette

2010-01-07 Thread Scott Swank
You could add an AjaxFormComponentUpdatingBehavior to your palette so that your selections are pushed back to the underlying model. On Thu, Jan 7, 2010 at 9:40 AM, wic...@geofflancaster.com wic...@geofflancaster.com wrote: any help? i cant be the only person to have tried this. Original

Re: OnChangeAjaxBehavior with palette

2010-01-07 Thread wic...@geofflancaster.com
But how can you inject previously selected items back into the selected menu? The only thing i can see is inserting items into the list as a whole which puts them into the available menu. can you give me a code snippet and better explanation of what you mean? Original Message: -

lightwindow and ayax call

2010-01-07 Thread Fernando Wermus
Hi all, I am using Lightwindow (http://www.stickmanlabs.com/lightwindow/) to show some swf. But if there are some ayax call before showing the swf, it fails to show in a modal window. Instead, it shows as a webpage in itself. I can see that js libraries are still in the header. I cant find out

Re: OnChangeAjaxBehavior with palette

2010-01-07 Thread Martin Makundi
http://www.mail-archive.com/users@wicket.apache.org/msg16517.html http://old.nabble.com/Palette-and-recorderComponent-initialization-%28Wicket-1.3.1%29-td15871741.html 2010/1/7 wic...@geofflancaster.com wic...@geofflancaster.com: But how can you inject previously selected items back into the

Re: OnChangeAjaxBehavior with palette

2010-01-07 Thread Scott Swank
Hmm. I dug around a bit and Palette is a Panel rather than a form component. It however allows access to an internal FormComponent named recorder. So you can: palette.getRecorderComponent().add( new OnChangeAjaxBehavior(){ public void onUpdate(AjaxRequestTarget req){} } ); But that's

PageExpiredException not being thrown

2010-01-07 Thread Ryan O'Hara
After letting a session expire on a Search page using QueryStringUrlCodingStrategy, hovering on a Link with an onmouseover AjaxEventBehavior event throws a PageExpiredException, as expected. However, after allowing the session to expire in the same circumstance, and then clicking another

[OT] qucik help with eclipse maven repo

2010-01-07 Thread Paul Szulc
OFF TOPIC! Hi, totally off topic - I know But I need someone outside from Poland boarders to click on this link here: http://www.eclipse.org/downloads/download.php?r=1nf=1file=/rt/eclipselink/maven.repo it redirects me to a non-complete maven repo in Poland (

Re: [OT] qucik help with eclipse maven repo

2010-01-07 Thread Martin Makundi
http://eclipse.a3-system.be/rt/eclipselink/maven.repo/ 2010/1/7 Paul Szulc paul.sz...@gmail.com: OFF TOPIC! Hi, totally off topic - I know But I need someone outside from Poland boarders to click on this link here:

Re: [OT] qucik help with eclipse maven repo

2010-01-07 Thread Paul Szulc
thank you so much!! polish mirror http://ftp.man.poznan.pl/eclipse/rt/eclipselink/maven.repo/ lacks half of the jars thx again!! On Thu, Jan 7, 2010 at 7:44 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: http://eclipse.a3-system.be/rt/eclipselink/maven.repo/ 2010/1/7

SV: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Wilhelmsen Tor Iver
about unversioned, i have just done a quick test on wicket-examples helloworld, adding serialVersionUID (not informed in the examples) and the result is the same: pagestore file increasing to the infinite (max size of course :) I meant Wicket's setVersioned(false); the serialVersionUID

Re: DiskPageStore file increasing to max size by only refreshing a HomePage

2010-01-07 Thread Matej Knopp
SetVersioned(false) does not help with new page instances being created. -Matej On Thu, Jan 7, 2010 at 9:46 PM, Wilhelmsen Tor Iver toriv...@arrive.no wrote: about unversioned, i have just done a quick test on wicket-examples helloworld, adding serialVersionUID (not informed in the examples)

Testing with DropDowns - onChange event

2010-01-07 Thread Verma Shalini (HCTM/ETA)
I'm trying to test onChange even on one dropdown so that the value is changed in the other dropdown.When I submit the form I'm not able to get the values for any of the fields. I have seen people getting the same error but there is no solution so far. Thanks for helping in advance. @Test

Testing with DropDowns - onChange event

2010-01-07 Thread Verma Shalini (HCTM/ETA)
I'm trying to test onChange even on one dropdown so that the value is changed in the other dropdown.When I submit the form I'm not able to get the values for any of the fields. I have seen people getting the same error but there is no solution so far. Thanks for helping in advance.

Testing with DropDowns - onChange event

2010-01-07 Thread Verma Shalini (HCTM/ETA)
I'm trying to test onChange even on one dropdown so that the value is changed in the other dropdown.When I submit the form I'm not able to get the values for any of the fields. I have seen people getting the same error but there is no solution so far. Thanks for helping in advance.

Testing with Panels

2010-01-07 Thread Verma Shalini (HCTM/ETA)
I'm having a Panel which has some fields. I'm trying to write a test case to test the Panel. I have a form inside the Panel. But When I call formTester.form(submit) It calls the HomePage. It doesn't fail but when I try to get the values of the fields I get null. What is the difference between

Wicket and Spring - mocking a particular bean when Wicket is in development mode?

2010-01-07 Thread Liam Clarke-Hutchinson
Hi all, This is probably more of a Spring question than a Wicket question, but I'm asking here in the hopes that someone else has done this before. Basically, we have a page that uses the @SpringBean annotation to inject a credit card validation service. At the moment, when we're developing, it's

Re: Wicket and Spring - mocking a particular bean when Wicket is in development mode?

2010-01-07 Thread Ilja Pavkovic
Hi, use a different applicationContext.xml that is used for integration testing. (use maven profiles for using different resource path pointing to different applicationContext.xml files). You cannot use WebApplication.getConfigurationType() as you need a preloaded spring configuration before

Re: TabbedPanel + authorization strategy

2010-01-07 Thread toberger
Hi, I'm sorry to put such an old topic up. But I'm searching for a way to secure tabs with wicket-auth-roles and I don't want to display the tabs when the user has no authorization for its content panel. I can't find the source code which is related to. Maybe somone can just add a little code

Re: TabbedPanel + authorization strategy

2010-01-07 Thread James Carman
Can't you just not add the tab if the user doesn't have the role/permission required? On Thu, Jan 7, 2010 at 5:25 PM, toberger torben.ber...@gmx.de wrote: Hi, I'm sorry to put such an old topic up. But I'm searching for a way to secure tabs with wicket-auth-roles and I don't want to display

wicketTester.executeAjaxEvent not working

2010-01-07 Thread Verma Shalini (HCTM/ETA)
I'm trying to write a test case in which I'm having onChange event for the drop down. I also have textfield as well. When I submit the form I don't get the value of the textfield. But if I comment the onChange event call then I'm able to get the value of the Text Field. Any help... @Test

Re: wicketTester.executeAjaxEvent not working

2010-01-07 Thread shetc
Just dealt with this issue: http://old.nabble.com/WicketTesterNo-Form-onSubmit-when-using-Ajax-DropDownChoice-Component-td27006022.html http://old.nabble.com/WicketTesterNo-Form-onSubmit-when-using-Ajax-DropDownChoice-Component-td27006022.html -- View this message in context:

Help with Wicket Adoption Numbers

2010-01-07 Thread Lester Chua
Hi, I am facing a hurdle that need crossing in my final attempt to push Wicket for use in an organization. I have: 1) Prototyped a small size module 2) Did 2-3 presentations on the key features and advantages of wicket No one is disputing my claims about productivity and good OO code that

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Scott Swank
The wiki has a list of some web sites that use Wicket. http://cwiki.apache.org/WICKET/websites-based-on-wicket.html A quick search of IBM shows approx 1,080 articles on Wicket: http://www.google.com/search?q=site:ibm.com+wicket Scott On Thu, Jan 7, 2010 at 4:43 PM, Lester Chua

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Steve Swinsburg
On the wiki there are some pages to help your cause: http://cwiki.apache.org/WICKET/websites-based-on-wicket.html http://cwiki.apache.org/WICKET/products-based-on-wicket.html as well as blogs talking about Wicket, and lots more useful PR info: http://cwiki.apache.org/WICKET/index.html All the

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Lester Chua
Thanks for the links. I have already submitted them as part of the evaluation process. I'll take a look at the IBM links from scott. Regards, Lester Steve Swinsburg wrote: On the wiki there are some pages to help your cause: http://cwiki.apache.org/WICKET/websites-based-on-wicket.html

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Igor Vaynberg
here is an interesting tidbit wicket is on the front page of nabble http://old.nabble.com/ sorted by activity. we are there along maven, jquery, cxf, tomcat, etc. how is the adoption on those? -igor On Thu, Jan 7, 2010 at 6:19 PM, Lester Chua cicowic...@gmail.com wrote: Thanks for the links.

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread shetc
Hi Lester, I don't know if this helps but I work for a large staffing company called Spherion Corporation. Our most recent large applications have been created using Wicket. These projects have been delivered on-time, require low maintenance and have literally saved the company millions of

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Peter Thomas
Also the Apache Wicket LinkedIn group could be used to get a feel of companies using Wicket, at the moment there are 524 members and counting: http://www.linkedin.com/groups?viewMembers=gid=80181 On Fri, Jan 8, 2010 at 8:30 AM, shetc sh...@bellsouth.net wrote: Hi Lester, I don't know if

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Lester Chua
You guys are AWESOME. I'm composing an email to the evaluator-in-charge from the tech committee. Hope all this is persuasive enough. Regards, Lester Peter Thomas wrote: Also the Apache Wicket LinkedIn group could be used to get a feel of companies using Wicket, at the moment there are 524

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Igor Vaynberg
ask them for their sources for adoption rates of struts 2, im curious. -igor On Thu, Jan 7, 2010 at 7:47 PM, Lester Chua cicowic...@gmail.com wrote: You guys are AWESOME. I'm composing an email to the evaluator-in-charge from the tech committee. Hope all this is persuasive enough. Regards,

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Peter Thomas
Just a thought, in my experience a lot of project teams end up choosing Struts2 thinking that it is a simple upgrade from Struts 1 and that existing in-house expertise in Struts 1 can be preserved. This line of thinking obviously appeals to management. Just in case, make it clear that Struts 2

Re: Help with Wicket Adoption Numbers

2010-01-07 Thread Jonathan Locke
yup. ibm is into it. i also think it's telling that wicket is a global phenomenon at this point... there are books on wicket in english (3), german (2), japanese (1) and chinese (1). and these are independent books, not localizations of one book. jon p.s. if your group needs advice, i