Re: [Wicket-user] Re: Wicket Include vs. RequestDispatcher.include

2006-04-01 Thread Nili Adoram
After reconsidering I used Sitemesh which provides a better approach to this issue. However, this is a good opportunity to thank you Wicket team for developing the most wonderful framework. I voted for you! Nili Eelco Hillenius wrote: To my knowledge, none of the core developers of Wicket

Re: [Wicket-user] Form Feedback

2006-04-01 Thread Eelco Hillenius
1.1 worked by setting the appropriate collecting component - which in the case of forms was done automatically. From 1.2 on we have IFeedbackMessageFilter for this. If you want field level feedbakc, you might want to check out FormComponentFeedbackBorder. From 1.2 on there additionally is FormComp

Re: [Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Johan Compagner
I think i have it all in now.There isn't much outside used api touched because if i just look what lines i needed to change over all the contrib libs (didn't check those in yet)it where only a very few and it was just adding toString() or changing String to CharSequence. And also another project ir

Re: [Wicket-user] RE: New Link component ?

2006-04-01 Thread JasonB
Jonathan Locke wrote: makes me wonder if Java couldn't use a reflection notation I have always thought this would be a great feature. (As a side note, how hard would it be to write an eclipse plugin that would perform compile-time checking, but would pass a string to the compiler? Aka: new

Re: [Wicket-user] date formats and SimpleConverterAdapter (wicket 1.2 beta 2)

2006-04-01 Thread Eelco Hillenius
Yeah, I know what was going on. I made a stupid mistake! Sorry... It's fixed in trunk now. Eelco On 4/1/06, Simon Edwards <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to get some date formatting on the go for Date.class field. The > SimpleConverterAdapter example that was posted to the lis

Re: [Wicket-user] Re: New Link component ?

2006-04-01 Thread Eelco Hillenius
> We thought about it and as our internal component, we were ready to implement > 2) > et 3). In our case we want provide a uniform style of coding : 90% of use > cases, > the method is called on the page object. 10% left are filled by 3) Yeah, the disadvantage of calling the page object is that

Re: [Wicket-user] NoClassDefFoundError in TreeComponentInitializer#38

2006-04-01 Thread Matthias Albert
Thanks for your response. The problem does not exist if I don't call IResourceSettings.setResourceStreamLocator() with my own ResourceStreamLocator. Apparently, my class prevents internal Wicket classes from finding some resources. Btw, I don't use any Tree component at all. Matthias Joha

Re: [Wicket-user] PopupSettings Center

2006-04-01 Thread Eelco Hillenius
Didn't think about that yet. A patch would be welcome. If you have one, please attach it to an RFE (http://sourceforge.net/tracker/?group_id=119783&atid=684978) Eelco On 3/31/06, Alexander Lohse <[EMAIL PROTECTED]> wrote: > Hi, > > are there any efforts yet to add a centering option to the > Popu

Re: [Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Martijn Dashorst
+1, not breaking existing 1.1 api's.MartijnOn 4/1/06, Eelco Hillenius <[EMAIL PROTECTED] > wrote:+1 for now.EelcoOn 4/1/06, Johan Compagner < [EMAIL PROTECTED]> wrote:> Currently almost all our interfaces that makes the output or Response> writing code are using Strings> as parameters or return typ

Re: [Wicket-user] Wicket in a clustered environment

2006-04-01 Thread Eelco Hillenius
I tested it a couple of times, and the product I'm working on needs to be deployed in a clustered environment (with Wicket). However, having an automated cluster test is one of our to-dos. It would be awesome if someone could set such a thing up, preferably in such a way that it can just be checked

Re: [Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Eelco Hillenius
+1 for now. Eelco On 4/1/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > Currently almost all our interfaces that makes the output or Response > writing code are using Strings > as parameters or return types > > I would like to change all those methods to use Charsequence because this > would m

Re: [Wicket-user] can't get rid of "Choose One" in DropDownChoice

2006-04-01 Thread Martijn Dashorst
I disagree. In most of our apps the list comes directly from the database. Adding something to that list that isn't actually a choice, adds type unsafety to the mix. The message isn't actually a choice. You can't choose it. And selecting (arbitrarily) the first element is not something I want eithe

Re: [Wicket-user] onAttach() with ajax

2006-04-01 Thread Igor Vaynberg
head is for cvs, trunk is for svn :)-IgorOn 4/1/06, Johan Compagner <[EMAIL PROTECTED]> wrote: yeah i am also completely lost at the momentCan somebody start from the beginning again? johan:)On 3/31/06, Martijn Dashorst < [EMAIL PROTECTED]> wrote:And now my HEAD hurts, or was it head HURTS? :-) Ma

Re: [Wicket-user] can't get rid of "Choose One" in DropDownChoice

2006-04-01 Thread Vincent Jenks
Why have the default message at all?  Why provide something for developers that they should be determining themselves?  The default should be the first item in the list...if you need a default, override the method and provide one. On 4/1/06, Johan Compagner <[EMAIL PROTECTED]> wrote: yes moving the

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-01 Thread Vincent Jenks
I see.  I just went w/ a List and changed the value when I created the list.  The dropdown was a list of dates so I just formatted the date differently for the view portion of the list.Thanks! On 4/1/06, Johan Compagner <[EMAIL PROTECTED]> wrote: there is no map support for this.What you could do i

Re: [Wicket-user] RE: New Link component ?

