Re: Redirected after BrowserInfoPage and mounted Pages.

2007-08-28 Thread Eelco Hillenius
This was a bug. See WICKET-896. Thanks for reporting, it is fixed now. Eelco On 8/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Short description :- When using mounted pages, wicket redirects to wrong URL, after BrowserInfoPage, which is called by Session.get().getClientInfo(), when

Re: NullPointerException when resolving a class

2007-08-28 Thread Eelco Hillenius
I am trying to upgrade to wicket 1.3. I was running 1.2.6 with no problems. When trying to resolve the class for this markup: bundleresource://88/com/company/package/MyClass$WelcomeLabel.html in MarkupResourceStream, the method: public Class getMarkupClass() { return

Re: DownloadLink hanging

2007-08-28 Thread Thomas Singer
you will be creating a ton of shared resources - one per file which isnt the greatest Why you think it is not good? We don't have too much available files ( 20). Would it be better to give each file resource a unique name instead of the empty string? while being a bit more secure iin terms

Re: conditional markup change with AjaxEditableLabel

2007-08-28 Thread Eelco Hillenius
On 8/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, i am using a subclass of AjaxEditableLabel. This one works fine so far but I have one Problem. If the value of the label is 0 the markup should change. I tried it this way with no effect. public class MyAjaxEditableLabel extends

Re: Using ClientProperties Object for User selectable Timezone.

2007-08-28 Thread Eelco Hillenius
On 8/21/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Currently ClientProperties object has a getTimeZone() method, that uses BrowserInfoPage's response, to calculate a client's Timezone. Would it be too much trouble to add a setTimeZone() method, so that the TimeZone property is user

Re: What's the minimum dependence of Wicket 1.3 beta2?

2007-08-28 Thread Martijn Dashorst
On 8/28/07, Jan Kriesten [EMAIL PROTECTED] wrote: so, when someone asks a question on dependencies, i find it somewhat 'rude' to just come in with a comment suggesting 'maven can tell it, read the maven docs and you'll understand all this'... There are not many hours in a day that I can help

Re: {wicket 1.3 beta 2} AjaxFormComponentUpdatingBehavior broken?

2007-08-28 Thread Nino Saturnino Martinez Vazquez Wael
Ok, point taken and noted... regards Nino Igor Vaynberg wrote: my point was and still is: use a debugger to see where the problem is. if the debugger takes you deep into the bowles of wicket then its fine - probably a wicket problem. but if the debugger takes you into your own equals method,

Re: Listview / input components repaint via ajax?

2007-08-28 Thread Nino Saturnino Martinez Vazquez Wael
Hmm just added AjaxFormComponentUpdatingBehavior to my text fields, this works nicely.. But your help pointed me the correct way. regards Nino fero wrote: Of course they are cleared, because data form textfield is transfered to model only if submited with submit button. If u repaint the

Re: JS space pollution in wicket-extensions

2007-08-28 Thread Alex Objelean
JIRA issue created: https://issues.apache.org/jira/browse/WICKET-898 WICKET-898 Frank Bille-2 wrote: I guess most of us share your view on this. But these things has evolved. wicket-ajax.js also started as some simple functions. If you create an issue for it in JIRA, we have it so we

Re: WicketSessionFilter

2007-08-28 Thread Eelco Hillenius
On 8/25/07, Nick Ward [EMAIL PROTECTED] wrote: I want to have a separate servlet to go along with my wicket application that can serve streaming files. However, it needs to have access to the wicket session to know what to stream. I was thinking about using a WicketSessionFilter to help me do

Re: JS space pollution in wicket-extensions

2007-08-28 Thread Alex Objelean
JIRA issue created: https://issues.apache.org/jira/browse/WICKET-898 WICKET-898 Frank Bille-2 wrote: I guess most of us share your view on this. But these things has evolved. wicket-ajax.js also started as some simple functions. If you create an issue for it in JIRA, we have it so we

Re: Listview / input components repaint via ajax?

2007-08-28 Thread Nino Saturnino Martinez Vazquez Wael
Jep, I sorta thought that it wouldnt make sense for it to call removeAll... regards Nino Eelco Hillenius wrote: I have a listview in a panel. I have a ajax link to add items to the list. When I click the link the listview are repainted, because I have it in the markupcontainer just as it

Re: What's the minimum dependence of Wicket 1.3 beta2?

2007-08-28 Thread Jan Kriesten
hi martijn, don't get that easily offended - i didn't mean to. i'm well aware that you haven't to spent all the many hours of your time developing wicket and helping people out. and that you do i really appreciate! Think about it before you claim that an answer is not helpful next time. the

