Re: Overriding panel markup

2008-01-06 Thread Chris Webb
I imagine it can :) cheers Eelco Hillenius wrote: I wondering what's the best approach to overriding the markup for a panel. Is there a method I can override or should I just extend the Panel? You should extend it. You *could* use a custom resolution (see the custom markup example in

Re: About Page Expired of guestbook sample

2008-01-06 Thread rosen jiang
Finish! It's my fault, i named the project aswicketdb4o, so problem occurred. thank you igor! regards, rosen jiang rosen jiang wrote: hi all, I am studying guestbook sample of 1.3 right now, but encounter some problem: If i submit the form, then rising Page Expired. I have read

Re: Wicket/Ajax history support

2008-01-06 Thread Sam Hough
Yeah, it's a tough problem to solve. Any concrete help (meaning executable code) is welcome. I think my boss is quite into sharing code so will see if we come up with anything good. Wicket is not the answer to everything either. No-one on the team is dogmatic on this. I think Wicket is

wicket bench 0.5.0

2008-01-06 Thread Joni Freeman
Hello! There's a new version of a plugin: http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench This is mostly a maintenance release: Eclipse 3.3 support and Wicket dependency is updated to be 1.3. The only new feature adds keybindings to quickly create associated html or properties file

Re: Wicket/Ajax history support

2008-01-06 Thread Eelco Hillenius
Anyway, all I can say is I really like Wicket and I'm sorry if I offended anybody. I don't think you did. We've got thick skin most of the time :-) I love a frank tech debate We too. No worries. Eelco - To unsubscribe,

Re: wicket bench 0.5.0

2008-01-06 Thread Eelco Hillenius
Thanks for keep working on this! Eelco On Jan 6, 2008 7:57 PM, Joni Freeman [EMAIL PROTECTED] wrote: Hello! There's a new version of a plugin: http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench This is mostly a maintenance release: Eclipse 3.3 support and Wicket dependency is

[Announcement] Wicket Security Release Candidate has been released

2008-01-06 Thread Maurice Marrink
A release candidate has been made available on sourceforge and the wicketstuff maven repository. We did however made a little jump in the version number, the current release is version 1.3.0-rc1. There have been several questions / request about the version number and by following the wicket

WicketWebBeans

2008-01-06 Thread Korbinian Bachl
Hi, i just wanted to have a look at it but im somehow stuck. First I wanted to get it from src so I checked out the wicketwebbeans-examples from trunk and did: mvn install error: GroupId: net.sourceforge.wicketwebbeans.parent ArtifactId: WicketWebBeans-parent Version: 1.0-SNAPSHOT Reason:

Re: wicket bench 0.5.0

2008-01-06 Thread Ryan Sonnek
excellent work! I've been anxiously waiting for this release. It's been tough to live without this plugin since I've been working with 1.3 for so long. On Jan 6, 2008 10:20 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: Thanks for keep working on this! Eelco On Jan 6, 2008 7:57 PM, Joni

Re: wicket bench 0.5.0

2008-01-06 Thread Jonathan Locke
thanks! looks sweet. does it work with eclipse 3.4m4? Joni Freeman wrote: Hello! There's a new version of a plugin: http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench This is mostly a maintenance release: Eclipse 3.3 support and Wicket dependency is updated to be 1.3.

Re: wicket bench 0.5.0

2008-01-06 Thread Joni Freeman
Hi, I'm still on 3.3 series and haven't tried 3.4m4. The plugin uses some internal eclipse APIs (like refactoring support) and those features may break between Eclipse releases. Joni On Sun, 2008-01-06 at 10:24 -0800, Jonathan Locke wrote: thanks! looks sweet. does it work with eclipse

Wicket copies my object!

2008-01-06 Thread Edvin Syse
Hi, I have a WebPage which defines a private variable, and then a Model that wraps the variable. I then pass this variable around to other webpages in their constructor. In one particular page where I open a ModalWindow and manipulate data in the modelobject, it seems that a copy is beeing

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
That might be related to SecondLevelCacheSessionStore, what exact wicket version are you using? -Matej On Jan 6, 2008 8:42 PM, Edvin Syse [EMAIL PROTECTED] wrote: Hi, I have a WebPage which defines a private variable, and then a Model that wraps the variable. I then pass this variable

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
That might be related to SecondLevelCacheSessionStore, what exact wicket version are you using? I'm using 1.3 final. If you can point me to a prior version that wouldn't have this problem, I could update my pom and check? -- Edvin

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
Did some more digging - rc1 and rc2 have the same problem, but it seems to go away with beta3. Were there any significant changes to the SecondLevelCacheSessionStore between beta3 and rc1? -- Edvin Edvin Syse skrev: That might be related to SecondLevelCacheSessionStore, what exact wicket

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
Not that I know about. Could you please create a JIRA entry and attach a testcase? -Matej On Jan 6, 2008 9:07 PM, Edvin Syse [EMAIL PROTECTED] wrote: Did some more digging - rc1 and rc2 have the same problem, but it seems to go away with beta3. Were there any significant changes to the

