Re: [Wicket-user] Adding multiple behaviors fails
Ok, that's too bad. Yes, I would very much like that feature. I created a JIRA issue to request it (https://issues.apache.org/jira/browse/WICKET-214). Thanks Johan, Erik. Johan Compagner schreef: yes this is how it works now Maybe we could somehow merge it on the server side when we see 2 behavior attached to the same event only generate for one but also call the other.. johan -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] skandinavian characters encoding lost...
Well according to Johan its only for POSTs that Tomcat can be a problem. I just tried for at least 10 minutes to find a reference to the exact thing Tomcat does wrong, and I am sure it was on the Wicket Wiki at some point, but I can not find it anymore. If someone can find it, or put it back on the Wicket Wiki, that would be great. Cheers, Erik. Nino Wael schreef: Yes i am using tomcat.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik van Oosten Sent: 15. januar 2007 13:17 To: wicket-user@lists.sourceforge.net Subject: Re: [Wicket-user] skandinavian characters encoding lost... Are you using Tomcat? Erik. Nino Wael schreef: Hi I seem to be expriencing lost of encoding, if I have an text area and text field and if Æ Ø or Å are entered then they do not get interpered as Å Ø Æ but losses their encoding. Am I missing something? Wicket does pickup that the browser are in Danish locale and actually does display the default text in dropdowns in Danish(choose one - vælg en). Regards Nino -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] skandinavian characters encoding lost...
No, that's not it. I vaguely remember that Tomcat needs a setting in its configuration files before it will serve UTF-8 content. Otherwise it will silently convert it to ISO8859-1. Erik. Martijn Dashorst wrote: Perhaps this: http://cwiki.apache.org/WICKET/how-to-change-the-character-encoding.html found through: http://woogle.billen.dk/search/q/tomcat%20encoding Martijn On 1/15/07, Erik van Oosten [EMAIL PROTECTED] wrote: Well according to Johan its only for POSTs that Tomcat can be a problem. I just tried for at least 10 minutes to find a reference to the exact thing Tomcat does wrong, and I am sure it was on the Wicket Wiki at some point, but I can not find it anymore. If someone can find it, or put it back on the Wicket Wiki, that would be great. Cheers, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] numbervalidator 'java.lang.ClassCastException'
Try the following: form.add(new TextField(carmillage, carMillage, Integer.class).add(NumberValidator.minimum(0))); Erik. Nino Wael wrote: Hi Im getting an exception when I submit my page(base cause line 205 I numbervalidator). Im a bit puzzled by this since I cant understand why it should happened. Entering a text string triggers the error, but that’s the reason why I put in the numbervalidator in the first place.. I’ve been looking at the forminput from wicket examples and my code appear to be ok: final FormModel formModel = new FormModel(); final PropertyModel carModel = new PropertyModel(formModel, carModel); final PropertyModel carYear = new PropertyModel(formModel, carYear); final PropertyModel carMillage = new PropertyModel(formModel, carMillage); final PropertyModel carFailureText = new PropertyModel(formModel, carFailureText); FormComponentFeedbackBorder feedbackBorder = new FormComponentFeedbackBorder( feedback); add(feedbackBorder); Form form = new Form(theform); feedbackBorder.add(form); form.add(new DropDownChoice(carmodel, carModel, Offline .getCarsFromBrand(Opel))); form.add(new RadioChoice(caryear, carYear, Offline.getCarYears())); form.add(new TextField(carmillage, carMillage).add(NumberValidator .minimum(0))); form.add(new TextArea(carfailuretext, carFailureText) .setRequired(true)); form.add(new Button(btn_submit) { protected void onValid() { CompoundPropertyModel model = new CompoundPropertyModel( formModel); setResponsePage(new ThankYouPage(model)); }; }); } Regards Nino - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Adding multiple behaviors fails
No big ideas here, I am afraid. For me it seems logical to just call both behaviors sequentially from the Wicket servlet/filter and combine the results (where the only results I know are things added to the AjaxRequestTarget). But the inner workings of Wicket are mostly terra incognita for me so I probably miss something. Perhaps we'll need to do 2 Ajax calls from the browser. But I suspect that everything I wrote here was already written in Igor's previous mails. In my case one of the behaviors does some form validation and adds a feedback panel to the AjaxRequestTarget, the other behavior adds another div to the AjaxRequestTarget. These are easy to combine. Erik. Eelco Hillenius wrote: Ok, so that wouldn't solve anything. Recognizing you're trying to overwrite an attribute that was previously written by another behavior might help in at least figuring out that there is a problem. Though otoh, I don't think it's gonna be a big saver. Any other ideas? Eelco On 1/15/07, Igor Vaynberg [EMAIL PROTECTED] wrote: problem with appending, etc, is that in my experience most behaviors will have a return statement for every path, so appending will pretty much be a noop -igor On 1/15/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Yeah, that is a bit dangerous. Currently, we don't do much to check whether behaviors overwrite each other. We probably could if we think up another interface that cooperates with IBehavior. And maybe we can combine that with a convenience class a la AppendingBehavior, it would make things easier than in the current situation. But that's about how far we should go imho. Eelco -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Input Field background color change on validation
Hi Cliff, If I read your requirements correctly you should use onkeypress instead of onblur. But I guess you already guessed that. Regards, Erik. Martijn Dashorst wrote: You make it very complicated :-) final TextField uname = new TextField(username, ...).add(new AttributeModifier(class, true, new Model() { public void getObject(Component c) { return uname.isValid() ? valid : invalid; } }); uname.add(new AjaxFormComponentUpdateBehavior(onblur) { public void onUpdate(AjaxRequestTarget target) { if(!uname.isValid()) { target.appendJavaScript(document.getElementById(' + uname.getMarkupId() + ').focus();); } target.addComponent(uname); } }); Should do the trick. Note that this is from the top of my head, so things might not compile completely. Martijn -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Setting attributes on a list view
Hi Eelco, Its already there: http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html, first FAQ question. I made it a bit more explicit. Erik. Eelco Hillenius wrote: If I didn't make any grave mistakes and all, could someone be so kind to put this (maybe with more list view examples?) in the WIKI somewhere? Eelco -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] how to create a link without markup id?
To answer a part of your question: You can 'hide' elements on a condition like this: add(new SomeComponent() { public boolean isVisible() { return your_condition; } }); Regards, Erik. tooy li(Gmail) schreef: I need show a downloadlink when a record has a attachment info. since the reocrd may have not attachment, the downloadlink must be create by condition. how can i do it ? I also feel puzzle for how to do generate a system menu or some dymic link . since the componet have to bind with some id. Need i add a webmarkcontainer to hold the id of downloadlink to do this ? it's too verbose. or it's another question, could I decide bind the compoent into the id by condition? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Problems making a form reset button
Hi, I am trying the make a reset button (clears all fields) with code below. According to the class comment of Form I can call updateFormComponentModels, however that method is not visible. What can I do to get the desired effect? I am using wicket-1.2.4. Regards, Erik. // The reset button Button resetButton = new Button(resetbutton) { /** [EMAIL PROTECTED] */ protected void onSubmit() { // Clear the form form.visitChildren(FormComponent.class, new Component.IVisitor() { public Object component(Component component) { ((FormComponent) component).clearInput(); return Component.IVisitor.CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER; } }); *form.updateFormComponentModels(); // -- method not visible *} }; // Perform only the onSubmit, no validation resetButton.setDefaultFormProcessing(false); form.add(resetButton); -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Problems making a form reset button
Yes, correct. The model should be cleared as well. And it indeed uses setDefaultFormProcessing(false). The approach your describing below will throw exceptions for checkboxes: WicketMessage: unable to set object null, model: Model:classname=[wicket.model.PropertyModel]:attached=true:[EMAIL PROTECTED]:expression=[searchInHistoricNames]:propertyType=[null], called with component [MarkupContainer [Component id = formelement, page = nl.amsterdam.rbrb.web.search.SearchPage, path = 2:maincontent:searchform:form:formElements:2:inputfragment:formelement.CheckBox, isVisible = true, isVersioned = false]] Root cause: wicket.util.convert.ConversionException: Can't convert null value to a primitive class: boolean for setting it on [EMAIL PROTECTED] at wicket.util.lang.PropertyResolver$MethodGetAndSet.setValue(Ljava.lang.Object;Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:838) at wicket.util.lang.PropertyResolver$ObjectAndGetSetter.setValue(Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:447) at wicket.util.lang.PropertyResolver.setValue(Ljava.lang.String;Ljava.lang.Object;Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:136) at wicket.model.AbstractPropertyModel.onSetObject(Lwicket.Component;Ljava.lang.Object;)V(AbstractPropertyModel.java:182) at wicket.model.AbstractDetachableModel.setObject(Lwicket.Component;Ljava.lang.Object;)V(AbstractDetachableModel.java:131) at wicket.Component.setModelObject(Ljava.lang.Object;)Lwicket.Component;(Component.java:2042) at wicket.markup.html.form.FormComponent.updateModel()V(FormComponent.java:840) at nl.amsterdam.rbrb.web.form.FormPanel$5.component(Lwicket.Component;)Ljava.lang.Object;(FormPanel.java:214) --- the line with formComponent.updateModel(); Regards, Erik. Johan Compagner wrote: why do you want to call updateFormComponentModels? You also want to clear all model data? So the models already did get some data from a previous request? (i take the reset button has setDefaultFormProcessing(false) ?) but why not do this: form.visitChildren(FormComponent.class, new Component.IVisitor() { public Object component(Component component) { ((FormComponent) component).clearInput(); ((FormComponent) component).updateModel(); return Component.IVisitor.CONTINUE _TRAVERSAL_BUT_DONT_GO_DEEPER; } }); On 1/9/07, *Erik van Oosten* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I am trying the make a reset button (clears all fields) with code below. According to the class comment of Form I can call updateFormComponentModels, however that method is not visible. What can I do to get the desired effect? I am using wicket-1.2.4. Regards, Erik. // The reset button Button resetButton = new Button(resetbutton) { /** [EMAIL PROTECTED] */ protected void onSubmit() { // Clear the form form.visitChildren(FormComponent.class, new Component.IVisitor() { public Object component(Component component) { ((FormComponent) component).clearInput(); return Component.IVisitor.CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER; } }); *form.updateFormComponentModels(); // -- method not visible *} }; // Perform only the onSubmit, no validation resetButton.setDefaultFormProcessing(false); form.add(resetButton); -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp
Re: [Wicket-user] Problems making a form reset button
Johan, I got it working as below. Shall I create a Jira issue for this? I think it would be more logical if checkbox could deal with cleared input. Erik. // The reset button Button resetButton = new Button(resetbutton) { /** [EMAIL PROTECTED] */ protected void onSubmit() { // Clear the form form.visitChildren(FormComponent.class, new Component.IVisitor() { public Object component(Component component) { FormComponent formComponent = ((FormComponent) component); if (formComponent instanceof CheckBox) { ((CheckBox) formComponent).setModelObject(false); } else { formComponent.clearInput(); formComponent.updateModel(); } return Component.IVisitor.CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER; } }); } }; // Perform only the onSubmit, no validation resetButton.setDefaultFormProcessing(false); form.add(resetButton); Erik van Oosten wrote: Yes, correct. The model should be cleared as well. And it indeed uses setDefaultFormProcessing(false). The approach your describing below will throw exceptions for checkboxes: WicketMessage: unable to set object null, model: Model:classname=[wicket.model.PropertyModel]:attached=true:[EMAIL PROTECTED]:expression=[searchInHistoricNames]:propertyType=[null], called with component [MarkupContainer [Component id = formelement, page = nl.amsterdam.rbrb.web.search.SearchPage, path = 2:maincontent:searchform:form:formElements:2:inputfragment:formelement.CheckBox, isVisible = true, isVersioned = false]] Root cause: wicket.util.convert.ConversionException: Can't convert null value to a primitive class: boolean for setting it on [EMAIL PROTECTED] at wicket.util.lang.PropertyResolver$MethodGetAndSet.setValue(Ljava.lang.Object;Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:838) at wicket.util.lang.PropertyResolver$ObjectAndGetSetter.setValue(Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:447) at wicket.util.lang.PropertyResolver.setValue(Ljava.lang.String;Ljava.lang.Object;Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:136) at wicket.model.AbstractPropertyModel.onSetObject(Lwicket.Component;Ljava.lang.Object;)V(AbstractPropertyModel.java:182) at wicket.model.AbstractDetachableModel.setObject(Lwicket.Component;Ljava.lang.Object;)V(AbstractDetachableModel.java:131) at wicket.Component.setModelObject(Ljava.lang.Object;)Lwicket.Component;(Component.java:2042) at wicket.markup.html.form.FormComponent.updateModel()V(FormComponent.java:840) at nl.amsterdam.rbrb.web.form.FormPanel$5.component(Lwicket.Component;)Ljava.lang.Object;(FormPanel.java:214) --- the line with formComponent.updateModel(); Regards, Erik. Johan Compagner wrote: why do you want to call updateFormComponentModels? You also want to clear all model data? So the models already did get some data from a previous request? (i take the reset button has setDefaultFormProcessing(false) ?) but why not do this: form.visitChildren(FormComponent.class, new Component.IVisitor() { public Object component(Component component) { ((FormComponent) component).clearInput(); ((FormComponent) component).updateModel(); return Component.IVisitor.CONTINUE _TRAVERSAL_BUT_DONT_GO_DEEPER; } }); On 1/9/07, *Erik van Oosten* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, I am trying the make a reset button (clears all fields) with code below. According to the class comment of Form I can call updateFormComponentModels, however that method is not visible. What can I do to get the desired effect? I am using wicket-1.2.4. Regards, Erik. // The reset button Button resetButton = new Button(resetbutton) { /** [EMAIL PROTECTED] */ protected void onSubmit() { // Clear the form form.visitChildren(FormComponent.class, new Component.IVisitor() { public Object component(Component component) { ((FormComponent) component).clearInput(); return Component.IVisitor.CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER; } }); *form.updateFormComponentModels(); // -- method not visible *} }; // Perform only the onSubmit, no validation
Re: [Wicket-user] Problems making a form reset button
Hi Johan, Ok, I understand. Indeed, my model is a property in a bean that has the primitive type boolean. Even though I have a workaround now, I would appreciate such a fix. If nobody disagrees I am happy to make a JIRA issue for it. Regards, Erik. Johan Compagner schreef: my checkbox works fine: class MyDataObject { Boolean myBoolean; void setMyBoolean(Boolean b) Boolean getMyBoolean() } so it is not directly the checkbox. But if you map it to a boolean (primitive) then you don't have the three-state thing yes. (null, false, true) So i dont know if this is a bug or not that really needs to be fixed. Because what is the fix? I can't do what you do here. Because if it is a Boolean object then null/empty string is valid. Maybe for booleans we can make an exception that null will be false in the converter What do others think? johan On 1/9/07, *Erik van Oosten * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Johan, I got it working as below. Shall I create a Jira issue for this? I think it would be more logical if checkbox could deal with cleared input. Erik. // The reset button Button resetButton = new Button(resetbutton) { /** [EMAIL PROTECTED] */ protected void onSubmit() { // Clear the form form.visitChildren(FormComponent.class, new Component.IVisitor() { public Object component(Component component) { FormComponent formComponent = ((FormComponent) component); if (formComponent instanceof CheckBox) { ((CheckBox) formComponent).setModelObject(false); } else { formComponent.clearInput(); formComponent.updateModel(); } return Component.IVisitor.CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER; } }); } }; // Perform only the onSubmit, no validation resetButton.setDefaultFormProcessing (false); form.add(resetButton); Erik van Oosten wrote: Yes, correct. The model should be cleared as well. And it indeed uses setDefaultFormProcessing(false). The approach your describing below will throw exceptions for checkboxes: WicketMessage: unable to set object null, model: Model:classname=[wicket.model.PropertyModel]:attached=true:[EMAIL PROTECTED] ]:expression=[searchInHistoricNames]:propertyType=[null], called with component [MarkupContainer [Component id = formelement, page = nl.amsterdam.rbrb.web.search.SearchPage, path = 2:maincontent:searchform:form:formElements:2:inputfragment: formelement.CheckBox, isVisible = true, isVersioned = false]] Root cause: wicket.util.convert.ConversionException: Can't convert null value to a primitive class: boolean for setting it on [EMAIL PROTECTED] at wicket.util.lang.PropertyResolver$MethodGetAndSet.setValue(Ljava.lang.Object;Ljava.lang.Object;Lwicket.util.convert.IConverter;)V( PropertyResolver.java:838) at wicket.util.lang.PropertyResolver$ObjectAndGetSetter.setValue(Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:447) at wicket.util.lang.PropertyResolver.setValue (Ljava.lang.String;Ljava.lang.Object;Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:136) at wicket.model.AbstractPropertyModel.onSetObject(Lwicket.Component;Ljava.lang.Object;)V( AbstractPropertyModel.java:182) at wicket.model.AbstractDetachableModel.setObject(Lwicket.Component;Ljava.lang.Object;)V(AbstractDetachableModel.java:131) at wicket.Component.setModelObject (Ljava.lang.Object;)Lwicket.Component;(Component.java:2042) at wicket.markup.html.form.FormComponent.updateModel()V(FormComponent.java:840) at nl.amsterdam.rbrb.web.form.FormPanel$5.component (Lwicket.Component;)Ljava.lang.Object;(FormPanel.java:214) --- the line with formComponent.updateModel(); Regards, Erik. Johan Compagner wrote: why do you want to call updateFormComponentModels? You also want to clear all model data? So the models already did get some data from a previous request? (i take the reset button has setDefaultFormProcessing(false) ?) but why not do this: form.visitChildren(FormComponent.class, new Component.IVisitor() { public Object component(Component component
Re: [Wicket-user] Problems making a form reset button
The point is that I do not want tri-state logic. That is why the property has type boolean and not Boolean. If you want tri-state logic, you can (and intuitively will) use non-primitive properties in your model objects. Anyway, you could always use the same values as java uses to initialize primitive members. So thats 0, '\0' and false. You say it is very context dependent. I agree there. But I also find that context to be very limited, namely to models of a primitive type, a well known exception to Java's object orientedness. Regards, Erik. Martijn Dashorst wrote: Keep it as current. If you want tri-state logic, then you have to implement that. What are you going to do with int, long, double, float? make it 0? make it -1? Defaulting to false is very context dependent, and shouldn't be implemented as such. Martijn On 1/9/07, Johan Compagner [EMAIL PROTECTED] wrote: my checkbox works fine: class MyDataObject { Boolean myBoolean; void setMyBoolean(Boolean b) Boolean getMyBoolean() } so it is not directly the checkbox. But if you map it to a boolean (primitive) then you don't have the three-state thing yes. (null, false, true) So i dont know if this is a bug or not that really needs to be fixed. Because what is the fix? I can't do what you do here. Because if it is a Boolean object then null/empty string is valid. Maybe for booleans we can make an exception that null will be false in the converter What do others think? johan On 1/9/07, Erik van Oosten [EMAIL PROTECTED] wrote: Johan, I got it working as below. Shall I create a Jira issue for this? I think it would be more logical if checkbox could deal with cleared input. Erik. // The reset button Button resetButton = new Button(resetbutton) { /** [EMAIL PROTECTED] */ protected void onSubmit() { // Clear the form form.visitChildren(FormComponent.class, new Component.IVisitor() { public Object component(Component component) { FormComponent formComponent = ((FormComponent) component); if (formComponent instanceof CheckBox) { ((CheckBox) formComponent).setModelObject(false); } else { formComponent.clearInput(); formComponent.updateModel(); } return Component.IVisitor.CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER; } }); } }; // Perform only the onSubmit, no validation resetButton.setDefaultFormProcessing (false); form.add(resetButton); Erik van Oosten wrote: Yes, correct. The model should be cleared as well. And it indeed uses setDefaultFormProcessing(false). The approach your describing below will throw exceptions for checkboxes: WicketMessage: unable to set object null, model: Model:classname=[wicket.model.PropertyModel]:attached=true:[EMAIL PROTECTED] ]:expression=[searchInHistoricNames]:propertyType=[null], called with component [MarkupContainer [Component id = formelement, page = nl.amsterdam.rbrb.web.search.SearchPage, path = 2:maincontent:searchform:form:formElements:2:inputfragment: formelement.CheckBox, isVisible = true, isVersioned = false]] Root cause: wicket.util.convert.ConversionException: Can't convert null value to a primitive class: boolean for setting it on [EMAIL PROTECTED] at wicket.util.lang.PropertyResolver$MethodGetAndSet.setValue(Ljava.lang.Object;Ljava.lang.Object;Lwicket.util.convert.IConverter;)V( PropertyResolver.java:838) at wicket.util.lang.PropertyResolver$ObjectAndGetSetter.setValue(Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:447) at wicket.util.lang.PropertyResolver.setValue (Ljava.lang.String;Ljava.lang.Object;Ljava.lang.Object;Lwicket.util.convert.IConverter;)V(PropertyResolver.java:136) at wicket.model.AbstractPropertyModel.onSetObject(Lwicket.Component;Ljava.lang.Object;)V( AbstractPropertyModel.java:182) at wicket.model.AbstractDetachableModel.setObject(Lwicket.Component;Ljava.lang.Object;)V(AbstractDetachableModel.java:131) at wicket.Component.setModelObject (Ljava.lang.Object;)Lwicket.Component;(Component.java:2042) at wicket.markup.html.form.FormComponent.updateModel()V(FormComponent.java:840) at nl.amsterdam.rbrb.web.form.FormPanel$5.component (Lwicket.Component;)Ljava.lang.Object;(FormPanel.java:214) --- the line with formComponent.updateModel(); Regards, Erik. Johan Compagner wrote: why do you want to call updateFormComponentModels
Re: [Wicket-user] Problems making a form reset button
Okay, I thought about a bit more and I now agree with you. It will be a mess if you do what I propose in combination with not allowing the empty string through validation. Still, the method CheckBox#clearInput() does not do what you expect. I expect it to clear the checkbox. This is translated to setting the model to false. Instead it sets the model to null. Does this make more sense? Regards, Erik. Martijn Dashorst wrote: Keep it as current. If you want tri-state logic, then you have to implement that. What are you going to do with int, long, double, float? make it 0? make it -1? Defaulting to false is very context dependent, and shouldn't be implemented as such. Martijn On 1/9/07, Johan Compagner [EMAIL PROTECTED] wrote: my checkbox works fine: class MyDataObject { Boolean myBoolean; void setMyBoolean(Boolean b) Boolean getMyBoolean() } so it is not directly the checkbox. But if you map it to a boolean (primitive) then you don't have the three-state thing yes. (null, false, true) So i dont know if this is a bug or not that really needs to be fixed. Because what is the fix? I can't do what you do here. Because if it is a Boolean object then null/empty string is valid. Maybe for booleans we can make an exception that null will be false in the converter What do others think? johan -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Any more wicket articles?
Hello, I just updated the wiki page http://cwiki.apache.org/confluence/display/WICKET/Articles+about+Wicket but there must surely be more articles on Wicket out there?! Please add them when you find one! Have fun, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: hangman exception: attach
Hmm, that's weird. They do show up here. My Eclipse version is fairly new. Maybe you're using something oldish? Erik. Igor Vaynberg schreef: yes, and thats what ive been using - quick hierarchy (ctrl+t), but that doesnt show anon classes and doesnt work across projects reliably. -igor On 1/8/07, Erik van Oosten [EMAIL PROTECTED] wrote: Press Ctrl-T while the cursor is on a method definition, or press Ctrl-T twice when the cursor is on a method implementation. Another helpfull shortcut is Ctrl-Alt-H (Open Call Hierarchy). Have fun, Erik. Igor Vaynberg wrote: fixed, damn looks like eclipse' quick hierarchy doesnt support anonymous classes. is there a way to see all overrides of a method? -igor -- Erik van Oosten http://day-to-day-stuff.blogspot.com/
Re: Wicket and Backbase
Oskar, The BackBase language is XML right? So what you can do is give the BackBase elements a wicket:it attribute and attach components to it, just as would do with html tags. Regards, Erik. On 1/7/07, Toscano [EMAIL PROTECTED] wrote: Hello, I have been doing some testing for a very big project, and I have been seduced by Wicket. In the web interface side, we are considering Backbase, but although I could integrate easily simple controls like buttons, I don't know how to output the special html that backbase needs... Do I have to create specific wicket.markup.html components? Can anybody help me with how to face this? Thank you very much!, Oskar -- Erik van Oosten http://day-to-day-stuff.blogspot.com/
Re: hangman exception: attach
I am home now so I can't check it. Erik. Igor Vaynberg schreef: 3.2.1, you? -igor
Re: Wicket and Backbase
Perhaps it is time to read up on the examples. You can find these on http://wicketframework.org/ and http://cwiki.apache.org/WICKET/. Please ask further on the user list. This is the developers list. Eelco, BackBase uses a XUL syntax with things like windowstuff/window, these are read and converted by a javascript library on the client side. Another implementation that does this is ZK (http://www.zkoss.org/). Both BackBase and ZK have a live demo where you can enter the tags in your browser. Regards, Erik. Toscano wrote: Hello, Thank you very much for your responses. I understand what you want to say, but I'm afraid I don't know how to do it. My Wicket knowledge is poor yet, can you show me or redirect me to an example of this?. Again, thank you for your time! Oskar -- Erik van Oosten http://day-to-day-stuff.blogspot.com/
Re: [Radiant] Ideas for reimplementation of radiant caching
Hi Dan, Ruben, Actually I once build a commercial Enterprise CMS where a custom content proxy would cache everything. It was flushed on time-out /and/ upon changes in the content. The proxy allowed large companies to set up caches wherever they pleased and still have a central repository. The caching was fairly complicated as we had a broad definition of what constituted as a change. The most difficult part is pages that contain generated stuff that uses the structure of the content tree, like menus. So my question to you is: how do you flush pages with menus that are generated from the content tree? Regards, Erik. Ruben D. Orduz wrote: Just as an anecdote, I've worked with paid enterprise-grade CMS's, open-source CMS's and I've only seen two types of caching: 1) The classic: time expiry unless forced by hand. 2) Tag-level caching: You can choose which tags NOT to cache. So for example, in a news site, pretty much the whole site could be cached, except for content produced by %breaking-news%. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ ___ Radiant mailing list Post: Radiant@lists.radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Wicket-user] Current Wicket-Examples 2.0 and slf4j
Ah, its for examples. Too ill to notice. Yes, I agree there. Erik. Johan Compagner schreef: but that is stupid for examples We should provide a default impl for our examles Examples should run out of the box. johan On 1/2/07, *Erik van Oosten * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: You probably have to select a SLF4J implementation yourself. You can find implementations on http://www.slf4j.org/. If you want to keep the old commons-logging behavior, choose slf4j-jcl.jar. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-2.0 snapshots
Some searching led me to believe it is run by Stefan Arentz from Polar Roze in the same city as I am writing this (Amsterdam, The Netherlands). http://stefan.arentz.nl/2006/05/18/new-maven-repository/ http://stefan.arentz.nl/2006/11/02/17407-jar-files-later/ Regards, Erik. Ryan Sonnek schreef: Does anyone know who runs the http://maven.sateh.com/wicket/ site? -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: FeedBackPanel
Hi tbt, Please repost on the wicket-user mailing list. This is the developers list. Erik. tbt wrote: I'm a newbie to wicket and would like to know how to add a customized icon near the error message thats generated by the feedback panel. Any help appreciated.
[Wicket-user] Wicket 1.2.4 and commons-codec (Re: Look under the tree: Santa left a present for all)
Thanks Martijn! Does anyone know why maven2 suddenly also gets commons-codec 1.3 when I switch from 1.2-snapshot (quite recent) to 1.2.4? I am using wicket, wicket-extentions and wicket-spring. The only difference I can find in the pom files is that EasyMock was downgraded from 2.0 to 1.2_Java1.3. But that should not matter as easymock is a 'provided' dependency. Regards, Erik. Martijn Dashorst wrote: As a thank you for your support in 2006, Santa has put Wicket 1.2.4 under the tree! -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.2.4 and commons-codec (Re: Look under the tree: Santa left a present for all)
Weird, I have added a exclusion groupIdcommons-codec/groupId artifactIdcommons-codec/artifactId /exclusion to each of the wicket dependencies in my pom file and it still wants to download it. I tried the command you gave. It does not mention commons-codec at all (except in the exclusions). For now I will continue under the assumption that it is a maven plugin upgrade and I will therefore not add commons-codec to my application's classpath. I really dislike maven more and more... Regards, Erik. Martijn Dashorst wrote: Not sure. Downloading the dependency can also be a result of an upgrade of one of the maven plugins though. To see what the final pom is, try: mvn help:effective-pom The easymock needed to be downgraded as it is a Java 5 version incompatible with wicket-spring (which is java 1.4). Martijn On 12/27/06, Erik van Oosten [EMAIL PROTECTED] wrote: Thanks Martijn! Does anyone know why maven2 suddenly also gets commons-codec 1.3 when I switch from 1.2-snapshot (quite recent) to 1.2.4? I am using wicket, wicket-extentions and wicket-spring. The only difference I can find in the pom files is that EasyMock was downgraded from 2.0 to 1.2_Java1.3. But that should not matter as easymock is a 'provided' dependency. Regards, Erik. Martijn Dashorst wrote: As a thank you for your support in 2006, Santa has put Wicket 1.2.4 under the tree! -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket 1.2.4 and commons-codec (Re: Look under the tree: Santa left a present for all)
As a test I downgraded to wicket 1.2.3, and it still downloads commons-codec. So I am now pretty sure it has nothing to do with Wicket 1.2.4. Regards, Erik. Martijn Dashorst wrote: Not sure. Downloading the dependency can also be a result of an upgrade of one of the maven plugins though. To see what the final pom is, try: mvn help:effective-pom The easymock needed to be downgraded as it is a Java 5 version incompatible with wicket-spring (which is java 1.4). Martijn -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Constructing a list of links from java
Hello Dustin, You can also find more information on the wiki: http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html Regards, Erik. Dustin Sallings wrote: I am trying to convert an old struts and tiles/jsp app to wicket. This app has a bunch of links that get added programatically. I'd like my template to have a ul to which I'd append several li elements containing links. What is this obvious thing I'm missing? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Login to wicket-app from another site
You do not have to use the existing signin page. You could write a page that has a constructor with 1 parameter of type PageParameters. Then mount that page to some URL and call it directly from your other application. The username and password can be in post parameters or in the URL directly. In the constructor the page would authenticate the user and when done throw a RestartResponseException to render the home page. Regards, Erik. Konstantinos Lazouras wrote: Is there a better way to do this? -konstantinos -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] multiple links in article
Hi Ted, You probably have to change the text yourself. URLs you can get from the method Component#urlFor(Class,PageParameters). Regards, Erik. Ted Roeloffzen schreef: Hi all, We are working on a CMS which uses Wicket and Jackrabbit. Currently we're working on linking between different pieces of content. We want to have an article which has several links to other content, but how do we render that with wicket. Normally i would use a repeater when i don't know how many items i have to add, but in this case the links have to be placed between text. like so: In the previous article(link) we referred to the site from Wicket(link). and so. How could we achieve this while using Wicket? regards, Ted - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: Last change required for reloading classes
The ssl certificate of Jira has expired :) Erik. Jean-Baptiste Quenot wrote: Could you please decide where this feature goes and close https://issues.apache.org/jira/browse/WICKET-126 -- Erik van Oosten http://day-to-day-stuff.blogspot.com/
[jira] Updated: (WICKET-176) Introduce AjaxFormElementValidatingBehavior
[ http://issues.apache.org/jira/browse/WICKET-176?page=all ] Erik van Oosten updated WICKET-176: --- Attachment: AjaxFormComponentValidatingBehavior.java I found out that AjaxFormComponentValidatingBehavior is a better name for the class. Introduce AjaxFormElementValidatingBehavior --- Key: WICKET-176 URL: http://issues.apache.org/jira/browse/WICKET-176 Project: Wicket Issue Type: New Feature Components: wicket Affects Versions: 1.2.3 Reporter: Erik van Oosten Attachments: AjaxFormComponentValidatingBehavior.java There is currently no easy way to validate a single form element using Ajax. Please add attached code to the Wicket-core. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: wicket-examples compilation failure
Yes, the Eclipse and Sun compiler differ quite annoyingly in how they treat casts that have a generic component. Unfortunately this is not a setting. There are more differences. For example JRockit behaves weird around warnings for deprecated methods. Regards, Erik. Johan Compagner wrote: thx fix it. strange that compilers are that different. should be a setting then somewhere in eclipse. johan -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/
Re: Dinamically change header title
Hi Paolo, Just add(new Label(title, new title value)); Regards, Erik. Paolo Di Tommaso schreef: How to change an page header title? Is it possible to make something like this: wicket:head title wicket:id=title my dinamic title /title /wicket:head But how to map then in code? Or does exist another API method? Thank you, Paolo -- Erik van Oosten http://day-to-day-stuff.blogspot.com/
Re: [Wicket-user] ajax component caching
There is indeed a good case for not caching css in development mode. It is a mortal sin in deployment mode. Erik. Carfield Yim wrote: I am now put the CSS to classpath, after the CSS the browser don't get the new one. And this only happen in ModalWindows, normal webpage will fetch the CSS after it change On 12/18/06, Matej Knopp [EMAIL PROTECTED] wrote: What's the reason of not caching css? -Matej -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] wicket-stuff svn issues
I guess you missed Martijn's e-mail: http://www.nabble.com/Wicket-Stuff-SVN-repository-change-tf2760948.html#a7697553 Regards, Erik. Ryan Sonnek schreef: I know this isn't a core wicket issue, but is anyone else having issues with the wicket-stuff svn on sourceforge? I'm getting: 405 Method Not Allowed (https://svn.sourceforge.net https://svn.sourceforge.net) -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How can I do URL mapping in wicket?
Perhaps you made Registration protected with some kind of authorization scheme? Erik. Carfield Yim schreef: I don't know why but I cannot get it to work, After I add the map, say mountBookmarkablePage(/signup, Registration.class); If I go to URL: http://192.168.1.79:8080/wicket/app/signup then wicket forward me to http://192.168.1.79:8080/wicket/app/signup?wicket:bookmarkablePage=:com.xxx.base.Logon And just show the login page instead of registration page -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] About putting other resources in classpath
Hi Carfield, You don't need to do anything special to get this to work. Example: In the package 'com.my.company': MyPanel.java, MyPanel.html, MyPanel.css and in the sub-package 'com.my.company.img': image.jpg. In MyPanel.html: wicket:head wicket:link link rel=stylesheet type=text/css href=MyPanel.css/ /wicket:link /wicket:head In MyPanel.css: .image { background-image: url('img/image.jpg'); } See also http://cwiki.apache.org/WICKET/including-css-resources.html Erik. Carfield Yim schreef: I would like to put all my image and CSS to classpath so that when I update my web application, I just need to replace the jar. I am now thinking having logic at onBeginRequest() to check the URL and see if the request path have resource exist in classpath. If it exist, open outputstream of response and deliver to client. Just wonder if there any better way to do this task -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Why I recommended Wicket...
Despite the trade off you depict very well, I can still the benefits of this approach: - no more session time outs, - infinite number of pages in pagemaps, - and a bit more theoretic: smooth scalability. I say theoretic since it is not likely you'll need this kind of scaling. Regards, Erik. Igor Vaynberg wrote: client side storage doesnt really make sense. what you make up in ram you give up in cpu+bandwidth. which is cheaper? lets say you have a page that is 30k big when the object graph is serialized. you need to store it on the client. you need to encode it first, usually base64 encoding which results in 33% increase in size - since this is the most commonly used method lets go with it ( you can also use something like yenc which will result in smaller size but higher cpu utilization ). so now your 30k page is 40k encoded. user requests this page, this html is rendered+40k hidden field. user submits a form/clicks a link, now you submit the data for the form/link + 40k hidden field. then your cpu needs to decode it, deserialize it - so now instead of using session you are 80k per request overhead in bandwidth + cpu power to decode it. we know the cpu power scales - just throw more nodes into the cluster - but it doesnt really scale per request because that is a single thread. so in every request you have the overhead of transferring 40k + decoding + deserialization + serialization + encoding. is it worth it? ram is cheap, if you are serious about clustering your project you can prob afford a box with 4gb ram - thats even little for servers nowadays. lets say out of that only 2gb is avail to the servlet container, how many 30k pages can you fit into 2gb? -igor -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Component should never pass in null to model.getObject(), how else to get a reference to Application within a Model that could be detached within a clustered environment?
You can get the current application with Application.get(). Similarly, you can also get the current Session with Session.get(). As you found out yourself, you should never ever hold on to a reference to the Wicket Application. Before you know it it is serialized into a replicated session. Regards, Erik. David Berkman wrote: .Well, inside the model, how am I to know the Application context I’m acting within? I have no other reference back to the Application context. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Why I recommended Wicket...
- and a bit more theoretic: smooth scalability. I say theoretic since it is not likely you'll need this kind of scaling. And that is just what igor was trying to explain. You will not get smooth scalability Because much more cpu power is needed and more importantly external bandwidth. Actually that makes the curve on the graph with the required number of boxes against the number of users even more smooth! For this curve it does not matter that you need more CPU and more bandwidth. The point is that the curve will resemble a line even when you need to support millions of users. - no more session time outs, That depends, then we also have to serialize the WebSession with every page. The problem with that approach e is that you also rollback your websession when using the back button So when you are now on page X and you go to Page Y and then Z by that you do set something in the session Then the user presses twice on the back button and you are back to page X and you submit. If then you also restore the session object you have lost the values what you have done when you where in Y and Z I see. Yes that would be a very hard problem. - infinite number of pages in pagemaps, Thats already being solved by the SecondLevelCacheSessionStore Good to have a more solid solution then client serialization. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] 'Virtual' folders in url structure
Ryan, Perhaps the encoder described in http://issues.apache.org/jira/browse/WICKET-138 is something for you. Regards, Erik. On 12/15/06, *Ryan* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I am trying to implement an IRequestCodingStrategy that creates a virtual directory in the url path for all generated links. An example url would be: /contextName/folder-name1/mount/path/Home /contextName/folder-name2/mount/path/Home I would like both urls to go to Home.class which is mounted on /mouth/path. I also would like other type of urls written in this structure (such as listeners for links) /contextName/folder-name1/listener/wicket-id-of-listener/[...] I thought that I would be able to do this by extending WebRequestCodingStrategy and providing my own implementation of urlPrefix(RequestCycle) which obtained the virtual folder name from somewhere in my application and appended it as part of the context name. This way every url would have this appended and on decode I could extract it as the first path after the context name. My plan was spoiled by urlPrefix(..) being labeled final. My next approach was to override WebRequestCodingStrategy.encode(...) to call the super and return the super results with the folder appended to the beginning. This looks like it has some promise assume 1) I don't use mounts which would cause encode* not to be called and 2) I figure out some way to handle decode (which is another final method that only provides a few places to override a method, mostly around add*() ). Is there something I am over looking? Is there a better way to do this? Ryan -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Why does everything need to be Serializable when I use AjaxEventBehavior?
Hi Ian, Since you are replying to another thread your question will probably go unnoticed. In addition the threads on nabble.com get polluted. So the message is: please only reply when you have a reply. Meanwhile: the question is very valid, so you could resend it. Regards, Erik. Ian Clarke schreef: An unrelated question: I'm currently using Wicket 1.2.2. I know the current version is 1.2.3, and there is a 2.0 in the works. My project is scheduled for launch around April of next year, and we have used Quickstart as a starting point. Should we be thinking about upgrading now or later? Are there major advances in these new versions? Ian. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can I have multple template for single class?
You could that. However, if you follow a Wicket generated link you loose the parameter. Better aproach is to use style. Either overload Session.getStyle() or call Session.setStyle() (note: I've also never used this :) ). For the rest this works the same as variants. Regards, Erik. Carfield Yim schreef: Just found out we need to overload method getVariation() instead. Oeps, I am sorry. I've never used it myself. By the way, may be we can have a standard HTTP request parameter name, say variation . Then, for the method getVariation(), instead of just return null by default, may be we can change the implementation as public String getVariation() { return getRequest().getParameter(variation); } So that user can have variation anytime they like for all component/page? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can I have multple template for single class?
Hi Carfield, Try something like: public Logon() { setVariant(Boolean.valueOf(getRequest().getParameter(isliteversion)) ? lite : normal); } Regards, Erik. Carfield Yim schreef: The choice to use which from code? Like public Class Logon extends WebPage { public Logon() { if(true.equals(getRequest().getParameter(isliteversion))) // choose template 1 else // choose template 2 } } - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Can I have multple template for single class?
No, its Logon_lite.html and Logon_normal.html. You can also still use i18n and style versions. I forgot the exact order but then you'll get files like Logon_en_lite_green.html for English, variant lite and style green. Regards, Erik. Carfield Yim schreef: Then it will refer to lite.html and normal.html?? On 12/15/06, Erik van Oosten [EMAIL PROTECTED] wrote: Hi Carfield, Try something like: public Logon() { setVariant(Boolean.valueOf(getRequest().getParameter(isliteversion)) ? lite : normal); } Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Back button - redirect to another page
Hi Jan, Try to throw an RestartResponseAtInterceptPageException. Erik. jan_bar schreef: Thanks Johan for your time and support, I tried to override onBeforeRequest(), just to test - the first call to onBeforeRender suceeds but any furter call will throw and should redirect to some page, but the redirect doesn't work. Wicket doesn't do anything special on AbortException. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link#setEnabled( false ) does not disable button element
Hi Paolo, attempt-to-precise-semantics Actually, everything is uniform at this moment. The contract for Component#setEnabled says: * Sets whether this component is enabled. Specific components may decide to * implement special behavior that uses this property, like web form * components that add a disabled='disabled' attribute when enabled is * false. If it is not enabled, it will not be allowed to call any listener * method on it (e.g. Link.onClick) and the model object will be protected * (for the common use cases, not for programmer's misuse) Both Link and Button adhere to this contract. Furthermore Link and Button do not have an extends relation, otherwise the contract could be tightened by one of them. attempt-to-precise-semantics But I understand your point. Once you expect a component to render differently when it is not enabled, you would like all components to do so. I know that this is a very little thing, but great stuff are made of little things also. I like that statement :) Regards, Erik. Paolo Di Tommaso schreef: I disagree about that. Methods semantics for components should be uniform, this is the most important rule for API simplicity and coherence. If Button#setEnabled( false ) is rendering a button in disabled state, I will expect that Link#setEnabled( false ) attached to a input type=button / tag will do the same. I know that this is a very little thing, but great stuff are made of little things also. Thanks, - Paolo -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/
Re: [Wicket-user] Link#setEnabled( false ) does not disable button element
True. To make it rock solid, I think it should be adaptable and/or extendable. IMHO it is not fair to expect that the change you propose is done perfectly from the start and maybe not even ever. If you go for slightly less rock solid, one can write code for every component known in the html specification (and perhaps some more). Anyway, supporting buttons is a great first step. Regards, Erik. Eelco Hillenius wrote: You're right of course. It would blow up link quite some, but that's just code; nothing that would hurt your runtime system. Can anyone (you?) provide a rock-solid patch for this and/ or open up an issue at JIRA? Eelco -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/
Re: AW: [Wicket-user] Link#setEnabled( false ) does not disable button element
Actually you can disable a button (I believe starting with HTML 4.0). For example: input type=submit disabled=disabled / This even works well for a css styled button. Regards, Erik. Korbinian Bachl schreef: You know that HTML does not provide a disabled button?- so what do you expect? in case of link its easy as its just underlined text, but what do you want in case of button? - img wont work, as usually CSS styles it, text isnt a button so the options are gone Regards -Ursprüngliche Nachricht- Von: Paolo Di Tommaso [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 13. Dezember 2006 08:33 An: wicket-dev@incubator.apache.org Betreff: Re: [Wicket-user] Link#setEnabled( false ) does not disable button element I disagree about that. Methods semantics for components should be uniform, this is the most important rule for API simplicity and coherence. If Button#setEnabled( false ) is rendering a button in disabled state, I will expect that Link#setEnabled( false ) attached to a input type=button / tag will do the same. I know that this is a very little thing, but great stuff are made of little things also. Thanks, - Paolo On 12/12/06, Erik van Oosten [EMAIL PROTECTED] wrote: Well, a Link can be attached to any HTML element so I think it can not know (in general) how to render the element disabled. A Button component can only be attached to an html button; for an html button it is known what to do. One could argue that the Link component can see what type of element it is attached to and do something appropriate. But that would blow up the implementation of Link which is probably not a good thing. Regards, Erik. Paolo Di Tommaso schreef: Invoking the Link#setEnabled( false ) on a input type=button / element will not disable the component. The onclick handler will not be invoked (disabled) but it does not apper as a disabled component. Instead invoking Button#setEnabled( false ) will render the button disabled. I think it would be simpler if it will be rendered disabled in both cases. Won't be? - Paolo -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/
Re: WicketFilter for dummies
Johan Compagner wrote: Then i need to know that /app in the filter. You can't ask it anywhere (not that i know) Perhaps it is possible to parse the web.xml from Wicket? Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/
Re: [Wicket-user] How to get the Exception on the Exception page?
Hello Jean-Baptiste, Unfortunately not. I was able to trace the exception handling in both cases (with and without Ajax) but could not yet conclude on how to improve the situation. Erik. Jean-Baptiste Quenot schreef: Hi Erik, Were you able to find a solution to be able to present the user with meaningful error page when an Ajax request fails? I'm also interested in that. Cheers, -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Link#setEnabled( false ) does not disable button element
Well, a Link can be attached to any HTML element so I think it can not know (in general) how to render the element disabled. A Button component can only be attached to an html button; for an html button it is known what to do. One could argue that the Link component can see what type of element it is attached to and do something appropriate. But that would blow up the implementation of Link which is probably not a good thing. Regards, Erik. Paolo Di Tommaso schreef: Invoking the Link#setEnabled( false ) on a input type=button / element will not disable the component. The onclick handler will not be invoked (disabled) but it does not apper as a disabled component. Instead invoking Button#setEnabled( false ) will render the button disabled. I think it would be simpler if it will be rendered disabled in both cases. Won't be? - Paolo -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] HTML ids in 2.0-SNAPHOT are being generated even when hardcoded
Hi Igor, I also have a few hardcoded ids in my current Wicket 1.2 application. Regards, Erik. Igor Vaynberg schreef: yeah i changed it, didnt think anyone was using this particular facet. im not sure if we should put it back. the problem is sometimes you can paint yourself into a nasty corner. if you have a component that uses a hardcoded id, and later the user of that component uses it twice in a page, or puts it into a repeater you will have duplicate ids in html which is not legal, and whats worse is it will break ajax/js/css but it will be very hard to track down. thoughts? -igor -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How to prevent a complete submit from AjaxFormValidatingBehavior?
Hello, I am trying to use the AjaxFormValidatingBehavior like this: AjaxFormValidatingBehavior.addToAllFormComponents(form, onchange); but unexpectedly the form is also submitted (and not just validated). Is this intentional, a bug, or am I missing something? Is there a workaround? I am using a very recent copy of the 1.2.x branch. BTW, the example on http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=wicket-1:wicket.examples.ajax.builtin.FormPage does not seem to work anymore. That is, it does not validate upon keyup events. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to prevent a complete submit from AjaxFormValidatingBehavior?
Hello, I found a solution. The following code is actually all that was needed: public class AjaxFormValidatingBehavior extends */AjaxFormComponentUpdatingBehavior /*{ private final Component feedbackPanel; public AjaxFormValidatingBehavior(String event, Component feedbackPanel) { super(event); this.feedbackPanel = feedbackPanel; } protected void onUpdate(final AjaxRequestTarget target) { target.addComponent(feedbackPanel); } public static void addToAllFormComponents( final String event, final Form form, final Component feedbackPanel) { form.visitChildren(FormComponent.class, new IVisitor() { public Object component(Component component) { component.add(new AjaxFormValidatingBehavior(event, feedbackPanel)); return IVisitor.CONTINUE_TRAVERSAL_BUT_DONT_GO_DEEPER; } }); } } Note that this version of AjaxFormValidatingBehavior has a different base class then the Wicket version. Use it like this: AjaxFormValidatingBehavior.addToAllFormComponents(onchange, form, feedbackPanel); Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[jira] Created: (WICKET-153) FormElement cookies not set when called using AJAX
FormElement cookies not set when called using AJAX -- Key: WICKET-153 URL: http://issues.apache.org/jira/browse/WICKET-153 Project: Wicket Issue Type: Bug Components: wicket Affects Versions: 1.2.3 Reporter: Erik van Oosten I have a DropDownChoice with wantOnSelectionChangedNotifications returning true and persistent set to true. Unfortunately the cookie is not set when the submit is done through AJAX (with an AjaxSubmitButton). In addition when there is a cookie in the AJAX request, that cookie is not used for the form component's value when it is constructed during the AJAX call. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (WICKET-21) Inherit authorisation rules from base class
[ http://issues.apache.org/jira/browse/WICKET-21?page=comments#action_12456717 ] Erik van Oosten commented on WICKET-21: --- Ok. That is fair. At least someone who want to do this can grab the code from this issue. Inherit authorisation rules from base class --- Key: WICKET-21 URL: http://issues.apache.org/jira/browse/WICKET-21 Project: Wicket Issue Type: Improvement Components: wicket-auth-roles Affects Versions: 1.2.2 Reporter: Erik van Oosten Please make authorisation rules inheritable from the base class(es) of a component. The following change will allow you to define authorization rules on some class. All sub-classes will automatically inherit these authorization rules. It is easy to override this by explicitly adding authorization rules for a subclass. Change InstantiationPermissions#authorizedRoles to: // TODO: make java 5 code by inserting generics again public Roles authorizedRoles(final Class componentClass) { if (componentClass == null) { throw new IllegalArgumentException(Argument componentClass cannot be null); } Class c = componentClass; while (Component.class.isAssignableFrom (c) !rolesForComponentClass.containsKey(c)) { c = c.getSuperclass(); } return (Roles) rolesForComponentClass.get(c); } This has been tested under a jrocket 1.4 jvm. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: VOTE: make all onComponentTag and onComponentTagBody methods non-final
Hi Martijn, Nice excercise. As a user of Wicket, I'd say: Which one gets precedent? The modifier or onComponentTag? either modifier or neither (an exception). The modifier is added later and provides a one-time way to adapt an existing component. Letting the component have precedence is weird because then the modifier was added for nothing. If it is not possible to make this consistent, it should not be allowed (the exception). If it is not possible to check the consistency, the whole model is wrong so I do not believe that this is the case. Does it even matter? yes and users will expect it to be consistent for eternity (I would). Is the order of execution something that needs to be documented as a fixed contract, don't we care, should we even care? yes, no, yes. I understand your reservation; there are many ways in which a small misunderstandings of the user can lead to users. However, I feel sometimes feel the same frustration as Eelco describes. It happens at points where I want to combine some simple stuff (like 1 line in JSP) where in Wicket I have to either copy a whole class from the core, or add 3 behaviors each with their own custom anonymous model class (20 lines). Wicket is super duper excellent for combining larger things, but it gets a bit cumbersome when you're trying to combine small things. Besides, a fool will shoot himself in the foot eventually. Regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/
Re: [Wicket-user] FormElement cookies not set when called using AJAX
Ok, thanks Igor. Done that. Erik. Igor Vaynberg wrote: this might be a bug, file an issue and someone will have a looksee -igor -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: VOTE: make all onComponentTag and onComponentTagBody methods non-final
[X] Yes [ ] no Yes! My first vote here :) (These are open votes, right?) Erik. Eelco Hillenius wrote: I think using final for the onComponentTag and onComponentTagBody methods have served their purposes fine during our wild two years of development, but our core components are now stable enough to not have to be worried about painting ourselves in the corner when we would open up these methods (ie remove final). Please vote: [ ] yes, make all onComponentTag and onComponentTagBody methods of the standard components in core non-final. This does leave the door open for specific components to not adhere to that - I'm not proposing a new standard - but if this wins we would remove final for most of em [ ] no, leave the code as it is now Eelco
Re: [Wicket-user] Issue about working with designer
Hi Carfield, Did you already look whether Border fits your need? Regards, Erik. Carfield Yim schreef: One issue I encounter now is the designer have problem of locating HTML template that he like to edit so everytime he need to ask me where is the template is. As most the the component I use is Panel, so I've thought of extending Panel to a custom BasePanel and just add one label at the top to show the classname for development mode. However, if I doing that I have to modify every templates to have that label. Which don't sound like a good approach. By the way I would like to wrap the panel with outlines so the designer can see region of that panel taken. Just wonder if wicket already support this kind of debug mode? Or will anyone have any better suggestion? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] i18n and SimpleFormComponentLabel
Hi Rüdiger, Although at the end of your e-mail I thought yes, he's right! there is one thing you missed: the label does not have to have the same text as the name of the field. For example, in my current application I have the following components on a search form: Component:label-housenumber [field-from] [field-till] Text/fieldname:House number[housenumber from] [housenumber till] The label is coupled to the first field. As you can see the label is different from the name of the first field. The only thing is, it is a bit weird I need to set a resource model on the field to get the text in the label. Still, it would be nice to default to what you described. You could create an issue for it (with code to have it more quickly). You can find Jira here: http://issues.apache.org/jira/browse/WICKET Regards, Erik. Rüdiger Schulz schreef: Hello everybody, I just wanted to dive a little into wicket i18n, and stumbled upon this: Say I have page with this simple form: Form form = new Form(form); add(form); FeedbackPanel feedback = new FeedbackPanel(feedback); form.add(feedback); TextField tx = new TextField(text); tx.setRequired(true); form.add(tx); and corresponding properties file for the page: form.text=FormTexti18n When I submit the empty form, I get the message: field 'FormTexti18n' is required. So, my label from the properties is used for the validation message. So far, so good. Now I'd like to have a label for the TextField, displaying the same string from the properties. Also, a normal Label is not enough for me, I'd like to change its CSS style depending on having an error. So I start with this: SimpleFormComponentLabel label = new SimpleFormComponentLabel(textLabel, tx); form.add(label); Now I get an error: java.lang.IllegalStateException: Provided form component does not have a label set. Use FormComponent.setLabel(IModel) to set the model that will feed this label at wicket.markup.html.form.SimpleFormComponentLabel.init(SimpleFormComponentLabel.java:46) Okay, this error tells me what to do, and I could do a tx.setLabel(new ResourceModel(form.textLabel)); And everything works fine. But ... :-) Is this really necessary? This ResourceModel is only required for the SimpleFormComponentLabel, I already have label through the properties! The JavaDoc FormComponent#getModel() says The value will be made available to the validator property by means of ${label}. Which it does, but I'm wondering why SimpleFormComponentLabel can't do this the same way as the validator? Or is this one of those issues which will be gone with the changes in 2.0? greetings, Rüdiger -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[jira] Updated: (WICKET-138) new MixedUrlEncoding
[ http://issues.apache.org/jira/browse/WICKET-138?page=all ] Erik van Oosten updated WICKET-138: --- Attachment: MixedParamUrlCodingStrategy.java new MixedUrlEncoding Key: WICKET-138 URL: http://issues.apache.org/jira/browse/WICKET-138 Project: Wicket Issue Type: New Feature Components: wicket Affects Versions: 2.0, 1.3, 1.2.4 Reporter: Erik van Oosten Attachments: MixedParamUrlCodingStrategy.java, MixedParamUrlCodingStrategyTest.java The current URL encoders have no variant that allows you to specify a part of the parameters as URL path and the rest as querystring. Attached is an implementation that does this. Feel free to include this in the wicket repository. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [Wicket-user] Whats Wickets way of searching all resource files
Interesting. Can you see what happens if the *_en.properties file is not there? Perhaps we need to change the text on the wiki, or else we should file an issue in Jira. Regards, Erik. Jesper Preuss schreef: I have a question about what Wicket should traverse properties files and what it does. Take a look in http://cwiki.apache.org/WICKET/i18n-and-resource-boundles.html here it says Wicket will look in properties files according to this: 1. MyPanel_locale.properties 2. then MyPanel.properties 3. MyPage_locale.properties 4. then MyPage.properties 5. MyApplication_locale.properties 6. then MyApplication.properties According to my tests (with en english locale) it will only traverse the properties with locale english. Not the default locale. Have I misunderstood anything? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to get the Exception on the Exception page?
Hi Frank, Yes, that is what I do already. But I would like to redirect to a page where the user can see the exception and put it in a tracking system. That exception is invaluable because access to the logs of a production system is problematic. Erik. Frank Bille schreef: For failing ajax request shouldn't you use the failure script (CallDecorator). We do that at work as a backup. Frank -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Problem disabling PageMaps
Well, as long as the data is in the session and not outside, you should be okay. Still, after you tried Igor's idea (the log4j debug parameter), you may want to take a look at the class LoadableDetachableModel. If you are interested, I made a small variation on LoadableDetachableModel that does not clear the data upon detach. Erik. A. Zwaan schreef: Hello Erik, I’m using wicket 1.2. The pages themselves get the data from an object in the session every time it’s needed. There are quite a few panels though that use models which in turn do have a reference to the object in the session. But I don’t see a possibility of changing that somehow, the models need access to the object in several methods, and I can’t use parameters to give it to the method directly. So I hope that’s not where the problem is. Regards, Arjan Zwaan. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Changing class attribute of a HTML-tag
Hi Ted, I see that the component is called 'list'. If it is a ListView (or similar) you should also read the FAQ entry on http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html. Regards, Erik. Ted Roeloffzen wrote: list.add(new AttributeModifier(class, new Model() { public Object getObject(final Component component) { String cssClass; if(isHorizontal) { cssClass = menuItemsHorizontal; } else { cssClass = menuItemsVertical; } return cssClass; } })); This is almost exactly the same as the example i got from Erik. Ted -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Forum congratulations...
I do not agree. I think we (the Wicket users and Wicket website master) should spend more time on making the existing FAQs more easily accessible. :) Erik. Nick Heudecker wrote: However, the same or similar questions are asked frequently. We (the Wicket users) should spend more time putting together FAQs. On 12/1/06, *Pierre-Yves Saumont * [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: I feel the only reason why there are so many questions asked on this list is because we can get so many and relevant answers. Nothing to do with lack of documentation or Wicket being too difficult to use. Pierre-Yves -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Problem disabling PageMaps (A. Zwaan)
Hello Arjan, Please verify that you are running in deployment mode. Regards, Erik. A. Zwaan schreef: Hi all, Our web-application is getting OutOfMemoryErrors and PageMaps seem to be the cause (they seem to be writing a lot to an outputstream), I've been trying to disable them, but they keep showing up with multiple instances of the same page in the session (which is not needed in our case). I'm using the InspectorBug class from wicket.examples.debug, to see what's in the session btw. .. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to get the Exception on the Exception page?
Okay great, that works. I would not have found that myself. Now I also would like to redirect to the error page when an _Ajax_ request fails. Currently I have some javascript that triggers when the request fails, but that way the exception is lost. Thanks, Erik. Johan Compagner schreef: no the internal error doesn't get the exception. You can override this and do what every you want with the method : RequestCycle.onRuntimeException() johan On 11/29/06, * Erik van Oosten* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hello, I would like to override the default exception page. We now do that with: getApplicationSettings().setInternalErrorPage(MyErrorPage.class); However, I can not seem to find a way to get the thrown exception on that page. Can anyone tell me how to get it? Any help is appreciated. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Problem disabling PageMaps (Erik van Oosten)
Hi Arjan, What Wicket version are you using? In addition, you can try to identify components that keep references to objects outside the page structure. In wicket 2 this will all be serialized so you need to keep your components lean. If you use clustering this is also important in wicket 1. Erik. A. Zwaan schreef: Hello Erik, We are running in deployment mode, I’m afraid we already tried that. It seems to be the PageMaps that are causing the problems by writing a lot of data to an outputstream. Also having multiple PageMaps is unnecessary in our case, but the Application seems to keep making new ones. I have tried various settings for PageMaps, but none of them seem to work. The settings I tried were: - getApplication().getPageSettings().setMaxPageVersions(0); - getApplication().getPageSettings().setVersionPagesByDefault(false); - getApplication().getSessionSettings().setMaxPageMaps(1); Regards, Arjan Zwaan. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to get the Exception on the Exception page?
Interesting. I'll look into the code tomorrow. Any hints on where at which point I can start looking? BTW, I am using the 1.2.x trunk from a couple of days ago. Erik. Matej Knopp schreef: SetResponsePage should work. However, I'm not sure about failing ajax request. Meybe we catch the exception on some other place, I'm not sure. -Matej -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] Forum congratulations...
Congratulations, this mailing list is the most active java web framework forum on Nabble! http://day-to-day-stuff.blogspot.com/2006/11/wicket-most-active-java-web-framework.html - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] cannot disable AjaxLink
Looking in the code of AjaxLink I see no special code for enabled/disabled state. If it fits what you need, you could try AjaxFallBackLink. Otherwise try to extend AjaxLink and override the method renderComponentTag in which you remove the onclick attribute from the tag. (Don't forget to call super.renderComponentTag.) Regards, Erik. De Soca schreef: Hello, just wondering if this a bug or a feature. Using one of the AjaxLink samples included in the Wicket examples, it seems that the setEnabled flag is ignored for AjaxLinks. i.e ajaxLink.setEnabled(false); Seems to have no effect. Is this a feature or defect etc? Thanks. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Question about StringResourceModel
Could you be more specific in what you want to achieve? If you want to use a simple message (no arguments) from a resource bundle add(new Label(notice, new ResourceModel(notice))); would be sufficient. Do you need info on where to put the messages? Erik. Nick Heudecker schreef: I'm trying to get the following working and I'm not having much luck: 1. IModel model = new LoadableDetachableModel() { 2. protected Object load() { 3. return session.getRegistrationToken ().getPerson(); 4. } 5. }; 6. 7. add(new Label(notice, new StringResourceModel(notice, this, model))); 8. 9. 10. notice=You currently have a registration in progress for ${firstName} ${lastName}. Any thoughts? Thanks for your time. -Nick -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
New property expression langauge: MVEL
Hello, There is a new property expression language called MVEL. If you look at http://wiki.mvflex.org/index.php?title=MVEL_Language_Reference you can see it is quite powerful. It also claims to be very fast. Perhaps it is appropriate to use MVEL as Wicket's default property language? Or do you think it is too powerful? Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/
Re: [Wicket-user] How to write html pages without default header contributions?
Hello, Since the e-mail below I have not gained any further insights. Therefore we solved the matter with a huge kludge: a filter that removes javascript. Regards, Erik. Erik van Oosten schreef: Hello, I have a requirement to download html files so that they can be added to an electronic dossier. These files need to be completely self-contained, so no javascript, stylesheets, links, etc. My approach so far was to simply call the following in the constructor of the page: getWebRequestCycle().getWebResponse().setAttachmentHeader(filename); The problem with this approach is that I can not find a way to get rid of the default header stuff like the Ajax console and the pagemap trickery. The pagemap trickery is configured in the constructor of WebPage. I could not find a decent way to (temporarily) disable this. For example by calling getApplication().getPageSettings().setAutomaticMultiWindowSupport(false). Doing this in onBeforeRender is clearly too late. Why the header stuff for the ajax console is added is another riddle for me. As far as I can see, there is no ajax behavior added to any component on the page. Another approach I tried was to disable all header contributions. Unfortunately I could not find the appropriate hooks for that. Does anybody have an idea on what I could do? Thanks and regards, Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: my feedback after using 1.2.x in a real app
You can override keys in any component. Please see here: http://cwiki.apache.org/WICKET/i18n-and-resource-boundles.html Alexei Sokolov wrote: 1. Please remove 'null' and 'nullValid' properties from wicket/Application.properties The names are too generic and used by Dropdown controls. So that leaves just number 2. Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/
Re: [Wicket-user] Create a form in a panel and use at another page
Hallo Carfield, You can add a feedback panel to your panel: code: add(new FeedbackPanel(feedback)); html: div wicket:id=feedback/div Erik. Carfield Yim schreef: Sorry all, ignore this, just notice it is because I am using RequiredTextField() but one field is missing. However, how can I let user know some require field is missing? Is there any predefine ID for the user to like span wicket:id=messages/span that will output the error message to user? -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How to write html pages without default header contributions?
Hello, I have a requirement to download html files so that they can be added to an electronic dossier. These files need to be completely self-contained, so no javascript, stylesheets, links, etc. My approach so far was to simply call the following in the constructor of the page: getWebRequestCycle().getWebResponse().setAttachmentHeader(filename); The problem with this approach is that I can not find a way to get rid of the default header stuff like the Ajax console and the pagemap trickery. The pagemap trickery is configured in the constructor of WebPage. I could not find a decent way to (temporarily) disable this. For example by calling getApplication().getPageSettings().setAutomaticMultiWindowSupport(false). Doing this in onBeforeRender is clearly too late. Why the header stuff for the ajax console is added is another riddle for me. As far as I can see, there is no ajax behavior added to any component on the page. Another approach I tried was to disable all header contributions. Unfortunately I could not find the appropriate hooks for that. Does anybody have an idea on what I could do? Thanks and regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to write html pages without default header contributions?
Meanwhile I did find the culprit for the ajax console. It was an AjaxFallbackLink subclass, rendered in disabled state. Erik. Erik van Oosten wrote: Why the header stuff for the ajax console is added is another riddle for me. As far as I can see, there is no ajax behavior added to any component on the page. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Authorization startegy redirect but keep parameters
Hello Marc, It is indeed very easy once you know where to look :) Once the user is authenticated in the Login page you do something like this: if (!continueToOriginalDestination()) { setResponsePage(Application.get().getHomePage()); } This will set the response page only when you got here directly. Otherwise it will use the original URL that was requested while the RestartResponseAtInterceptPageException was thrown in your code below. Does this solve your problem, or did I misread something? Erik. Marc-Andre Houle schreef: Hello group, it is again me for another question! :) I'm trying to build an Authorization strategy around AbstractPageAuthorizationStrategy. For now, the authorization strategy is really simple as you will see in this copy-paste of code : protected boolean isPageAuthorized(Class pageClass) { if(instanceOf(pageClass, BaseSecurePage.class) ((PortalSession)Session.get()).getSessionId () == null) { throw new RestartResponseAtInterceptPageException(Login.class); } if(instanceOf (pageClass, BaseAdminPage.class)) { return ((PortalSession)Session.get()).isUserAdmin (); } return true; } For now, there was no problem at all and everything is perfect. But the problem is, my boss want our application to support node linking when not logged in. you know, like you click on the link, the application tell you to log in and after your log in you are redirected to the correct page. Seem's prety simple, load the class to get a page, add to this page the parameters used before the trigger of the authorization strategy. The problem is : I can't find a way to discover the page parameters. It is not accessible from the session nor the application (At least, from what my search in the api have done). So for now, I'm stuck with a login page that do not know where to redirect after the login. Can somebody help me with that? Thanks in advance for the answer and really sorry if it is so obvious. Marc -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Question about feedback panel
Hello Carfield, You can call the methods error, info and warn on any component to add messages to the message list. Regards, Erik. Carfield Yim schreef: Just know this component when I ask getting feedback about RequiredTextField() . Look like it is very useful if I can reuse this component for customizable cases like password not match or other custom validation. Am I just extends feedback panel and call getCurrentMessages() and add a FeedbackMessage object to the list is ok? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?
Hi Carfield, I think you are looking for this information: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html Regards, Erik. Carfield Yim schreef: As the user will deploy the application with difference web application name, like http://host1/app1 or http://host2/app2. The URL will be /app1/images/icon.jpg or /app2/images/icon.jpg . How can I set the image path to something like $baseurl/images/icon.jpg ? I've try to setup base href=/baseurl at head but the rendered HTML don't contain that elements. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] ListView and setRenderBodyOnly
Hi Igor, To ease your life a bit :) I wrote WICKET-71 and updated the wiki (http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html). Thanks for solving WICKET-71 so quickly :) Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[jira] Created: (WICKET-71) Extra clarification on changing rendering of ListView
Extra clarification on changing rendering of ListView - Key: WICKET-71 URL: http://issues.apache.org/jira/browse/WICKET-71 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.2.3 Reporter: Erik van Oosten Please add the following to the class comment of wicket.ListItem. * * p * NOTE: when you want to change the default generated markup it is important to * realise that the ListView instances does not correspond to any markup however, * the generated ListItems do. br / * This means that methods like [EMAIL PROTECTED] #setRenderBodyOnly(boolean)} and * [EMAIL PROTECTED] #add(wicket.behavior.IBehavior)} should be invoked on the ListItem that * given in the [EMAIL PROTECTED] #populateItem(ListItem)} method. * /p -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Wicket-user] ListView and setRenderBodyOnly
Hello, Is there a particular reason why ListView does not respect the RenderBodyOnly flag? I have something like this: span wicket:id=menuitems span class=menuitem wicket:id=menuitem/span /span I want it to render as: span class=menuitemitem 1/span span class=menuitemitem 2/span span class=menuitemitem 3/span etc. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] ListView and setRenderBodyOnly
Thanks Ingram. I can not find it on the Wiki. It is also not included in the ListView javadoc. I could have searched the maillists, sorry. Johan Compagner wrote: this is asked more. Maybe we can set it through on all the items we create? Or can that be confusing in other situations? I think that would a good idea. I can not imagine a situation where this would be confusing. I had to think hard for at least 30 seconds before I understood the solution. The point is that ListView does not correspond to any markup, only the ListItems do. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] IFrame + PageMap
Hello Marieke, I can not help you with the IFrame problem, but you can also use a div with the following style: width: ...; height:...; overflow: scroll; Erik. Marieke Vandamme wrote: What is the solution? I know that using no iframes is the best one, but I have a searchbox + underneath my results. Only the results may be scrollable, so the searchbox is always visible. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Betr.: Re: IFrame + PageMap
Hello, Did you already try to set the src attribute to about:blank the first time? This works in IE and FireFox, not sure about other browsers. Alternatively, you can create a special page that is empty. Erik. Marieke Vandamme schreef: The first time I set the src of the iframe, it doesn't happen indeed. I tried to remove the pagemap, but with no luck. My code now looks like this : PageMap.forName(subpage).remove(); iFrame.add(new SimpleAttributeModifier(src, urlFor(PageMap.forName(subpage), SubPage.class, null))); When debugging public final void renderHead(final Response response) in WebPage, subpage is still an entry of meta.pageMapNames... -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: JIRA as our changes.xml
What I don't like is that is a plain list without any notion on what is important and what is not. Of course, its ok to maintain the changes in a tracking system. But presenting the list of changes exactly as they come from Jira is pretty hard on the reader. It should be fun to read change notes, its what makes you want to use the new stuff. So release notes are an important part of the product. What the heck, I'll volunteer to write those release notes if someone gives me that jira list. Erik. Igor Vaynberg schreef: what about them do you find unreadable? i would be +1 for this. keeping up changes.xml is a pain imho, and since a good amount will already be entered into jira it will take work off us. -igor -- Erik van Oosten http://day-to-day-stuff.blogspot.com/
Re: JIRA as our changes.xml
Ok, let me know when its needed. Erik. Igor Vaynberg schreef: On 11/13/06, Erik van Oosten [EMAIL PROTECTED] wrote: What the heck, I'll volunteer to write those release notes if someone gives me that jira list. https://issues.apache.org/jira/browse/WICKET?report=com.atlassian.jira.plugin.system.project:changelog-panel :) -igor Erik. Igor Vaynberg schreef: what about them do you find unreadable? i would be +1 for this. keeping up changes.xml is a pain imho, and since a good amount will already be entered into jira it will take work off us. -igor -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/
Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap
Hi Neli, Eelco, You need to set the target attribute when you need to support a non-JavaScript browser. Otherwise, the target attribute won't explain the problem Neli is having unless a weird browser is used. I was just surprised the target attribute was not set automatically as I thought Wicket's philosophy was to never depend on JavaScript. However, it is not a big thing, you can easily set it yourself. Regards, Erik. -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] window name is not taken fromPopopSetting's pagemap
Ok. http://issues.apache.org/jira/browse/WICKET-58 Erik. Eelco Hillenius wrote: You need to set the target attribute when you need to support a non-JavaScript browser. Otherwise, the target attribute won't explain the problem Neli is having unless a weird browser is used. I was just surprised the target attribute was not set automatically as I thought Wicket's philosophy was to never depend on JavaScript. However, it is not a big thing, you can easily set it yourself. Good point, maybe we should. Mind opening up a feature request for that? Eelco -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Multi-valued class attribute in onComponentTag()/wicket 1.2.2
Hi Erik, You should look at aTag.getAttributes as if it is a Map. If you do an 'add' you replace the existing value. You can either do a get first and add your value, or use the behavior wicket.AttributeModifier. Regards, Erik. Erik Brakkee schreef: Hi, I want to add an additional class value to the class attritbute of a tag in onComponentTag(): aTag.getAttributes().add(class, newvalue); Looking at the javadocs, this seems to be supported. Nevertheless, while rendering only the first value is rendered (see ValueMap.getCharSequence()). Now what is the point of supporting multiple attributes in the add() method and not supporting them while rendering? I am confused Cheers Erik - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wicket-user Digest, Vol 6, Issue 101
Wicket has no such thing by default. However, I can recommend JFreechart for creating charts. You can serve JFreeChart images from a custom Wicket resource. Erik. ketan gote schreef: hello friends we are looking for some kind of charts , in our project , in wicket wating for reply Regards Ketan D.Gote -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Header contribution not always rendered
My current workaround is to include the reference in the markup with wicket:head tags around it. I am sorry I did not yet have the time to create a quickstart/unit test with the problem. Erik. Maurice Marrink schreef: I am using wicket:1.3-incubating-20061113.111007-1 and also have this problem with javascript not being rendered the second time. I render a new page and all is rendered fine. i click on a link to open a new page. there i click on a link that brings me back to the previous page instance. The javascript in the header is missing the second time. Anybody have a solution yet? Maurice On 11/10/06, Matej Knopp [EMAIL PROTECTED] wrote: That's weird. Which wicket version are you using? Seems that Wicket 1.x has already become 1.3 and the latest revision is 473519. Wicket 1.2 has it's own branch now. Are you sure you're using the apache repository? -Matej Erik van Oosten wrote: Hello, Something is going wrong with my header contributions. A css that was added like this add(HeaderContributor.forCss(MyPage.class, MyPage.css)); are only rendered once and then never again. To be precise: - I start jetty. - I request the page (it is bookmarkable). - I get redirected to the signin page, I log in. - The page is displayed correct (with the css). - I press reload and the css is gone. The link is actually not in the header. - Press reload another 50 times, no more css. I have also seen another scenario: the first time the page is rendered it misses the css, the second time it is present and in all following renderings it is gone. All css added with wicket:head/wicket:link elements renders fine. I am using Wicket 1.x, revision 470570 (at moment of writing the latest revision of 1.x). Any ideas on what it is going on here? Regards, Erik. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Authentication Tomcat - Wicket
Hello Rik, Questions; Do you use a normal login form according to Acegi or do you use a Wicket login form? We use a signin page that is derived from the example in wicket-auth-roles-example. So it's a Wicket login form. Where do you put your authorization settings? The complete authorization picture in my current application is as follows: - We use our wicket-auth-roles port to java 1.4 (took about 15 minutes to make) with just one change so that we can do authorization based on the base class of a component (see https://issues.apache.org/jira/browse/WICKET-21). - MyApplication#init() contains the following code: getSecuritySettings().setAuthorizationStrategy(new MetaDataRoleAuthorizationStrategy(this)); MetaDataRoleAuthorizationStrategy.authorize(SecurePage.class, role_viewer role_administrator); MetaDataRoleAuthorizationStrategy.authorize(AdminPage.class, role_administrator); MetaDataRoleAuthorizationStrategy.authorize(SecurePopupPage.class, role_viewer role_administrator); All pages that need a login extend either SecurePage or SecurePopupPage. - The base class for all pages constructs a menu with links to all pages in the application. If the linked page requires authorization, during construction of the menu MetaDataRoleAuthorizationStrategy.authorize(link, Component.RENDER, roles) is called, where link is a Link instance and roles is derived from the metadata of the linked class. (Though I did not yet write the automatic role derivation, it should be easy to do so.) If desired we could have easily read that information from an ACL file. What do you have in mind as content for the ACL file. I understand from the Acegi reference guide that you can set authorization on domain objects. But what for example if the case is that a delete button may only be visible for administrators? As I said, we don't use ACL files, but it could be as simple as: com.example.app.SecurePage role_viewer role_administrator com.example.app.AdminPage role_administrator How do this for buttons depend on the structure of your application. You'll have to devise a way to identify the button (or better, the function it will perform), and call a MetaDataRoleAuthorizationStrategy.authorize... before the button component is used. Erik. -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] window name is not taken from PopopSetting's pagemap
Should this not also include a target attribute, e.g. target=myReport? Erik. Nili Adoram write: Yes, the generated link is: a href=/mypath//MyReport?wicket:bookmarkablePage=myReport:com.MyReport wicket:id=reportLink onclick=window.open(getReportUrl(), 'myReport', 'scrollbars=yes,location=no,menuBar=no,resizable=no,status=no,toolbar=no'); return false; id=reportLinkReport/a Johan Compagner wrote: what does the link where you click on look like? Does it include the pagemap? johan -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] Wizard StaticContentStep and CompoundPropertyModel
If you want to use a CompoundPropertyModel you can do something like the following in the constructor of the component: setModel(new CompoundPropertyModel(...)); // where ... is either your POJO or another model add(new Label(userModel.userName)); Leave the html unchanged. Because you did not set a model on the label, the label will search in its parent(s) for a CompoundPropertyModel. Regards, Erik. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL PROTECTED] Gesendet: Freitag, 10. November 2006 11:13 An: wicket-user@lists.sourceforge.net Betreff: [Wicket-user] Wizard StaticContentStep and CompoundPropertyModel Hello all ! I would like to add a CompoundPropertyModel as wizard static page. I have done so far: public class StepX extends StaticContentStep { /** * Constructor. * * @param userModel */ public StepX(UserModel userModel) { super(true); IModel model = new Model(userModel); setTitleModel(new ResourceModel(confirmation.title)); setSummaryModel(new StringResourceModel(confirmation.summary, this, model)); setContentModel(new CompoundPropertyModel(userModel)); } } My UserModel look like this: public class UserModel implements Serializable { private String userName; public final String getUserName() { return this.userName; } public final void setUserName(String userName) { this.userName = userName; } } How can I simply output the username property collected in a previous step? I tried the following code: wicket:panel table tr td span wicket:id=userModel.userName[userName]/span /td /tr /table /wicket:panel ... but wicket gives me the following error message: unable to find component with id 'userModel.userName'. This means that you declared wicket:id=userModel.userName in your markup, but that you either did not add the component to your page at all, or that the hierarchy does not match. Has anyone a solution for this? Thank you very much, Maciej -- --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057; dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Erik van Oosten http://www.day-to-day-stuff.blogspot.com/ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user