[jira] Resolved: (WICKET-999) DynamicWebResource function as StaticResource
[ https://issues.apache.org/jira/browse/WICKET-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-999. -- Resolution: Invalid Fix Version/s: 1.3.0-beta4 Assignee: Igor Vaynberg see NonCachingImage component > DynamicWebResource function as StaticResource > - > > Key: WICKET-999 > URL: https://issues.apache.org/jira/browse/WICKET-999 > Project: Wicket > Issue Type: Bug > Components: wicket >Affects Versions: 1.3.0-beta3 > Environment: Firefox 2.0.0.6, IE 6, Windows XP Pro >Reporter: Stanislav Dvorscak >Assignee: Igor Vaynberg > Fix For: 1.3.0-beta4 > > > The problem is when I added the resource as the Image argument, than this > image has always the same url and it causes the browsers show always the same > image. You need to generate different url to this resource, if a content of > this resource was changed. I have with this problem, when I created a big > image preview in the modal window. the modal window show the same image > a\ways I mean, that it is no problem only of modal window, but generally. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-998) Remove obsolete attribute modifier
[ https://issues.apache.org/jira/browse/WICKET-998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529780 ] Igor Vaynberg commented on WICKET-998: -- i actually had to put it back because that id is used for unittesting. i did simplify the code though a bit, using simpleattributemodiier instead. > Remove obsolete attribute modifier > -- > > Key: WICKET-998 > URL: https://issues.apache.org/jira/browse/WICKET-998 > Project: Wicket > Issue Type: Improvement > Components: wicket-examples >Affects Versions: 1.3.0-beta3 >Reporter: Sven Meier >Assignee: Igor Vaynberg >Priority: Trivial > Fix For: 1.3.0-beta4 > > > I'm sorry to bother you with such a trivial thing, but we should spare new > users the need to look for the reason for the AttributeModifier: there's none. > Index: > /home/sven/workspace/wicket/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java > === > --- > /home/sven/workspace/wicket/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java >(revision 578440) > +++ > /home/sven/workspace/wicket/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java >(working copy) > @@ -89,9 +89,6 @@ > } > } > }; > - link > - .add(new > AttributeModifier("id", true, new Model("letter_" > - + > letter.asString(; > link.add(new Image("image", > letter.getSharedImageResource())); > listItem.add(link); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1000) Wicket Javadoc Standardization: org.apache.wicket.time
[ https://issues.apache.org/jira/browse/WICKET-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nathan Beach updated WICKET-1000: - Attachment: WICKET-1000.patch attaching patch file > Wicket Javadoc Standardization: org.apache.wicket.time > -- > > Key: WICKET-1000 > URL: https://issues.apache.org/jira/browse/WICKET-1000 > Project: Wicket > Issue Type: Improvement > Components: wicket >Reporter: Nathan Beach >Priority: Minor > Fix For: 1.3.0-beta4 > > Attachments: WICKET-1000.patch > > > includes cleanup of upload's package.html -- the javadoc for upload wasn't > touched since it was copied from the outside... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (WICKET-1000) Wicket Javadoc Standardization: org.apache.wicket.time
Wicket Javadoc Standardization: org.apache.wicket.time -- Key: WICKET-1000 URL: https://issues.apache.org/jira/browse/WICKET-1000 Project: Wicket Issue Type: Improvement Components: wicket Reporter: Nathan Beach Priority: Minor Fix For: 1.3.0-beta4 includes cleanup of upload's package.html -- the javadoc for upload wasn't touched since it was copied from the outside... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r578596 - /wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java
Author: ivaynberg Date: Sun Sep 23 12:12:25 2007 New Revision: 578596 URL: http://svn.apache.org/viewvc?rev=578596&view=rev Log: WICKET-998: attribute modifier is needed for unit tests, but i simplified it Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java?rev=578596&r1=578595&r2=578596&view=diff == --- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java (original) +++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java Sun Sep 23 12:12:25 2007 @@ -16,7 +16,7 @@ */ package org.apache.wicket.examples.hangman; -import org.apache.wicket.AttributeModifier; +import org.apache.wicket.behavior.SimpleAttributeModifier; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.image.Image; import org.apache.wicket.markup.html.link.Link; @@ -89,8 +89,14 @@ } } }; + link.add(new Image("image", letter.getSharedImageResource())); listItem.add(link); + + // append id attribute to link for unit tests + link.add(new SimpleAttributeModifier("id", "letter_" + letter.asString())); + + } }); }
svn commit: r578593 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java
Author: ivaynberg Date: Sun Sep 23 11:58:40 2007 New Revision: 578593 URL: http://svn.apache.org/viewvc?rev=578593&view=rev Log: WICKET-962: Ajax updates do not work on Components with wicket id that is not \d+ when within AbstractRepeater/RepeatingView Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java?rev=578593&r1=578592&r2=578593&view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/repeater/AbstractRepeater.java Sun Sep 23 11:58:40 2007 @@ -17,6 +17,8 @@ package org.apache.wicket.markup.repeater; import java.util.Iterator; +import java.util.regex.Matcher; +import java.util.regex.Pattern; import org.apache.wicket.Component; import org.apache.wicket.markup.MarkupStream; @@ -42,6 +44,8 @@ private static final Logger log = LoggerFactory.getLogger(AbstractRepeater.class); + private static Pattern SAFE_CHILD_ID_PATTERN = Pattern.compile("^\\d+$"); + /** * Constructor * @@ -120,6 +124,24 @@ protected void onBeforeRender() { onPopulate(); + + // TODO possibly enable this only in development mode + Iterator i = iterator(); + while (i.hasNext()) + { + Component c = (Component)i.next(); + Matcher matcher = SAFE_CHILD_ID_PATTERN.matcher(c.getId()); + if (!matcher.matches()) + { + log.warn("Child component of repeater " + getClass().getName() + ":" + getId() + + " has a non-safe child id of " + c.getId() + + ". Safe child ids must be composed of digits only."); + // do not flood the log + break; + } + + } + super.onBeforeRender(); }
[jira] Resolved: (WICKET-998) Remove obsolete attribute modifier
[ https://issues.apache.org/jira/browse/WICKET-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-998. -- Resolution: Fixed Fix Version/s: 1.3.0-beta4 Assignee: Igor Vaynberg > Remove obsolete attribute modifier > -- > > Key: WICKET-998 > URL: https://issues.apache.org/jira/browse/WICKET-998 > Project: Wicket > Issue Type: Improvement > Components: wicket-examples >Affects Versions: 1.3.0-beta3 >Reporter: Sven Meier >Assignee: Igor Vaynberg >Priority: Trivial > Fix For: 1.3.0-beta4 > > > I'm sorry to bother you with such a trivial thing, but we should spare new > users the need to look for the reason for the AttributeModifier: there's none. > Index: > /home/sven/workspace/wicket/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java > === > --- > /home/sven/workspace/wicket/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java >(revision 578440) > +++ > /home/sven/workspace/wicket/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java >(working copy) > @@ -89,9 +89,6 @@ > } > } > }; > - link > - .add(new > AttributeModifier("id", true, new Model("letter_" > - + > letter.asString(; > link.add(new Image("image", > letter.getSharedImageResource())); > listItem.add(link); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r578580 - /wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java
Author: ivaynberg Date: Sun Sep 23 09:20:38 2007 New Revision: 578580 URL: http://svn.apache.org/viewvc?rev=578580&view=rev Log: WICKET-998: Remove obsolete attribute modifier Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java?rev=578580&r1=578579&r2=578580&view=diff == --- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java (original) +++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Guess.java Sun Sep 23 09:20:38 2007 @@ -89,9 +89,6 @@ } } }; - link - .add(new AttributeModifier("id", true, new Model("letter_" - + letter.asString(; link.add(new Image("image", letter.getSharedImageResource())); listItem.add(link); }
svn commit: r578578 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java
Author: ivaynberg Date: Sun Sep 23 09:19:26 2007 New Revision: 578578 URL: http://svn.apache.org/viewvc?rev=578578&view=rev Log: WICKET-997: AjaxButton using null as the form in the onSubmit() callback Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java?rev=578578&r1=578577&r2=578578&view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/markup/html/form/AjaxButton.java Sun Sep 23 09:19:26 2007 @@ -24,9 +24,8 @@ import org.apache.wicket.util.string.AppendingStringBuffer; /** - * A button that submits the form via ajax. Since this button takes the form as - * a constructor argument it does not need to be added to it unlike the - * [EMAIL PROTECTED] Button} component. + * A button that submits the form via ajax. Since this button takes the form as a constructor + * argument it does not need to be added to it unlike the [EMAIL PROTECTED] Button} component. * * @since 1.3 * @@ -37,7 +36,7 @@ private static final long serialVersionUID = 1L; private final Form form; - + /** * Construct. * @@ -47,10 +46,11 @@ { this(id, null); } - + /** -* Returns the form if it was set in constructor, otherwise returns the -* form nearest in parent hierarchy. +* Returns the form if it was set in constructor, otherwise returns the form nearest in parent +* hierarchy. +* * @see org.apache.wicket.markup.html.form.FormComponent#getForm() */ public Form getForm() @@ -83,12 +83,12 @@ protected void onSubmit(AjaxRequestTarget target) { - AjaxButton.this.onSubmit(target, form); + AjaxButton.this.onSubmit(target, AjaxButton.this.getForm()); } protected void onError(AjaxRequestTarget target) { - AjaxButton.this.onError(target, form); + AjaxButton.this.onError(target, AjaxButton.this.getForm()); } protected CharSequence getEventHandler() @@ -106,12 +106,10 @@ } /** -* Returns the [EMAIL PROTECTED] IAjaxCallDecorator} that will be used to modify the -* generated javascript. This is the preferred way of changing the -* javascript in the onclick handler +* Returns the [EMAIL PROTECTED] IAjaxCallDecorator} that will be used to modify the generated javascript. +* This is the preferred way of changing the javascript in the onclick handler * -* @return call decorator used to modify the generated javascript or null -* for none +* @return call decorator used to modify the generated javascript or null for none */ protected IAjaxCallDecorator getAjaxCallDecorator() {
[jira] Assigned: (WICKET-997) AjaxButton using null as the form in the onSubmit() callback
[ https://issues.apache.org/jira/browse/WICKET-997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg reassigned WICKET-997: Assignee: Igor Vaynberg > AjaxButton using null as the form in the onSubmit() callback > > > Key: WICKET-997 > URL: https://issues.apache.org/jira/browse/WICKET-997 > Project: Wicket > Issue Type: Bug > Components: wicket >Affects Versions: 1.3.0-beta3 >Reporter: Kent Tong >Assignee: Igor Vaynberg >Priority: Minor > > If the following constructor is used: > public AjaxButton(String id) > { > this(id, null); > } > > Then the "form" field is null. This is fine if we use getForm() to find its > form. But the code below > is using its "form" field when calling the callbacks: > public AjaxButton(String id, final Form form) > { > super(id); > this.form = form; > add(new AjaxFormSubmitBehavior(form, "onclick") > { > protected void onSubmit(AjaxRequestTarget target) > { > AjaxButton.this.onSubmit(target, form); //BUG: > using the field, not getForm() > } > protected void onError(AjaxRequestTarget target) > { > AjaxButton.this.onError(target, form); //BUG: > using the field, not getForm() > } > .. > }); > } > So either getForm() should be used or that constructor should be removed > (consistent with AjaxFallbackButton). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-977) Static Pages -> Passing URI to a Wicket page == 404 Error
[ https://issues.apache.org/jira/browse/WICKET-977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Vaynberg resolved WICKET-977. -- Resolution: Fixed Assignee: Igor Vaynberg appears fixed between time reported and now > Static Pages -> Passing URI to a Wicket page == 404 Error > - > > Key: WICKET-977 > URL: https://issues.apache.org/jira/browse/WICKET-977 > Project: Wicket > Issue Type: Bug > Components: wicket-examples >Affects Versions: 1.3.0-beta3 > Environment: Windows/Jetty/Firefox >Reporter: Oleg Taranenko >Assignee: Igor Vaynberg > Fix For: 1.3.0-beta4 > > > Broken url -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[CONF] Apache Wicket: Community meetups (page edited)
Page Edited : WICKET : Community meetups Community meetups has been edited by Eelco Hillenius (Sep 23, 2007). (View changes) Content: Bookmarkable link If you're thinking about organizing a local meetup, don't hesitate to add your initiative to this list! United Kingdom Location: London Next meetup: Tuesday October 2nd To register, go here: http://jweekend.co.uk/dev/LWUGReg Belgium Location: Antwerp Next meetup: JavaPolis'07 (dec 12th-14th) Martijn Dashorst will give a Wicket presentation at the conference. We are interested in a Birds of a Feather (BoF) meeting, and interest can be registered here. When you want to attend, you need to be registered at the conference too. The presentation and BoF will be in English. Name Interested Will come! BoF? Martijn Dashorst x x x Per Ejeklint x x yeah! Xavier Hanin x x x Francis De Brabandere x ? x The Netherlands Location: TBD Next meetup: TBD Name Interested Will come! I speak Dutch very well. I learn it from a book Wouter Huijnink x x x Matthijs Wensveen x ? * x Arjé Cahn x x x I prefer English Kees de Kooter x x x Thies Edeling x x x Maurice Marrink x x x C. Bergström x x o All the Dutch I know is from y coworkers yelling at me Francis De Brabandere x ? x Wander Grevink x x x Erik van Oosten x ? x (but not from a book) Ard Schrijvers x x x Martijn Dashorst x x x Thijs Vonk x ? x Martin Funk x x sorry no Dutch, only German and English Danny van Bruggen x ? * x Tom Desmet x ? ? Marieke Vandamme x ? ? Ann Baert x ? ? Ate Douma x ? ? Jasha Joachimsthal x ? ? Arthur Bogaart x ? ? Niels van Kampenhout x ? ? Johan Compagner x x x Ivo van Dongen x x x Ivana Cace x ? * x Emiel van der Herberg x ? x Martijn Vos x ? x Reinout van Schouwen x ? x can't really say if I will come if there's no date yet. Denmark Location: Copenhagen Next meetup: Speakers/ areas of interest? Write what you want to hear about here.. Then people can add themselves as speakers content speaker? Name Interested Will come Language Comments Frank Bille x ? Danish,English Nino Martinez x ? Danish,English Jan Mikkelsen x ? Danish,English Sweden Location: Stockholm Next meetup: 5th November 17.00 Web page: http://wicket.jalbum.net Send an e-mail to Daniel Frisk ([EMAIL PROTECTED]) and let us know you are coming Name Interested Will come Language Comments Per Ejeklint x x Svenska Tar på mig att hålla SWUG's första presentation Daniel Frisk x x Svenska Skicka ett mail till mig om du lägger till dig själv till listan Anders Callertun x x Svenska David Ekholm x x Svenska Mathias Axelsson x x Svenska Mats Norén x x Svenska Brazil Location: Rio de Janeiro Next meetup: to be scheduled Send an e-mail to Alexandre Bairos (alexandre.bairos at gmail.com) and let us know you are interested Name Interested Will come Language Comments Alexandre Bairos x x Portuguese,English,P United States Location: Minneapolis Next meetup: to be scheduled Send an e-mail to Craig Lenzen ([EMAIL PROTECTED]) and let us know you are interested Name Interested Will come Language Comments Craig Lenzen x x English Dan Syrstad x x English Ryan Sonnek x x English Lars Klevan x x English Location: Seattle Next meetup: to be scheduled Send an e-mail to Eelco Hillenius (eelco.hillenius at gmail.com) if you'd like to see this happen Name Interested Will come Comments Powered by Atlassian Confluence (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request Unsubscribe or edit your notifications preferences
[CONF] Apache Wicket: Community meetups (page edited)
Page Edited : WICKET : Community meetups Community meetups has been edited by Lars Klevan (Sep 23, 2007). (View changes) Content: Bookmarkable link If you're thinking about organizing a local meetup, don't hesitate to add your initiative to this list! United Kingdom Location: London Next meetup: Tuesday October 2nd To register, go here: http://jweekend.co.uk/dev/LWUGReg Belgium Location: Antwerp Next meetup: JavaPolis'07 (dec 12th-14th) Martijn Dashorst will give a Wicket presentation at the conference. We are interested in a Birds of a Feather (BoF) meeting, and interest can be registered here. When you want to attend, you need to be registered at the conference too. The presentation and BoF will be in English. Name Interested Will come! BoF? Martijn Dashorst x x x Per Ejeklint x x yeah! Xavier Hanin x x x Francis De Brabandere x ? x The Netherlands Location: TBD Next meetup: TBD Name Interested Will come! I speak Dutch very well. I learn it from a book Wouter Huijnink x x x Matthijs Wensveen x ? * x Arjé Cahn x x x I prefer English Kees de Kooter x x x Thies Edeling x x x Maurice Marrink x x x C. Bergström x x o All the Dutch I know is from y coworkers yelling at me Francis De Brabandere x ? x Wander Grevink x x x Erik van Oosten x ? x (but not from a book) Ard Schrijvers x x x Martijn Dashorst x x x Thijs Vonk x ? x Martin Funk x x sorry no Dutch, only German and English Danny van Bruggen x ? * x Tom Desmet x ? ? Marieke Vandamme x ? ? Ann Baert x ? ? Ate Douma x ? ? Jasha Joachimsthal x ? ? Arthur Bogaart x ? ? Niels van Kampenhout x ? ? Johan Compagner x x x Ivo van Dongen x x x Ivana Cace x ? * x Emiel van der Herberg x ? x Martijn Vos x ? x Reinout van Schouwen x ? x can't really say if I will come if there's no date yet. Denmark Location: Copenhagen Next meetup: Speakers/ areas of interest? Write what you want to hear about here.. Then people can add themselves as speakers content speaker? Name Interested Will come Language Comments Frank Bille x ? Danish,English Nino Martinez x ? Danish,English Jan Mikkelsen x ? Danish,English Sweden Location: Stockholm Next meetup: 5th November 17.00 Web page: http://wicket.jalbum.net Send an e-mail to Daniel Frisk ([EMAIL PROTECTED]) and let us know you are coming Name Interested Will come Language Comments Per Ejeklint x x Svenska Tar på mig att hålla SWUG's första presentation Daniel Frisk x x Svenska Skicka ett mail till mig om du lägger till dig själv till listan Anders Callertun x x Svenska David Ekholm x x Svenska Mathias Axelsson x x Svenska Mats Norén x x Svenska Brazil Location: Rio de Janeiro Next meetup: to be scheduled Send an e-mail to Alexandre Bairos (alexandre.bairos at gmail.com) and let us know you are interested Name Interested Will come Language Comments Alexandre Bairos x x Portuguese,English,P United States Location: Minneapolis Next meetup: to be scheduled Send an e-mail to Craig Lenzen ([EMAIL PROTECTED]) and let us know you are interested Name Interested Will come Language Comments Craig Lenzen x x English Dan Syrstad x x English Ryan Sonnek x x English Lars Klevan x x English Powered by Atlassian Confluence (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request Unsubscribe or edit your notifications preferences
[jira] Updated: (WICKET-999) DynamicWebResource function as StaticResource
[ https://issues.apache.org/jira/browse/WICKET-999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stanislav Dvorscak updated WICKET-999: -- Component/s: wicket Affects Version/s: 1.3.0-beta3 > DynamicWebResource function as StaticResource > - > > Key: WICKET-999 > URL: https://issues.apache.org/jira/browse/WICKET-999 > Project: Wicket > Issue Type: Bug > Components: wicket >Affects Versions: 1.3.0-beta3 > Environment: Firefox 2.0.0.6, IE 6, Windows XP Pro >Reporter: Stanislav Dvorscak > > The problem is when I added the resource as the Image argument, than this > image has always the same url and it causes the browsers show always the same > image. You need to generate different url to this resource, if a content of > this resource was changed. I have with this problem, when I created a big > image preview in the modal window. the modal window show the same image > a\ways I mean, that it is no problem only of modal window, but generally. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (WICKET-999) DynamicWebResource function as StaticResource
DynamicWebResource function as StaticResource - Key: WICKET-999 URL: https://issues.apache.org/jira/browse/WICKET-999 Project: Wicket Issue Type: Bug Environment: Firefox 2.0.0.6, IE 6, Windows XP Pro Reporter: Stanislav Dvorscak The problem is when I added the resource as the Image argument, than this image has always the same url and it causes the browsers show always the same image. You need to generate different url to this resource, if a content of this resource was changed. I have with this problem, when I created a big image preview in the modal window. the modal window show the same image a\ways I mean, that it is no problem only of modal window, but generally. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r578574 - in /wicket/trunk/jdk-1.4/wicket/src: main/java/org/apache/wicket/markup/html/internal/ test/java/org/apache/wicket/markup/html/internal/
Author: jdonnerstag Date: Sun Sep 23 07:31:15 2007 New Revision: 578574 URL: http://svn.apache.org/viewvc?rev=578574&view=rev Log: wicket-993: wicket:enclosure doesn't work with multiple child components fixed Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_2.html (with props) wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_2.html (with props) wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_2.java (with props) Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosureTest.java Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java?rev=578574&r1=578573&r2=578574&view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/internal/Enclosure.java Sun Sep 23 07:31:15 2007 @@ -18,6 +18,7 @@ import org.apache.wicket.Component; import org.apache.wicket.MarkupContainer; +import org.apache.wicket.Response; import org.apache.wicket.WicketRuntimeException; import org.apache.wicket.markup.ComponentTag; import org.apache.wicket.markup.MarkupException; @@ -25,6 +26,7 @@ import org.apache.wicket.markup.html.WebMarkupContainer; import org.apache.wicket.markup.parser.filter.EnclosureHandler; import org.apache.wicket.markup.resolver.EnclosureResolver; +import org.apache.wicket.response.NullResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -168,7 +170,16 @@ } else { - markupStream.skipUntil(openTag.getName()); + Response response = getResponse(); + getRequestCycle().setResponse(NullResponse.getInstance()); + try + { + super.onComponentTagBody(markupStream, openTag); + } + finally + { + getRequestCycle().setResponse(response); + } } } } Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_2.html URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_2.html?rev=578574&view=auto == --- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_2.html (added) +++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_2.html Sun Sep 23 07:31:15 2007 @@ -0,0 +1,10 @@ + + + +Example 3 using wicket:enclosure +label 1 +label 2 + + + + Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePageExpectedResult_2.html -- svn:eol-style = native Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_2.html URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_2.html?rev=578574&view=auto == --- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_2.html (added) +++ wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_2.html Sun Sep 23 07:31:15 2007 @@ -0,0 +1,13 @@ + + + +Example 3 using wicket:enclosure + + + + + + + + + Propchange: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_2.html -- svn:eol-style = native Added: wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_2.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/internal/EnclosurePage_2.java?rev=578574&view=auto == --- wicket/trunk/jdk-1.4/wicket/src/test/java/org/apache/wicket/markup/html/intern
[jira] Resolved: (WICKET-993) wicket:enclosure doesn't work with multiple child components
[ https://issues.apache.org/jira/browse/WICKET-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juergen Donnerstag resolved WICKET-993. --- Resolution: Fixed fixed > wicket:enclosure doesn't work with multiple child components > > > Key: WICKET-993 > URL: https://issues.apache.org/jira/browse/WICKET-993 > Project: Wicket > Issue Type: Bug > Components: wicket >Affects Versions: 1.3.0-beta3 >Reporter: Martijn Dashorst >Assignee: Juergen Donnerstag > Fix For: 1.3.0-beta4 > > > > Example 3 using wicket:enclosure > > > > > > > > WebMarkupContainer example3 = new WebMarkupContainer("example3"); > example3.add(new Label("label1", "label 1")); > example3.add(new Label("label2", "label 2")); > example3.add(new Label("label3", "label 3")); > example3.add(new Label("label4", "label 4")); > add(example3); > example3.get("label3").setVisible(false); > Gives an error that label4 is not added to the page -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[CONF] Apache Wicket: Community meetups (page edited)
Page Edited : WICKET : Community meetups Community meetups has been edited by Reinout van Schouwen (Sep 23, 2007). Change summary: added myself (View changes) Content: Bookmarkable link If you're thinking about organizing a local meetup, don't hesitate to add your initiative to this list! United Kingdom Location: London Next meetup: Tuesday October 2nd To register, go here: http://jweekend.co.uk/dev/LWUGReg Belgium Location: Antwerp Next meetup: JavaPolis'07 (dec 12th-14th) Martijn Dashorst will give a Wicket presentation at the conference. We are interested in a Birds of a Feather (BoF) meeting, and interest can be registered here. When you want to attend, you need to be registered at the conference too. The presentation and BoF will be in English. Name Interested Will come! BoF? Martijn Dashorst x x x Per Ejeklint x x yeah! Xavier Hanin x x x Francis De Brabandere x ? x The Netherlands Location: TBD Next meetup: TBD Name Interested Will come! I speak Dutch very well. I learn it from a book Wouter Huijnink x x x Matthijs Wensveen x ? * x Arjé Cahn x x x I prefer English Kees de Kooter x x x Thies Edeling x x x Maurice Marrink x x x C. Bergström x x o All the Dutch I know is from y coworkers yelling at me Francis De Brabandere x ? x Wander Grevink x x x Erik van Oosten x ? x (but not from a book) Ard Schrijvers x x x Martijn Dashorst x x x Thijs Vonk x ? x Martin Funk x x sorry no Dutch, only German and English Danny van Bruggen x ? * x Tom Desmet x ? ? Marieke Vandamme x ? ? Ann Baert x ? ? Ate Douma x ? ? Jasha Joachimsthal x ? ? Arthur Bogaart x ? ? Niels van Kampenhout x ? ? Johan Compagner x x x Ivo van Dongen x x x Ivana Cace x ? * x Emiel van der Herberg x ? x Martijn Vos x ? x Reinout van Schouwen x ? x can't really say if I will come if there's no date yet. Denmark Location: Copenhagen Next meetup: Speakers/ areas of interest? Write what you want to hear about here.. Then people can add themselves as speakers content speaker? Name Interested Will come Language Comments Frank Bille x ? Danish,English Nino Martinez x ? Danish,English Jan Mikkelsen x ? Danish,English Sweden Location: Stockholm Next meetup: 5th November 17.00 Web page: http://wicket.jalbum.net Send an e-mail to Daniel Frisk ([EMAIL PROTECTED]) and let us know you are coming Name Interested Will come Language Comments Per Ejeklint x x Svenska Tar på mig att hålla SWUG's första presentation Brazil Location: Rio de Janeiro Next meetup: to be scheduled Send an e-mail to Alexandre Bairos (alexandre.bairos at gmail.com) and let us know you are interested Name Interested Will come Language Comments Alexandre Bairos x x Portuguese,English,P United States Location: Minneapolis Next meetup: to be scheduled Send an e-mail to Craig Lenzen ([EMAIL PROTECTED]) and let us know you are interested Name Interested Will come Language Comments Craig Lenzen x x English Dan Syrstad x x English Ryan Sonnek x x English Powered by Atlassian Confluence (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request Unsubscribe or edit your notifications preferences