Re: Wicket copies my object!

2008-01-06 Thread Martijn Dashorst
we switched from the httpstore to file/diskstore iirc. On Jan 6, 2008 9:24 PM, Matej Knopp [EMAIL PROTECTED] wrote: Not that I know about. Could you please create a JIRA entry and attach a testcase? -Matej On Jan 6, 2008 9:07 PM, Edvin Syse [EMAIL PROTECTED] wrote: Did some more digging

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
we switched from the httpstore to file/diskstore iirc. Aha! I reverted my pom to 1.3 final and switched to the HttpSessionStore, and the problem went away. I'll take a quick peek at the sourcecode for the SecondLevelCacheSessionStore before I create a testcase, since the testcase would

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
On Jan 6, 2008 9:53 PM, Edvin Syse [EMAIL PROTECTED] wrote: we switched from the httpstore to file/diskstore iirc. Actually, we switched to FilePageStore to DiskPageStore. HttpSessionStore isn't the default in any 1.3 release. Aha! I reverted my pom to 1.3 final and switched to the

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
I'll take a quick peek at the sourcecode for the SecondLevelCacheSessionStore before I create a testcase, since the testcase would include quite a bit of code.. Checked it out, and I think the problem is with the versionhandling in SecondLevelCachePageVersionManager, but I'm not smart enough

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
The thing is, switching to HttpSessionStore is a temporary solution at best. There are known issues with HttpSessionStore and backbutton which SecondLevelCacheSessionStore solves. -Matej On Jan 6, 2008 9:59 PM, Edvin Syse [EMAIL PROTECTED] wrote: I'll take a quick peek at the sourcecode for

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
The thing is, switching to HttpSessionStore is a temporary solution at best. There are known issues with HttpSessionStore and backbutton which SecondLevelCacheSessionStore solves. Arghfl :/ Are there any other viable alternatives I can use in the meantime so I can deploy now? :) -- Edvin

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
You might try switching diskpagestore to filepagestore, e.g. return new SecondLevelCacheSessionStore(new FilePageStore()); and see if that helps. -Matej On Jan 6, 2008 10:04 PM, Edvin Syse [EMAIL PROTECTED] wrote: The thing is, switching to HttpSessionStore is a temporary solution at best.

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
You might try switching diskpagestore to filepagestore, e.g. return new SecondLevelCacheSessionStore(new FilePageStore()); and see if that helps. -Matej I can't find a FilePageStore, is it SimpleSynchronousFilePageStore? -- Edvin

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
That's too bad, looks like the store has been removed already. I wasn't aware of that. You can try SimpleSynchronousFilePageStore, but only to see if that helps your problem. and also you might want to try running DiskPageStore in synchronous mode, new DiskPageStore() { protected boolean

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
You might try switching diskpagestore to filepagestore, e.g. return new SecondLevelCacheSessionStore(new FilePageStore()); and see if that helps. -Matej I tried: return new SecondLevelCacheSessionStore(this, new SimpleSynchronousFilePageStore()); That reintroduces the bug, so it seems the

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
Matej Knopp skrev: That's too bad, looks like the store has been removed already. I wasn't aware of that. You can try SimpleSynchronousFilePageStore, but only to see if that helps your problem. and also you might want to try running DiskPageStore in synchronous mode, new DiskPageStore() {

Google to host the London Wicket Event ...

2008-01-06 Thread jweekend
I am pleased to announce that our next monthly London Wicket Users Group event (February 6) will be generously hosted by Google (close to Victoria Station). Special thanks go to http://herebebeasties.com/ Al Maw for arranging this - he even mentioned something about sandwiches (tbc). Full

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
I'm trying to create a testcase and have a question: Is it likely that the complexity of the object has anything to do with wether the bug appears or not? The object in the real app has a list of objects as one of the properties.. -- Edvin Edvin Syse skrev: Matej Knopp skrev: That's too

Re: Wicket copies my object!

2008-01-06 Thread Johan Compagner
This is not going to work yes. I also mentioned this in the presentation i gave in amsterdam at the wicket meeting. You cant have shared variables between pages and expect those to be always shared and the same instance. This will not work with the SLC because we serrialize the pages per page. So

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
This is not going to work yes. I also mentioned this in the presentation i gave in amsterdam at the wicket meeting. You cant have shared variables between pages and expect those to be always shared and the same instance. This will not work with the SLC because we serrialize the pages per page. So

Re: Wicket copies my object!

2008-01-06 Thread Johan Compagner
Yes that will work also (using the session for that) Pagemaps are simple to use jmust create a page with the PageMap arg constructor. Then that page is created and stored in that pagmap and wont push the opener page out of the default pagmap. See PageMap.forNam() On 1/6/08, Edvin Syse [EMAIL

Re: WicketWebBeans

2008-01-06 Thread Dan Syrstad
You need to check out the entire trunk, not just wicketwebbeans-examples. The examples rely on the parent maven project. When using the .war file, the URL you need to use is: 127.0.0.1:8080/wicketwebbeans-examples/WebBeans See http://wicketwebbeans.sourceforge.net/wiki-html/RunningSamples.html

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
Erm. Wrong. This should work. All that ugly serialization magic we have is there so this works. So that you always have and update the latest page version no matter what you do. Unforunately there seem to be a regression. I'm working on it right now. -Matej On Jan 6, 2008 10:42 PM, Johan

TabbedPanel sidebar question

2008-01-06 Thread Fernando Wermus
Dears all, I have use the tabbed panel for a menu and a sub menu fine. I have a new need for the sub tabbedPanel menu. This subpanel is a sidebar and it is rendering in the nested wicket div, but I need to be rendered in another tag, the content div tag, which is not nested in the

Re: TabbedPanel sidebar question

2008-01-06 Thread Igor Vaynberg
you can subclass tabbedpanel and override the default markup it uses by providing your own .html file. the only thing to watch out is that the nesting of wicket:ids matches between the two html files. -igor On Jan 6, 2008 2:54 PM, Fernando Wermus [EMAIL PROTECTED] wrote: Dears all,

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
Wow. Page.readResolve is not called, at least not on JDK6. When I modify the access modifier to public instead of private, suddenly it's called. But the serialization specification says it can have any access modifier. I've commited the fix to current trunk, any chance you can build wicket from

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
Wow. Page.readResolve is not called, at least not on JDK6. When I modify the access modifier to public instead of private, suddenly it's called. But the serialization specification says it can have any access modifier. I've commited the fix to current trunk, any chance you can build wicket from

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
Wow. Page.readResolve is not called, at least not on JDK6. When I modify the access modifier to public instead of private, suddenly it's called. But the serialization specification says it can have any access modifier. I've commited the fix to current trunk, any chance you can build wicket from

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
That's too bad, as it works as it's supposed for me now. I would really need to see some code. Do you pass object reference from pageA to pageB, or the entire pageA? because if you have situation like this: pageA holds reference to objectX pageA passes reference to objectX to pageB pageB

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
Wicket detects inter-page references and makes sure that when page b gets serialized, it also serializes page a instance. Anyway, just having the reference might not be enough. Safest approach is to use pageA reference to get the data. e.g. instead of passing the data to pageb, pass pagea and

Re: Wicket copies my object!

2008-01-06 Thread Matej Knopp
On Jan 7, 2008 1:57 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: No it serializes the page and the object in one file... so the references keep connected. Martijn Actually, not quite. When pageB has reference to pageA and pageB is being serialized, it serializes pageB and pageA separately. So

Re: Wicket copies my object!

2008-01-06 Thread Edvin Syse
Wicket detects inter-page references and makes sure that when page b gets serialized, it also serializes page a instance. Anyway, just having the reference might not be enough. Safest approach is to use pageA reference to get the data. Hehe.. Just hit that one as well. I created an interface

consistent layout ( layout manager )

2008-01-06 Thread Danilo Barsotti
Hi all! I have a question about how to create a consistent layout with wicket. now I have a index class and all other classes extends it. code public class Index extends WebPage { private static final long serialVersionUID = 1L; protected String getName(){ return Title here;

Re: Wicket in Action

2008-01-06 Thread Robby O'Connor
I just got an email like yesterday. Ch 9 and 10. -rob David Leangen wrote: Hi! Anybody know what's going on with WIA? I haven't received a notification from MEAP in a long time. Any new updates planned soon?

Re: Is it possible to use wicket without having any html page?

2008-01-06 Thread Nino Saturnino Martinez Vazquez Wael
I agree on what you guys say, but theres also the chance legolas dont know every tip of the framework. And just wanted to know about panels or markup inheritance... People doesnt always know how to ask a question if they arent familiar with the framework. An so sometimes questions just come

Re: Wicket in Action

2008-01-06 Thread David Leangen
Ok, thanks! Guess something's wrong with my registration, then. Cheers, David On Sun, 2008-01-06 at 22:53 -0500, Robby O'Connor wrote: I just got an email like yesterday. Ch 9 and 10. -rob David Leangen wrote: Hi! Anybody know what's going on with WIA? I haven't received a