Re: wicket contrib yui

2007-08-28 Thread Eelco Hillenius
On 8/27/07, James McLaughlin [EMAIL PROTECTED] wrote: Yes there is. I haven't had much time to see what the impact of the change would be, but I set up YuiHeaderContributor to be able to select versions. If you have the time and inclination, you can setup the 2.3.0 library under

Panel/Localizer issue

2007-08-28 Thread Edvin Syse
Hi, When I instantiate a Panel that does getLocalizer().getString() in the constructor, I obviously get the errormessage: WARN [Localizer] Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized

Re: Re[2]: Alternative to Wicket data binding

2007-08-28 Thread Kent Tong
igor.vaynberg wrote: i really dont think this is breaking encapsulation. i will concede that there is one case where it can break encapsulation and that is when you start out with what is publically accessible and then later you change your mind and make it completely private, but forget

Re: Panel/Localizer issue

2007-08-28 Thread Matej Knopp
You should use ResourceModel for this, it does the localization/message lookup for you. -Matej On 8/28/07, Edvin Syse [EMAIL PROTECTED] wrote: Hi, When I instantiate a Panel that does getLocalizer().getString() in the constructor, I obviously get the errormessage: WARN [Localizer] Tried

Re: Panel/Localizer issue

2007-08-28 Thread Edvin Syse
Thank you! That both solved the problem and made my code cleaner :) -- Edvin Matej Knopp wrote: You should use ResourceModel for this, it does the localization/message lookup for you. -Matej On 8/28/07, Edvin Syse [EMAIL PROTECTED] wrote: Hi, When I instantiate a Panel that does

Re: [Wicket-user] suggestion: have Wicket SVN searchable with FishEye

2007-08-28 Thread Gerolf Seitz
On 7/3/07, Igor Vaynberg [EMAIL PROTECTED] wrote: On 7/2/07, Eelco Hillenius [EMAIL PROTECTED] wrote: However, I still would not support setting up Fisheye against an Apache SVN without infrastructure's support as they are the ones that would have to pick up the pieces if it were

Re: [Wicket-user] suggestion: have Wicket SVN searchable with FishEye

2007-08-28 Thread Martijn Dashorst
I've monitored #infra and fisheye is not very popular. It is one of those things that adds a lot of load to the apache systems. Note that we're not against, nor is infra per se. The additional load is caused by indexing the repository by fisheye. There has been talk about making repositories

Re: RepeatingView : Removing a table row

2007-08-28 Thread Carlos Pita
See if this helps. I think your code is overly complicated. The attached example adds books to a listview and also allows to remove selected ones. Regards, Carlos On 8/27/07, pokkie [EMAIL PROTECTED] wrote: Carlos, I kind of got the code to work, but it doesn't feel right. Any help would

Propagating user context to the business layer

2007-08-28 Thread Huergo Perez
Hi All, I have a user context stored in a Wicket session with all required user information (username, roles, etc. -- put in the session upon user log in). I need to make the user context available to my business layer via a thread-local variable. That is, I need to put it in a thread-local

Re: Propagating user context to the business layer

2007-08-28 Thread Matej Knopp
You can extend RequestCycle and do that in onEndRequest. To use custom request cycle class override Application.newRequestCycle(final Request request, final Response response); -Matej On 8/28/07, Huergo Perez [EMAIL PROTECTED] wrote: Hi All, I have a user context stored in a Wicket session

Re: Migration to Wicket 1.3

2007-08-28 Thread Matej Knopp
The validators work a bit differently in 1.3 you need to use the error(IValidationError error) on IValidatable inside your IValidator.validate(IValidatable validatable); as IValidationError you can use the convenience class ValidationError. e.g. ValidationError error = new ValidationError();

Migration to Wicket 1.3

2007-08-28 Thread dzenanr
I have almost done the migration of my web applications to Wicket 1.3. I have read on the Wiki all about the migration and I have consulted the Javadoc. The only thing that I am not sure how to do is a display of form validation errors using FeedbackPanel. In Wicket 1.2, the validation errors

Re: DownloadLink hanging

2007-08-28 Thread Igor Vaynberg
see all these kinds of questions start coming up, that is why download link is made the way it is. you have none of these worries and it is very secure by default. so i think when it comes to these issues what i will be concentrating on is making downloadlink not block. whether it will be for 1.3

Re: Migration to Wicket 1.3

2007-08-28 Thread dzenanr
I have done the following in my form and still no error messages displayed (key is a String parameter): ValidationError validationError = new ValidationError(); validationError.addMessageKey(key); error(validationError); Even in something simple as required text field, where all work is done by