2006-04-01 Thread Johan Compagner
ahh cool!method pointers!but Java choose innerclasses/interfaces approache for that... :(new Link("bla", new ActionHandler());But then the code is jus as big because you need to make that action handler... (which implements an interface) So in the end result is the same.it would be really cool if y

[Wicket-user] Re: New Link component ?

2006-04-01 Thread Alex
Eelco Hillenius gmail.com> writes: > However, as a nice alternative, I can see such a > component live in Wicket extensions. > I agree, this responds to our personnal style of coding and we don't to break the wicket way of doing things :) I think we would implement that and if successfull give i

Re: [Wicket-user] Getting Page After Intercept Page

2006-04-01 Thread Johan Compagner
who is triggering the redirect to intercept page?I guess it is somewhere in youre own code (login needed or something)Maybe you can then set that page somewhere for you to access?the problem in 1.2 is that if that redirect happens in side the constructor of the page.. Then there is no page.. (page

Re: [Wicket-user] NoClassDefFoundError in TreeComponentInitializer#38

2006-04-01 Thread Johan Compagner
i also have seen this. (also in an intializer i believe and then with ajax scripts)It happens when i restart tomcat and tomcat deserializes sessions.If it doesn't deserializes sessions it doesn't happen.Will try if i can really reproduce it and see if i can figure out why .. The big problem is that

[Wicket-user] Re: New Link component ?

2006-04-01 Thread Alex
Jonathan Locke gmail.com> writes: > this suggestion (which is implementable in a user coderegardless of what goes into the core) add(new ReflectionLink("myLink", "myMethod"))makes me wonder if Java couldn't use a reflection notation > similar to "object.class" to specify Method objects, like "m

Re: [Wicket-user] can't get rid of "Choose One" in DropDownChoice

2006-04-01 Thread Johan Compagner
yes moving the method to the renderer and calling that render method in the choice method is fine by me.Except what is then the default "Choose one" ?We can add it ofcourse in our default renderer: ChoiceRenderer But then you have to specify it or subclass choicerenderer. Else suddenly you don't ha

Re: [Wicket-user] onAttach() with ajax

2006-04-01 Thread Johan Compagner
yeah i am also completely lost at the momentCan somebody start from the beginning again?johan:)On 3/31/06, Martijn Dashorst < [EMAIL PROTECTED]> wrote:And now my HEAD hurts, or was it head HURTS? :-) MartijnOn 3/31/06, Gwyn Evans < [EMAIL PROTECTED] > wrote:Yes, that's what I was meaning by the las

Re: [Wicket-user] bind Map to DropDownChoice

2006-04-01 Thread Johan Compagner
there is no map support for this.What you could do is give the map to the ChoiceRenderer impland give the keys of the map as a list to the Choice.johanOn 3/31/06, Vincent Jenks <[EMAIL PROTECTED]> wrote: I'm trying to get a Map of data so I can have the key be the value of the dropdown options and

Re: [Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Juergen Donnerstag
+1 for now. For all new 1.2 interfaces and methods and for internal methods (incl. pre 1.2). Did we add replaceComponentTagBody in 1.2? If not, that should not (yet) be changed. Especially as I can imagine that this function is used by some users. Juergen On 4/1/06, Igor Vaynberg <[EMAIL PROTECTE

Re: [Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Johan Compagner
if it is it is a final methodso it doesn't matter it can only be called onso calling it with the same code that is a string just compiles fineand you can't override it (that would be a problem because then they also need to change the signature) johanOn 4/1/06, Juergen Donnerstag <[EMAIL PROTECTED]

[Wicket-user] Form Feedback

2006-04-01 Thread Alexander Lohse
Hi, can anyone explain how the new (1.1) Form-Feedback-System works? How does the Form know which Feedback-Panel to use? What if I have multiple forms and multiple feedbacks on one page? Is there a way to skip the messaging and give the feedback in different ways? For example: I used to just

Re: [Wicket-user] Wicket/Tomcat configuration: Where is System.out ???

2006-04-01 Thread Jan Mikkelsen
Hi Frank I *think* system.out/err goes to catalina.out. If you are using log4j, but happen to write a few system.outs, you might want to do something like this in your Application class: /* redirect stdout/stderr to log4j */ System.setOut(new PrintStream(new LoggingOutputStream(

[Wicket-user] ajax update of Image/BufferedDynamicImageResource doesn't work?

2006-04-01 Thread Ray Cromwell
I have a charting application that I tried to convert to Ajax, so that as chart options are changed, the image is reloaded via AJAX, but for whatever reasons, it is not being reloaded. I have the following code: checkBox.add(new AjaxFormComponentUpdatingBehavior("onchange")

[Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Johan Compagner
Currently almost all our interfaces that makes the output or Response writing code are using Stringsas parameters or return typesI would like to change all those methods to use Charsequence because this would mean that we don't have to do toString() every where and just passing directly the buffer

[Wicket-user] date formats and SimpleConverterAdapter (wicket 1.2 beta 2)

2006-04-01 Thread Simon Edwards
Hello, I'm trying to get some date formatting on the go for Date.class field. The SimpleConverterAdapter example that was posted to the list works fine for URLs ( http://sourceforge.net/mailarchive/message.php?msg_id=15132297 ). But after rewriting it for doing date formatting I just get an exc

Re: [Wicket-user] VOTE: One refactor to do in 1.2 if possible: String Param or Returntype to its interface CharSequence..

2006-04-01 Thread Igor Vaynberg
+1 to do it now. if this does affect 1.2 only interfaces a lot then we should do this before we actually release those interfaces into the wild. -Igor On 4/1/06, Johan Compagner <[EMAIL PROTECTED]> wrote: Currently almost all our interfaces that makes the output or Response writing code are using

Re: [Wicket-user] Wicket in a clustered environment

2006-04-01 Thread Johan Compagner
we don't have on hand experiences with a live setup.But we developers try to test it every now and then to see if everything works ok.We do take clustering seriously.johan On 3/31/06, Tom van Zummeren <[EMAIL PROTECTED]> wrote: I was wondering…   Does anyone have any experience wit