Re: Register feedback messages

2010-12-08 Thread Thomas Götz
Hi, please see https://issues.apache.org/jira/browse/WICKET-2986 -Tom Stefan Droog wrote: Hi, Just to be curious: Does someone know why the error method has another signature than the info/fatal/final methods? And why don't they except IModelString objects instead of

http post return page

2010-12-08 Thread Java Programmer
Hello, Is it possible to get http POST variables which are send to Wicket page from external page? My case is similar to PayPal return url, but company which operate the payment, send some important data as POST variables, and I need to extract them in Wicket. When I tried to do it normal way as

Re: http post return page

2010-12-08 Thread Martin Makundi
Did you try ((WebRequest) getRequest()).getParameters(key) 2010/12/8 Java Programmer jprogrami...@gmail.com: Hello, Is it possible to get http POST variables which are send to Wicket page from external page? My case is similar to PayPal return url, but company which operate the payment, send

Re: http post return page

2010-12-08 Thread Java Programmer
On Wed, Dec 8, 2010 at 2:18 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Did you try ((WebRequest) getRequest()).getParameters(key) Thanks, it's working and it's exactly what I need. -- Best regards, Adrian -

Re: Multiple wicket applications in a single WAR

2010-12-08 Thread fstof
BUMP... Anyone? we run wicket 1.4.9 fstof wrote: Hi I have a web app where clients can log in as well as third party users. To do this I implemented 2 wicket applications (both extending AuthenticatedWebApplication) to keep the authentication and sessions separate from each

Re: Multiple wicket applications in a single WAR

2010-12-08 Thread Igor Vaynberg
impossible to help you since you have given us no information to go on. all i can say is that having multiple applications in a single war is fine, this is how wicket-examples project is structured and it works fine. good luck. -igor On Wed, Dec 8, 2010 at 3:38 PM, fstof

SV: Multiple wicket applications in a single WAR

2010-12-08 Thread Wilhelmsen Tor Iver
BUMP... Anyone? we run wicket 1.4.9 Any reason you use WicketServlet instead of WicketFilter? We use multiple apps in a war and that works fine in the filter case. In fact it seems that WicketServlet delegates to an internal WicketFilter anyway... - Tor Iver

Re: Multiple wicket applications in a single WAR

2010-12-08 Thread fstof
Okay well I've given everything that I can. Please tell me what you need to be able to assist, and I'll do my best to get it for you Igor Vaynberg-2 wrote: impossible to help you since you have given us no information to go on. all i can say is that having multiple applications in a

Re: File upload with inner form and modal window

2010-12-08 Thread Zilvinas Vilutis
Please use pastebin.com or similar for paste'ing code :) Regards Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Tue, Dec 7, 2010 at 12:56 PM, Cédric Thiébault cedric.thieba...@gmail.com wrote: You're right, it works :-) So if I understand, all request will be

Re: SV: Multiple wicket applications in a single WAR

2010-12-08 Thread fstof
That is what I noticed when I looked at the code, so I cant really tell why that could be an issue We are using WicketServlet because WebSphere 6.1 has issues with the filter (not 100% sure what the issue is, but it does not work with the filter) Wilhelmsen Tor Iver wrote: Any reason you

Re: Multiple wicket applications in a single WAR

2010-12-08 Thread Igor Vaynberg
a reproducible test case :) -igor On Wed, Dec 8, 2010 at 3:53 PM, fstof frans.stofb...@gmail.com wrote: Okay well I've given everything that I can. Please tell me what you need to be able to assist, and I'll do my best to get it for you Igor Vaynberg-2 wrote: impossible to help you

Re: SV: Multiple wicket applications in a single WAR

2010-12-08 Thread Zilvinas Vilutis
1. No one will steal your non-working code - that's for sure :) 2. Try to explain the scenario in more details. Are you using Spring Security or just wicket? What brings you to the app after login - component.continueToOriginalDestination() ? Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:  

UploadProgressBar alternative that supports Chrome and Safari?

2010-12-08 Thread Wayne W
Hi, I just want to check that there isn't an alternative out there already that someone has done that supports webkit browsers? We're finding nearly 20% of our users now are on these browsers so we must support them better, hence why we're looking at alternatives. If not we'll have to write

Re: DatePicker to pick a year

2010-12-08 Thread Anna Simbirtsev
It is a pure Date. On Tue, Dec 7, 2010 at 9:24 PM, nivs shravann...@gmail.com wrote: Hi If your getting the date format error from the Model side and it is expecting a timestamp , then you might get that issue. Are you using a TimeStamp field or pure date? If I wanted only to store date

Re: SV: Multiple wicket applications in a single WAR

2010-12-08 Thread fstof
Igor Vaynberg-2 wrote: a reproducible test case :) -igor If I could reproduce it I'm pretty sure I would have been able to solve it :) The thing is It happens like once a week, and we have not seen it happen in any of our DEV/PRE environments Zilvinas Vilutis wrote: 1. No

Re: UploadProgressBar alternative that supports Chrome and Safari?

2010-12-08 Thread Martin Grigorov
On Wed, Dec 8, 2010 at 3:18 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, I just want to check that there isn't an alternative out there already that someone has done that supports webkit browsers? We're finding nearly 20% of our users now are on these browsers so we must support them

Re: UploadProgressBar alternative that supports Chrome and Safari?

