Re: Second Level Cache

2007-11-18 Thread Eelco Hillenius
hmmm..so correct me if its not the right understanding..i.e. the only time wicket would be fetching the older page versions is when a user hit the back button and clicks on a link (or submit a form) from that previous page, and with that whatever page-version those links/forms were linked to

Re: double form submission handling ?

2007-11-18 Thread Eelco Hillenius
Yet another question... Does wicket handles double form submission in anyway ? like if the user clicks the back button where the previous page was a result of a form submission, which could result in double form submission..OR otherwise refreshes that page.. Yes, Wicket by default uses the

Re: double form submission handling ?

2007-11-18 Thread Johan Compagner
But a user can click the back button to go to the previous page with the form and submit it again, but that isn't something wicket should prevent. Because that could be valid for that application, a user submit something then sees it made a mistake, presses back, corrects it and submit again..

Re: Thanks, but I can't get this to work...

2007-11-18 Thread Johan Compagner
Wat you could try to do is make that markup container a transparantresolver. Then the components can be added to the page itself 2007/11/18, nlif [EMAIL PROTECTED]: I tried adding an attributeModifier to the Page class, and it doesn't work (the dir attribute is not added to the html element).

Thanks, but I can't get this to work...

2007-11-18 Thread nlif
I tried adding an attributeModifier to the Page class, and it doesn't work (the dir attribute is not added to the html element). I then tried creating a WebMarkupContainer (and adding wicket:id to the html element in my html file), but this throws an exception. I think it's because I did it in

Re: Border component - naming

2007-11-18 Thread Johan Compagner
Thats why we also have IcomponentBorder, because thats like a swing border, you add that border to a component instead the other way around 2007/11/16, Stefan Simik [EMAIL PROTECTED]: thanks for your response igor, yes, you are right, i understand, that in the output html border wraps its

Spring bean in session with annotation

2007-11-18 Thread Hugues Pichereau
I've successfully implemented Spring injection in *pages*, using annotations from the wicket-spring-annot jar. But when I try to inject a bean in the *session* class: public class WkSession extends AuthenticatedWebSession { @SpringBean private UserService userService; // getter /

Re: double form submission handling ?

2007-11-18 Thread Eelco Hillenius
On Nov 18, 2007 2:55 AM, mfs [EMAIL PROTECTED] wrote: Yeah that scenario still makes sense where the user goes to the form page itself, but i was refering to the scenario where the user goes to the page (with the back button) which got shown after form submission, as in that case the browser

Re: IOC problem

2007-11-18 Thread Al Maw
Uwe Schäfer wrote: Is it currently impossible to use constructor injection ? To quickly answer my own question: no, but little tricky! :) Well, you need to replace instances of new FooComponent() with something that gets injected, like a ProviderFoo if you're using Guice, or some kind of

Re: double form submission handling ?

