Re: South African Wicket Users?

2008-05-03 Thread Johan Compagner
Ahh shame that i didnt meet them end of feb this year when i was there ;) On 5/2/08, iwessels [EMAIL PROTECTED] wrote: Wicket User-3 wrote: Hey, Are there any South African wicket users, if so where are you base, JHB or CT? Cheers Simon Hello Simon, There are a couple

Re: South African Wicket Users?

2008-05-03 Thread Izak Wessels
Lol, damnit. Are you based in the Netherlands Johan? Johan Compagner wrote: Ahh shame that i didnt meet them end of feb this year when i was there ;) On 5/2/08, iwessels [EMAIL PROTECTED] wrote: Wicket User-3 wrote: Hey, Are there any South African wicket users, if so where

Re: South African Wicket Users?

2008-05-03 Thread Izak Wessels
Ah cool, where did you go? Hope u stopped in Cape Town for a bit, great place. I was wondering if you know of any companies in the Netherlands that do Wicket web development? I am looking to immigrate to the Netherlands and it would be great if I could continue to work in an environment where

Re: South African Wicket Users?

2008-05-03 Thread Johan Compagner
Yes, i was on a vacation in s.a. I had the time a bit wrong (mixed up with another 'wicket' vacation) Was in s.a. from 24 dec until 20 jan. Last 3 days in joburg. On 5/3/08, Izak Wessels [EMAIL PROTECTED] wrote: Lol, damnit. Are you based in the Netherlands Johan? Johan Compagner wrote:

Re: Wicket : Navigation Test Case Failure

2008-05-03 Thread Izak Wessels
Just to answer my own question, the problem was that I prefixed the programButton id with the id of the form, which meant that the button was never invoked. Izak Wessels wrote: You are correct, I omitted it, due to it being done in the superclass, but tester.startPage(ProgramPage.class) is

Re: Pros and cons of WicketBench

2008-05-03 Thread Gerolf Seitz
On Fri, May 2, 2008 at 10:05 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: however, it does have its problems. eclipse' java editor is not built with embedding in mind, so once you start using (2) you will miss out on such useful things as mark occurences, double clicking the left border to set

Re: Wicket 2.0 time frame

2008-05-03 Thread Doug Donohoe
Eelco, Thanks for the thorough and thoughtful reply. Perhaps there are things that can be done in the framework with cookies and such. I am going to be looking to additions to wicket. I need to get the source built and working in my local environment. -Doug Eelco Hillenius wrote:

Re: Modal window and height

2008-05-03 Thread Mathias P.W Nilsson
The java doc for the modal windows says * licode[EMAIL PROTECTED] #setResizable(boolean)}/code specifies, whether the window can be resized. * licode[EMAIL PROTECTED] #setInitialWidth(int)}/code and code[EMAIL PROTECTED] #setInitialHeight(int)}/code * specify the initial width and height of

Re: Gzipping of pages (HTML output, not only resources)

2008-05-03 Thread Artur W.
Hi Stefan, Stefan Simik wrote: I looked at the uploads, but cannot find out, what exactly is the problematic part with closing streams. I find one stream-closing code in FileUpload - #closeStreams() method. This method closes all possibly opened InputStream-s for uploaded file. Here,

Re: South African Wicket Users?

2008-05-03 Thread Johan Compagner
Yes started in cape town and traveld in 4 weeks to joburg. Ask maurice or martijn for work :) On 5/3/08, Izak Wessels [EMAIL PROTECTED] wrote: Ah cool, where did you go? Hope u stopped in Cape Town for a bit, great place. I was wondering if you know of any companies in the Netherlands that

Re: What is session.dirty() for?

2008-05-03 Thread Michael Allan
Matej Knopp wrote: Martin Makundi wrote: Let's say I have some variables in my session. If these variables change, do I have to call session.dirty? If you subclassed the Session class and your attributes are properties of the subclass. But you are required to call session.dirty()

Re: Pros and cons of WicketBench

2008-05-03 Thread Igor Vaynberg
the problem is i dont know eclipse internals that well. i think if johan, or anyone else was interested in spending time on it all he would have to do to check this out is to create a new eclipse plugin from the tabbed editor plugin wizard and then try to embed the java editor as one of the panes.

Re: What is session.dirty() for?

2008-05-03 Thread Johan Compagner
Nop thats the best thing todo On 5/3/08, Michael Allan [EMAIL PROTECTED] wrote: Matej Knopp wrote: Martin Makundi wrote: Let's say I have some variables in my session. If these variables change, do I have to call session.dirty? If you subclassed the Session class and your

Re: How to lookup Page or Class from a URI path ?

2008-05-03 Thread Johan Compagner
Use mounts On 5/2/08, Chris Lintz [EMAIL PROTECTED] wrote: Hi, Any one know how I can directly lookup a Page or the Page Class from a URI path? For example, say I have /pic/convert . How can I get the associated Page or Page class that path? thanks for any help chris -- View this