2010-12-08 Thread Zilvinas Vilutis
I use this AJAX uploader: http://valums.com/ajax-upload/ Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:   cika...@gmail.com On Wed, Dec 8, 2010 at 7:46 AM, Martin Grigorov mgrigo...@apache.org wrote: On Wed, Dec 8, 2010 at 3:18 PM, Wayne W waynemailingli...@gmail.com wrote: Hi, I

Re: UploadProgressBar alternative that supports Chrome and Safari?

2010-12-08 Thread Wayne W
Wow thanks Zilvnas - that looks great. How on earth does it calculate the progress? very clever. On Wed, Dec 8, 2010 at 4:08 PM, Zilvinas Vilutis cika...@gmail.com wrote: I use this AJAX uploader: http://valums.com/ajax-upload/ Žilvinas Vilutis Mobile:   (+370) 652 38353 E-mail:  

Re: Component wiring mess in 'HomePage'

2010-12-08 Thread Peter Karich
Hi all, sorry, maybe I didn't explain my problem very well. I am trying it again. I am using exactly this stub-method approach for all my panels. But in HomePage I am wiring all those panels together to use them. I appended** an example, where the onTagClick method is overriden in

Re: Component wiring mess in 'HomePage'

2010-12-08 Thread Jeremy Thomerson
On Wed, Dec 8, 2010 at 10:27 AM, Peter Karich peat...@yahoo.de wrote:  Hi all, sorry, maybe I didn't explain my problem very well. I am trying it again. I am using exactly this stub-method approach for all my panels. But in HomePage I am wiring all those panels together to use them. I

Re: Component wiring mess in 'HomePage'

2010-12-08 Thread James Carman
On Wed, Dec 8, 2010 at 11:41 AM, Jeremy Thomerson jer...@wickettraining.com wrote: So, to make that shorter, use the listener approach suggested further up in the thread.  Like: Slight correction, it was the listenery approach. :)

Re: Component wiring mess in 'HomePage'

2010-12-08 Thread Peter Karich
Am 08.12.2010 17:48, schrieb James Carman: On Wed, Dec 8, 2010 at 11:41 AM, Jeremy Thomerson jer...@wickettraining.com wrote: So, to make that shorter, use the listener approach suggested further up in the thread. Like: Slight correction, it was the listenery approach. :) yeah :-) I

user sees page belonging to another session

2010-12-08 Thread Jason Lea
Hi, We have wicket 1.4.12 on our site at the moment, and over the last few weeks we had occasional reports of users seeing pages that belonged to another user (eg when logged in, the username on the page was for another user). The panel that displays the username was using a property model

Re: Component wiring mess in 'HomePage'

2010-12-08 Thread Hans Lesmeister
Hi, Maybe consider something like this: interface ClickController { void click(); } class YourPage extends WebPage { protected void onInitialize() { ClickController clickController = new ClickController() { void click() { doSomething(); } } }

Re: Component wiring mess in 'HomePage'

2010-12-08 Thread Jeremy Thomerson
On Wed, Dec 8, 2010 at 1:39 PM, Peter Karich peat...@yahoo.de wrote: the MyFooListener needs to be implemented somewhere in HomePage, right? If you do it as an anonymous inner class. Or do you mean that I will have a separate class for each listener passing in the necessary references ala:

Re: Best Pattern for Admin Pages and User Pages

2010-12-08 Thread Benedikt Schlegel
2010/12/6 Altuğ Bilgin Altıntaş alt...@gmail.com: You can add css object programatically. https://cwiki.apache.org/WICKET/including-css-resources.html altug I have to mention that switching off admin functionality by just adding a css attribute (like display: none) is not secure. You

Re: UploadProgressBar alternative that supports Chrome and Safari?

2010-12-08 Thread Vit Rozkovec
Hi Žilvinas, would you mind to share some code how to wire this uploader to wicket? Thanks for the link. Vit On 12/08/2010 04:08 PM, Zilvinas Vilutis wrote: I use this AJAX uploader: http://valums.com/ajax-upload/ Žilvinas Vilutis Mobile: (+370) 652 38353 E-mail: cika...@gmail.com

Re: Form Validations

2010-12-08 Thread notcourage
FeedbackLabel.onBeforeRender calls setModel(IModel) but wicket 1.4 doesn't seem to have this method. protected void onBeforeRender() { super.onBeforeRender(); this.setModel(null); if(component.getFeedbackMessage()!=null){ if(this.text!=null){

Re: Form Validations

2010-12-08 Thread notcourage
Nevermind--I see that setModel is now setDefaultModel. See article comments: http://stuq.nl/weblog/2008-09-03/user-friendly-form-validation-with-wicket -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Form-Validations-tp1879918p3079482.html Sent from the Users forum

Re: user sees page belonging to another session

2010-12-08 Thread Igor Vaynberg
in my experience all these session leaks have usually been caused by bugs in user code - such as using a singleton to store some state. however, once you can give us a test case that reproduces this we will be happy to fix it. -igor On Wed, Dec 8, 2010 at 9:44 PM, Jason Lea ja...@kumachan.net.nz

Re: howto track translations

2010-12-08 Thread Vijay Kiran
I created a simple maven plugin to check the localizations in the properties files in a project. The plugin scans the folders for .properties file and verifies if there are corresponding files for the specified locales. Also, it checks for the missing labels in other languages. The results can