Wicket at Apachecon (US)

2007-08-28 Thread Ryan Sonnek
Are there any plans for wicket presentations at the upcoming apachecon? I'm trying to decide if it's worth my time to go, and any wicket related presentations or BOF speakers would probably tip the scale for me.

Setting font for ModalWindow title bar

2007-08-28 Thread Bernhard
Hello, is it possbile to change the font for the title bar of a ModalWindow? Many thanks Bernhard --- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Migration to Wicket 1.3

2007-08-28 Thread Igor Vaynberg
how about a quickstart that reproduces this -igor On 8/28/07, dzenanr [EMAIL PROTECTED] wrote: I have done the following in my form and still no error messages displayed (key is a String parameter): ValidationError validationError = new ValidationError();

Re: wicket contrib yui

2007-08-28 Thread Korbinian Bachl
Hi James, i checked out of svn today and changed yui to 2.3.0 - at first, all seemed ok, but when looking closer its a bit irritating. In 2.2 you seem to have to attach much JS files to the header, while in 2.3.0 1 (the loader) is enough (as far as I understood it). This means, the big

Re: Re[2]: Alternative to Wicket data binding

2007-08-28 Thread Igor Vaynberg
cmon, there are plenty of things you can abuse in wicket, or any other framework. that is just the nature of the beast. as framework developers we put out features and hope that our users know how to use them responsibly. we cannot continuously cater to newbie users, we have to cater to power

OpenLaszlo and Wicket?

2007-08-28 Thread Samanth Bapu
All, I am not sure if what I am thinking is right!! I have a requirement where divs show/hide depending on user clicks. I can do this very easily using OpenLaszlo. Can this (OpenLaszlo component) be imported to my site developed on Wicket? If yes, how can I do it? Any help would be of great

Re: OpenLaszlo and Wicket?

2007-08-28 Thread Igor Vaynberg
you can make divs show and hide easily in wicket too. i havent used openlaszlo so i dont know how that will integrate. -igor On 8/28/07, Samanth Bapu [EMAIL PROTECTED] wrote: All, I am not sure if what I am thinking is right!! I have a requirement where divs show/hide depending on user

Re: Questions on Tabs

2007-08-28 Thread Igor Vaynberg
see TabbedPanel in extensions each tab would be its own panel with its own markup file -igor On 8/28/07, Samanth Bapu [EMAIL PROTECTED] wrote: All, I am in a little bit of a situation here. I have four tabs on my page and all these are in Index.html. Of course, each tab has its own

Questions on Tabs

2007-08-28 Thread Samanth Bapu
All, I am in a little bit of a situation here. I have four tabs on my page and all these are in Index.html. Of course, each tab has its own functionality. Is there a way I can organize this in separate html files instead of coding everything into Index.html or Index.java? Thanks for your help.

Re: Migration to Wicket 1.3

2007-08-28 Thread Johan Compagner
http://wicketstuff.org/wicket13/forminput/ and for example the string field reports the message just fine. So what are you doing different? johan On 8/28/07, dzenanr [EMAIL PROTECTED] wrote: I have done the following in my form and still no error messages displayed (key is a String

Re: wicket contrib yui

2007-08-28 Thread James McLaughlin
Also note that we did something similar in wicket-datetime. Maybe, in some future, it would be great to have all the YUI components together. For now, we could look whether the projects can at least be used together without having them bite. A thread of two weeks ago discussed this. The

Re: Wicket at Apachecon (US)

2007-08-28 Thread Matej Knopp
Not really. The thing is that i don't even know if the tutorial will happen util short time before the apache con (depending on number of attendees). -Matej On 8/28/07, Eelco Hillenius [EMAIL PROTECTED] wrote: On 8/28/07, Matej Knopp [EMAIL PROTECTED] wrote: Hi, I was supposed to have a

Re: hierarchy does not match

2007-08-28 Thread Eelco Hillenius
On 8/28/07, Kees de Kooter [EMAIL PROTECTED] wrote: Hi Igor, What kind of information would you like to have? Source code? I did attach the entire exception page. The Apache mailing lists don't allow attachments, so that got filtered. Furthermore, a relevant piece of code usually helps us

Re: Presentation and application logic separation

2007-08-28 Thread Igor Vaynberg
well, what wicket does is version the state if you keep it inside its model, so it all Just Works. But because you are keeping your state outside of wicket you have to build your own versioning mechanism, or remove your state machine and use wicket. -igor On 8/28/07, fero [EMAIL PROTECTED]

No localizer has been set