Re: Wicket 2.0 time frame

2008-05-03 Thread Jonathan Locke
i agree with a lot of what eelco says here. that said, i'm definitely more of the mind to prefer stateful OO techniques over stateless. also, i think the idea that amazon is actually a stateless web site is probably somewhat false already and getting more false as the company grows and scales

Re: keeping parameters when reloading a page

2008-05-03 Thread Eyal Golan
Anyone? Any idea? I thought about keeping it in the Session but it seems too much. On Thu, May 1, 2008 at 1:22 PM, Eyal Golan [EMAIL PROTECTED] wrote: I think it is ... I have this in my application: mountBookmarkablePage(/entityBrowser, EurekifyBrowserPage.class); And my link is: new

Re: keeping parameters when reloading a page

2008-05-03 Thread Jeremy Thomerson
Please paste more of the code from your dropdown box or form... How does the field get set? Are you submitting a form after they change the dropdown, or are you overriding the wantOnSelectionChangedNotifications() and receiving a notification when they change it? Have you set a breakpoint in

Re: keeping parameters when reloading a page

2008-05-03 Thread Johan Compagner
Mount it with the HybridUrlCoding strategy i think that should work because then a redirect to a bookmarkable page is done but that still has some state in the url for a refresh On Sat, May 3, 2008 at 9:01 PM, Eyal Golan [EMAIL PROTECTED] wrote: Anyone? Any idea? I thought about keeping it

Re: South African Wicket Users?

2008-05-03 Thread Eelco Hillenius
I was wondering if you know of any companies in the Netherlands that do Wicket web development? I am looking to immigrate to the Netherlands Try out for a year first and see whether you can cope with the weather and small housing ;-) and it would be great if I could continue to work in

Re: Advisory question

2008-05-03 Thread Eelco Hillenius
My web app background is from page oriented frameworks, and now while using wicket, I find myself creating pages over and over. I think I can miss many of them, because most of the time all I do is adding an intelligent reusable component to it. I'm mostly using panels/ go for the

Re: How to lookup Page or Class from a URI path ?

2008-05-03 Thread Martin Grigorov
http://wicketstuff.org/wicket13/niceurl/the/homepage/path Browse the source code of NiceUrlApplication.java to see how to use mounts On Sat, 2008-05-03 at 18:35 +0200, Johan Compagner wrote: Use mounts On 5/2/08, Chris Lintz [EMAIL PROTECTED] wrote: Hi, Any one know how I can directly

Re: PropertyModel with default null model object ?

2008-05-03 Thread smallufo
Thank you , I solve most of questions , except this : In the MyPage extends WebPage : //fieldX returns an Integer[] array MyPanel myPanel = new MyPanel(myPanel , new PropertyModel(model , fieldX) { @Override public Object getObject() { Integer[] ints = (Integer[]) super.getObject();

How to avoid Lazy loading exception

2008-05-03 Thread Mathias P.W Nilsson
Is there any good tutorial on wicket, hibernate and spring? When dealing with my lazy many to one relations I get lazy loading exception. Very annoing. Lets say I have an Item class that has many to one relations to a category. I list the items in a wicket page and when click a link I do

Re: How to avoid Lazy loading exception

2008-05-03 Thread Igor Vaynberg
this is not very difficult to fix. there are really only two basic rules: 1) never keep direct references to hibernate entities. this is because they will become detached between request and unless you call session.lock/refresh on them before accessing a collection you will get the lazy exception.

why swarm not render link

2008-05-03 Thread NHSoft.YHW
my hive file: grant { permission ${ComponentPermission} wm.wicket.pages.HomePage, inherit, render; permission ${ComponentPermission} wm.wicket.pages.HomePage, enable; permission ${ComponentPermission} wm.wicket.pages.ManageCenterPage, inherit, render;

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-05-03 Thread mfs
Looking for some follow up on this.. 1) Just wondering as to why isnt a constructor a good place to do the redirection to an external url , ? 2) What should be the right place for it, given my use-case.. Thanks in advance.. Johan Compagner wrote: I think this usecase should be supported

About the Session Leaking Problem

2008-05-03 Thread Iman Rahmatizadeh
Hi , About the session leaking problem described in this thread : http://www.nabble.com/Invoulentary-session-sharing-leakage-in-Wicket-1.3.x-td16550360.html I'm getting reports of the same problem from some of my clients. Where can I find the fix committed for this problem ? Is it more than just

Link to a filter using external link

2008-05-03 Thread mfs
Guys, Am trying to create a link to a non-wicket filter in a wicket page, using ExternalLink as follows but it doesn't work. Here is what i have tried out.. new ExternalLink(linkName,/myfilter) // this would create link as [host-name]/myfilter without the context root... new