2007-11-18 Thread mfs
Yeah that scenario still makes sense where the user goes to the form page itself, but i was refering to the scenario where the user goes to the page (with the back button) which got shown after form submission, as in that case the browser would be submitting the request to the server (implicitly

Re: Spring bean in session with annotation

2007-11-18 Thread Hugues Pichereau
Yes, I just found it in the Javadoc of SpringComponentInjector, and was about to post it, but you have been faster! Anyway, thank you. Best regards, Hugues Timo Rantalaiho wrote: On Sun, 18 Nov 2007, Hugues Pichereau wrote: I've successfully implemented Spring injection in *pages*, using

Re: Seam Integration and Injection

2007-11-18 Thread Frank Martínez
Hi Igor and Eelco, I studied wicket-seam code and i understand its injection pattern pretty well. But i want to implement the seam integration by other approach because there are some special things: 1. With SeamProxyTargetLocator is not possible to inject null values. 2. in

Re: Wicket-Seam Desired Architecture

2007-11-18 Thread Frank Martínez
The image is: http://www.ibstaff.net/fmartinez/wp-content/uploads/2007/11/arch.jpg On Nov 18, 2007 10:46 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Attachments are filtered. Please upload to a server (for example http://papernapkin.org/pastebin/) and provide a link. Martijn On Nov 18,

Re: Wicket-Seam Desired Architecture

2007-11-18 Thread Martijn Dashorst
Attachments are filtered. Please upload to a server (for example http://papernapkin.org/pastebin/) and provide a link. Martijn On Nov 18, 2007 4:39 PM, Frank Martínez [EMAIL PROTECTED] wrote: Hi All, This (Attached image) is my vision of the Wicket-Seam Integration. I am working on it and i

SOLVED Re: .properties files question

2007-11-18 Thread dtoffe
I've found what I wanted in \test\java\org\apache\wicket\properties Cheers, Daniel dtoffe wrote: Hi ! Can I put arbitrary (I mean, not mapped to components) properties in my own subclass of WebApplication, or I have to put them in another place ? How should I load them ?

.properties files question

2007-11-18 Thread dtoffe
Hi ! Can I put arbitrary (I mean, not mapped to components) properties in my own subclass of WebApplication, or I have to put them in another place ? How should I load them ? Should I use java.util.Properties, or the wicket flavour ? I've been looking at the code of Properties,

Re: Wicket behind a front-end proxy

2007-11-18 Thread Niels Bo
Hi Murat! If you are running behind a WebSeal proxy, just configure the junction as transparent and deploy your application with the same context-root as the junction name. Then you can run like: myserver1.xxx.com:80/myapp1 - localhost:8080/myapp1 The transparent setting means that the proxy

Session.bind() in newSession()

2007-11-18 Thread Niels Bo
Hi I am setting locale and a userid to my custom Session in the application.newSession() method (the information comes from a front end proxy), and this works fine under Jetty, but I get this nullpointer exception under WebLogic. Is that the wrong place to call bind()?

Re: Seam Integration and Injection

2007-11-18 Thread Igor Vaynberg
its possible, you just have to figure out how to do it :) -igor On Nov 18, 2007 5:23 AM, Frank Martínez [EMAIL PROTECTED] wrote: Hi Igor and Eelco, I studied wicket-seam code and i understand its injection pattern pretty well. But i want to implement the seam integration by other approach

Re: .properties files question

2007-11-18 Thread Igor Vaynberg
just use Properties, thats what its for... no need for anything wicket-related here -igor On Nov 18, 2007 9:46 AM, dtoffe [EMAIL PROTECTED] wrote: Hi ! Can I put arbitrary (I mean, not mapped to components) properties in my own subclass of WebApplication, or I have to put them in

Re: Seam Integration and Injection

2007-11-18 Thread Eelco Hillenius
Hi Igor and Eelco, I studied wicket-seam code and i understand its injection pattern pretty well. But i want to implement the seam integration by other approach because there are some special things: 1. With SeamProxyTargetLocator is not possible to inject null values. 2. in

Re: .properties files question

2007-11-18 Thread dtoffe
Thanks for your help ! Cheers, Daniel igor.vaynberg wrote: just use Properties, thats what its for... no need for anything wicket-related here -igor On Nov 18, 2007 9:46 AM, dtoffe [EMAIL PROTECTED] wrote: Hi ! Can I put arbitrary (I mean, not mapped to components)

Re: Wicket-Seam Desired Architecture

2007-11-18 Thread Eelco Hillenius
On Nov 18, 2007 7:51 AM, Frank Martínez [EMAIL PROTECTED] wrote: The image is: http://www.ibstaff.net/fmartinez/wp-content/uploads/2007/11/arch.jpg Looks fine, but it doesn't tell me much about how it would be implemented. I prefer to talk code :-) Eelco

Deployment mode Javascript error

2007-11-18 Thread John Patterson
Hello users, I am in the process of deploying a wicket site and found that the cool scriptalicious effect I am using does not work when I am in Deployment mode. In the Safari console it shows: SyntaxError: Parse error http://www.blahblah.com/resources/

Re: Deployment mode Javascript error

2007-11-18 Thread Frank Bille
The easy solution is to disable javascript cleanup: INIT: getResourceSettings().setStripJavascriptCommentsAndWhitespace(false); I have been too lazy to actually try to fix the problem, I'm afraid. Frank On Nov 19, 2007 7:21 AM, John Patterson [EMAIL PROTECTED] wrote: Hello users, I am in