2007-08-28 Thread Martin Bednář
I use code below, it works on my development machine (linux, jetty6) but don't work on production server (linux,tomcat-5, tomcat 5.5). Any advice ? public LanguageCheckBoxPanel(String id) { super(id); for (LanguageSelectOption languageOption : LanguageModel.languages) {

Re: OpenLaszlo and Wicket?

2007-08-28 Thread Sean Sullivan
You could write a custom IBehavior that handles onclick events. Here is a prototype behavior that I have been working on: *public* *class* OnClickBehavior *extends* AttributeAppender { *private* *boolean* temporary = *false*; *public* OnClickBehavior(String javascript) { *super*(onclick,

London Wicket User Group - Wednesday, 5th September 2007

2007-08-28 Thread jweekend
Next meeting: When: 18:30-20:30, Wednesday, 5th September, 2007. Where: Skills Matter Limited, 1 Sekforde Street, LONDON EC1R 0BE. Booking: http://jWeekend.co.uk jWeekend.co.uk (click on the London Wicket Event link on the top menu). This London Wicket Users Group meeting promises to be

Re: Is Wicket a proper framework for a Webshop ?

2007-08-28 Thread Antony Stubbs
If you're looking for a good action oriented framework - check out Stripes - I hear it's very good at what it does. The other alternative is Struts 2, but I hear people prefer Stripes. Spring MVC seems to be getting a little behind... neekibo wrote: Hi all Wicket-users! I am new to web

Re: Is Wicket a proper framework for a Webshop ?

2007-08-28 Thread Eelco Hillenius
If you're looking for a good action oriented framework - check out Stripes - I hear it's very good at what it does. The other alternative is Struts 2, but I hear people prefer Stripes. Spring MVC seems to be getting a little behind... imho any action oriented/ model 2 framework doesn't help

Re: Re[2]: Alternative to Wicket data binding

2007-08-28 Thread Kent Tong
igor.vaynberg wrote: cmon, there are plenty of things you can abuse in wicket, or any other framework. that is just the nature of the beast. as framework developers we put out features and hope that our users know how to use them responsibly. we cannot continuously cater to newbie users,

Re: Re[2]: Alternative to Wicket data binding

2007-08-28 Thread Igor Vaynberg
yeah, but you are forgetting that you will also need the compound variant, blah blah. before you know it you have replicated a bunch of the hierarchy. like i said, lets have a vote, propose as many variants of this as you want and we can see where it goes/what people prefer. -igor On 8/28/07,

Re: Re[2]: Alternative to Wicket data binding

2007-08-28 Thread Kent Tong
igor.vaynberg wrote: yeah, but you are forgetting that you will also need the compound variant, blah blah. before you know it you have replicated a bunch of the hierarchy. like i said, lets have a vote, propose as many variants of this as you want and we can see where it goes/what

where can i find wicket jasperreport integration project?

2007-08-28 Thread aozster
I'm looking for wikcet-contrib-jasperreport but I can't find it. Is this project discontinued? where can I get the jar file? -- View this message in context: http://www.nabble.com/where-can-i-find-wicket-jasperreport-integration-project--tf4345301.html#a12379635 Sent from the Wicket - User

Re: where can i find wicket jasperreport integration project?

2007-08-28 Thread Igor Vaynberg
http://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-jasperreports/ -igor On 8/28/07, aozster [EMAIL PROTECTED] wrote: I'm looking for wikcet-contrib-jasperreport but I can't find it. Is this project discontinued? where can I get the jar file? -- View this

Re: Is Wicket a proper framework for a Webshop ?

2007-08-28 Thread Eelco Hillenius
For the record I completely agree with you :) I'm in the process of slapping the developers around here, trying to get them to wake up. Senior dev's recommending struts 1 for gods sake... now that's what i call afraid of change It's out of ignorance, and their unwillingness to see what

Re: How to use ImageButton??

2007-08-28 Thread Andrew Lombardi
Maybe, just maybe .. you can try and ask a question that makes some kind of sense? Did you look at the javadoc which clearly explains what its for? On Tue, 28 Aug 2007 20:51:23 -0700 (PDT), J2EEKevinLIu Liu wrote: I am confused with the usage of ImageButton. Expect your help~~

Apache Wicket 1.3.0-beta3 released!

2007-08-28 Thread Martijn Dashorst
This is the third beta for Apache Wicket we have prepared for your pleasure. It contains over 100 fixes to issues with previous releases and todo items we have cleared. In this announcement: - Apache Wicket - This release - Migrating from 1.2 - Downloading the release - Validating the release -