[jira] Created: (WICKET-3533) jekyll chokes on nbsp and emdash for Wicket site
jekyll chokes on nbsp and emdash for Wicket site Key: WICKET-3533 URL: https://issues.apache.org/jira/browse/WICKET-3533 Project: Wicket Issue Type: Bug Components: site Affects Versions: 1.5-RC2 Environment: Ubuntu 10.04.2 LTS gem 1.6.2 classifier (1.3.3) directory_watcher (1.3.2) fast-stemmer (1.0.0) jekyll (0.10.0) liquid (2.2.2) maruku (0.6.0) syntax (1.0.0) Reporter: Kent Tong Priority: Minor I've checked out the Wicket site from SVN. When I try to run jekyll to generate the site and try to access http://localhost:4000/, I got the error below, saying Undeclared entity ' ' and '&emdash;'. --- error message from jekyll --- kent@dragon:~/oss/workspace/wicket-site$ jekyll --server --auto Configuration from /home/kent/oss/workspace/wicket-site/_config.yml Auto-regenerating enabled: /home/kent/oss/workspace/wicket-site -> ./_site [2011-03-13 10:47:02] regeneration: 126 files changed [2011-03-13 10:47:02] INFO WEBrick 1.3.1 [2011-03-13 10:47:02] INFO ruby 1.9.1 (2010-01-10) [i486-linux] [2011-03-13 10:47:07] INFO WEBrick::HTTPServer#start: pid=5640 port=4000 [2011-03-13 10:47:08] ERROR `/' not found. ___ | Maruku tells you: +--- | REXML cannot parse this block of HTML/XML: | | | | | | GroupId: | | (?) | | ArtifactId: | | (?) | | Version: | | | | | | | | 1.5-SNAPSHOT | | | | | | | | 1.5-rc2 | | | | | | | | 1.5-RC1 | | | | | | | | 1.4-SNAPSHOT | | | | | | | | 1.4.16 | | | | | | | | 1.4.15 | | | | | | (?) | | | | | | Command Line: | | | | | | changeIt(); | | | | | | | # | /usr/lib/ruby/1.9.1/rexml/text.rb:165:in `block in check' | /usr/lib/ruby/1.9.1/rexml/text.rb:153:in `scan' | /usr/lib/ruby/1.9.1/rexml/text.rb:153:in `check' | /usr/lib/ruby/1.9.1/rexml/text.rb:125:in `parent=' | /usr/lib/ruby/1.9.1/rexml/parent.rb:19:in `add' | /usr/lib/ruby/1.9.1/rexml/parsers/treeparser.rb:45:in `parse' | /usr/lib/ruby/1.9.1/rexml/document.rb:228:in `build' | /usr/lib/ruby/1.9.1/rexml/document.rb:43:in `initialize' | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/helpers.rb:93:in `new' | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/helpers.rb:93:in `md_html' | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:255:in `read_raw_html' | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:88:in `parse_blocks' | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_block.rb:41:in `parse_text_as_markdown' | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:57:in `parse_doc' | /usr/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/maruku.rb:30:in `initialize' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/converters/markdown.rb:108:in `new' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/converters/markdown.rb:108:in `convert' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/convertible.rb:43:in `transform' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/convertible.rb:77:in `do_layout' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/page.rb:88:in `render' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/site.rb:147:in `block in render' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/site.rb:146:in `each' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/site.rb:146:in `render' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/lib/jekyll/site.rb:81:in `process' | /usr/lib/ruby/gems/1.9.1/gems/jekyll-0.10.0/bin/jekyll:153:in `block in ' | /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:564:in `call' | /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:564:in `block in notify_observers' | /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:563:in `each' | /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:563:in `notify_observers' | /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher.rb:323:in `block in initialize' | /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher/scanner.rb:224:in `call' | /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher/scanner.rb:224:in `notify' | /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher/scanner.rb:102:in `run_once' | /usr/lib/ruby/gems/1.9.1/gems/directory_watcher-1.3.2/lib/directory_watcher/scanner.rb:150:in `r
[jira] Updated: (WICKET-3532) updated info on the book "Enjoying web development with Wicket"
[ https://issues.apache.org/jira/browse/WICKET-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kent Tong updated WICKET-3532: -- Attachment: ewdww.png updated book cover image. > updated info on the book "Enjoying web development with Wicket" > --- > > Key: WICKET-3532 > URL: https://issues.apache.org/jira/browse/WICKET-3532 > Project: Wicket > Issue Type: Improvement > Components: site >Affects Versions: 1.5-RC2 >Reporter: Kent Tong >Priority: Trivial > Attachments: ewdww.png, fix-WICKET-3532.patch > > Original Estimate: 5m > Remaining Estimate: 5m > > The info about the book was outdated. The updated info is in the patch and > the attached logo. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (WICKET-3532) updated info on the book "Enjoying web development with Wicket"
[ https://issues.apache.org/jira/browse/WICKET-3532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kent Tong updated WICKET-3532: -- Attachment: fix-WICKET-3532.patch patch > updated info on the book "Enjoying web development with Wicket" > --- > > Key: WICKET-3532 > URL: https://issues.apache.org/jira/browse/WICKET-3532 > Project: Wicket > Issue Type: Improvement > Components: site >Affects Versions: 1.5-RC2 >Reporter: Kent Tong >Priority: Trivial > Attachments: ewdww.png, fix-WICKET-3532.patch > > Original Estimate: 5m > Remaining Estimate: 5m > > The info about the book was outdated. The updated info is in the patch and > the attached logo. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (WICKET-3532) updated info on the book "Enjoying web development with Wicket"
updated info on the book "Enjoying web development with Wicket" --- Key: WICKET-3532 URL: https://issues.apache.org/jira/browse/WICKET-3532 Project: Wicket Issue Type: Improvement Components: site Affects Versions: 1.5-RC2 Reporter: Kent Tong Priority: Trivial The info about the book was outdated. The updated info is in the patch and the attached logo. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (WICKET-3531) Multiple replace function call can be replaced with a single for loop to improve performance
Multiple replace function call can be replaced with a single for loop to improve performance - Key: WICKET-3531 URL: https://issues.apache.org/jira/browse/WICKET-3531 Project: Wicket Issue Type: Bug Components: site Affects Versions: 1.4.9 Reporter: Xiaoming Shi {noformat} ./apache-wicket-1.4.9/src/wicket/src/main/java/org/apache/wicket/Component.java line: 1562 ./apache-wicket-1.4.9/src/wicket/src/main/java/org/apache/wicket/protocol/http/pagestore/DiskPageStore.java line: 410 {noformat} more than 3 consecutive replace() is called to remove the special characters. It's 3+ times slower than using a for loop replace them all. {noformat} e.g. - str.replace('a', '#'); - str.replace('b', '%'); + StringBuilder sb = new StringBuilder( str.length() ); + for (int i=0; i < str.length(); i++) + { + char c = str.charAt(i); + if ( c == 'a' ) + sb.append('#'); + else if ( c== 'b' ) + sb.append('%'); + else + sb.append(c); + } + str = sb.toString(); {noformat} This bug has the same problem as the MySQL bug : http://bugs.mysql.com/bug.php?id=45699 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (WICKET-3530) getObject and setObject are not overridable in ListItemModel
getObject and setObject are not overridable in ListItemModel Key: WICKET-3530 URL: https://issues.apache.org/jira/browse/WICKET-3530 Project: Wicket Issue Type: Improvement Components: wicket-core Affects Versions: 1.4.16 Environment: not relevant Reporter: Roman Gubarev Priority: Minor please add method "protected ListView getListView()" so one can override getObject and setObject methods and has access to the list view -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (WICKET-3528) Javadoc typo in PropertyModel
[ https://issues.apache.org/jira/browse/WICKET-3528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris A. Mattmann updated WICKET-3528: -- Attachment: WICKET-3528.Mattmann.031211.patch.txt - simple patch > Javadoc typo in PropertyModel > - > > Key: WICKET-3528 > URL: https://issues.apache.org/jira/browse/WICKET-3528 > Project: Wicket > Issue Type: Bug > Components: wicket-core >Affects Versions: 1.4.16 > Environment: reading the docs online for 1.4 >Reporter: Chris A. Mattmann >Priority: Trivial > Labels: PropertyModel, javadoc, typo, wicket > Attachments: WICKET-3528.Mattmann.031211.patch.txt > > > I found a small typo in PropertyModel's class level javadoc. Here's a patch > to fix it. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (WICKET-3529) Please make nested forms render body only if !isRootForm
Please make nested forms render body only if !isRootForm Key: WICKET-3529 URL: https://issues.apache.org/jira/browse/WICKET-3529 Project: Wicket Issue Type: Improvement Components: wicket-core Affects Versions: 1.5-RC1 Reporter: Martin Dilger Hi, would it be possible to make nested forms set their renderBodyOnly flag if isRootForm returns false? We've had several issues with styling and css because of the rendererd divs, maybe this could be an improvement. Thanks Martin -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (WICKET-3528) Javadoc typo in PropertyModel
Javadoc typo in PropertyModel - Key: WICKET-3528 URL: https://issues.apache.org/jira/browse/WICKET-3528 Project: Wicket Issue Type: Bug Components: wicket-core Affects Versions: 1.4.16 Environment: reading the docs online for 1.4 Reporter: Chris A. Mattmann Priority: Trivial I found a small typo in PropertyModel's class level javadoc. Here's a patch to fix it. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Issue Comment Edited: (WICKET-3456) Would like a renderCSS method in IHeaderResponse
[ https://issues.apache.org/jira/browse/WICKET-3456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006069#comment-13006069 ] Willis Blackburn edited comment on WICKET-3456 at 3/12/11 6:10 PM: --- Here it is: public void renderCSS(CharSequence css, String id) { if (css == null) { throw new IllegalArgumentException("css cannot be null"); } if (!closed) { List token = Arrays.asList(css.toString(), id); if (wasRendered(token) == false) { renderString(CssUtils.INLINE_OPEN_TAG + css + CssUtils.INLINE_CLOSE_TAG); markRendered(token); } } } was (Author: wbo...@panix.com): Here it is: public void renderCSS(CharSequence css, String id) { if (css == null) { throw new IllegalArgumentException("css cannot be null"); } if (!closed) { List token = Arrays.asList(css.toString(), id); if (wasRendered(token) == false) { renderString(CssUtils.INLINE_OPEN_TAG + css + CssUtils.INLINE_CLOSE_TAG); markRendered(token); } } } > Would like a renderCSS method in IHeaderResponse > > > Key: WICKET-3456 > URL: https://issues.apache.org/jira/browse/WICKET-3456 > Project: Wicket > Issue Type: Improvement > Components: wicket-core >Affects Versions: 1.4.15, 1.5-M3 >Reporter: Willis Blackburn >Priority: Minor > > IHeaderResponse has a method called renderJavascript that accepts a string > and adds the appropriate
[jira] Issue Comment Edited: (WICKET-3456) Would like a renderCSS method in IHeaderResponse
[ https://issues.apache.org/jira/browse/WICKET-3456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006069#comment-13006069 ] Willis Blackburn edited comment on WICKET-3456 at 3/12/11 6:11 PM: --- Here it is: public void renderCSS(CharSequence css, String id) { if (css == null) { throw new IllegalArgumentException("css cannot be null"); } if (!closed) { List token = Arrays.asList(css.toString(), id); if (wasRendered(token) == false) { renderString(CssUtils.INLINE_OPEN_TAG + css + CssUtils.INLINE_CLOSE_TAG); markRendered(token); } } } Hmm, can't figure out how to write code comments in this new version of JIRA... was (Author: wbo...@panix.com): Here it is: public void renderCSS(CharSequence css, String id) { if (css == null) { throw new IllegalArgumentException("css cannot be null"); } if (!closed) { List token = Arrays.asList(css.toString(), id); if (wasRendered(token) == false) { renderString(CssUtils.INLINE_OPEN_TAG + css + CssUtils.INLINE_CLOSE_TAG); markRendered(token); } } } > Would like a renderCSS method in IHeaderResponse > > > Key: WICKET-3456 > URL: https://issues.apache.org/jira/browse/WICKET-3456 > Project: Wicket > Issue Type: Improvement > Components: wicket-core >Affects Versions: 1.4.15, 1.5-M3 >Reporter: Willis Blackburn >Priority: Minor > > IHeaderResponse has a method called renderJavascript that accepts a string > and adds the appropriate
[jira] Commented: (WICKET-3456) Would like a renderCSS method in IHeaderResponse
[ https://issues.apache.org/jira/browse/WICKET-3456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13006069#comment-13006069 ] Willis Blackburn commented on WICKET-3456: -- Here it is: public void renderCSS(CharSequence css, String id) { if (css == null) { throw new IllegalArgumentException("css cannot be null"); } if (!closed) { List token = Arrays.asList(css.toString(), id); if (wasRendered(token) == false) { renderString(CssUtils.INLINE_OPEN_TAG + css + CssUtils.INLINE_CLOSE_TAG); markRendered(token); } } } > Would like a renderCSS method in IHeaderResponse > > > Key: WICKET-3456 > URL: https://issues.apache.org/jira/browse/WICKET-3456 > Project: Wicket > Issue Type: Improvement > Components: wicket-core >Affects Versions: 1.4.15, 1.5-M3 >Reporter: Willis Blackburn >Priority: Minor > > IHeaderResponse has a method called renderJavascript that accepts a string > and adds the appropriate
[jira] Resolved: (WICKET-3422) Simplified visibility control of Enclosures in Ajax requests
[ https://issues.apache.org/jira/browse/WICKET-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juergen Donnerstag resolved WICKET-3422. Resolution: Fixed Fix Version/s: 1.4.17 patch applied. See WICKET-3527 for migrating the functionality to 1.5 > Simplified visibility control of Enclosures in Ajax requests > > > Key: WICKET-3422 > URL: https://issues.apache.org/jira/browse/WICKET-3422 > Project: Wicket > Issue Type: New Feature > Components: wicket-core >Affects Versions: 1.4.15 >Reporter: Joonas Hämäläinen >Assignee: Juergen Donnerstag > Labels: Ajax, AjaxRequestTarget, Enclosure, Visibility > Fix For: 1.4.17 > > Attachments: InlineAndAjaxifiedEnclosures_R3.patch, > InlineAndAjaxifiedEnclosures_patch_R2.txt, wicket-3422.patch > > > [Patch updated on 3/9/2011] > Problem: > - > The amount of boilerplate code needed to create partitions of a web page > that take their > visibility setting from a controlling component in Ajax requests. > "Changing the visibility of a child component in Ajax callback method > will not affect the entire > enclosure but just the child component itself. This is because only > the child component is added > to the AjaxRequestTarget." > - https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html > Solution: > - > 1. InlineEnclosure tags, implemented as an attribute that can be attached > to an arbitrary html tag. >Works just like a regular Enclosure, but is Ajax ready. > 2. When handling Ajax requests, InlineEnclosures that are controlled by > Components already in the Ajax >request target are automatically added to the Ajax request target. > Example: > > Below we have an ajax link: 'toggleLink' that is used to > toggle the visibility of the component 'label1'. Since the > label1 component happens to be the controlling child component > of the enclosure, the visibility of the whole enclosure is toggled > at the same time. > Html: > --- > Toggle visibility > > The visibility of this text is also toggled. > Test > > Here we have the 'inline' Enclosure tag: > > Notice that no boilerplate code for this is necessary on the > Java side. The tag can be an arbitrary html tag (but cannot > simultaneously be another wicket tag, like WebMarkupContainer). > If it does not yet have a wicket id (as in this example), a > page-unique id will be generated for it (ex. inlineEnclosure-1). > The handling of the child id attribute is identical to the handling > of child id:s in traditional Wicket Enclosure tags. > On Java side we only need to introduce the child object and some kind > of control for the toggling of the visibility of the child object. > Here an ajax link is used. When user clicks the link, the visibility > of the entire Enclosure is toggled. Developer must also remember to > set the outputmarkupId=true for the label, as usual for Ajaxified code. > Nothing else is needed, the patch handles everything from here. > Java: > --- > private Label label1 = new Label("controllingChild", "Test Label 1"); > private AjaxLink toggleLink; > public MinimalAjaxEnclosurePage() > { > toggleLink = new AjaxLink("toggleLink"){ > @Override > public void onClick(AjaxRequestTarget target) > { > label1.setVisible(!label1.isVisible()); > target.addComponent(label1); > } > > }; > add(toggleLink); > label1.setOutputMarkupId(true); > add(label1); > } > Testing: > > The patch can be tested with the new unit tests in > src/test/java/org/apache/wicket/markup/html/internal > - InlineEnclosureTest has tests for rendering of Inline enclosures in > various situations: > - chooses the correct child, whether or not child id is set > - reuses existing wicket:id > - works when nested with other inline Enclosures or > traditional Wicket Enclosure tags > - AjaxEnclosureTest has tests for toggling visibility of Inline > enclosures by toggling > the visibility of their controllers in Ajax requests: > - only the correct child controls the enclosure, even when > child id is not set > - works with nested inline enclosures > - TogglePageTests has tests for toggling vi
svn commit: r1080946 [2/2] - in /wicket/branches/wicket-1.4.x/wicket/src: main/java/org/apache/wicket/ main/java/org/apache/wicket/markup/ main/java/org/apache/wicket/markup/html/internal/ main/java/o
Added: wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/InlineEnclosureWithAdditionalAjaxTargetPage.html URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/InlineEnclosureWithAdditionalAjaxTargetPage.html?rev=1080946&view=auto == --- wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/InlineEnclosureWithAdditionalAjaxTargetPage.html (added) +++ wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/InlineEnclosureWithAdditionalAjaxTargetPage.html Sat Mar 12 16:28:57 2011 @@ -0,0 +1,15 @@ + + + +Toggle visibility + + + Container 1: + The visibility of this text is also toggled. + Test + + + Test2 + + + Added: wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/InlineEnclosureWithAdditionalAjaxTargetPage.java URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/InlineEnclosureWithAdditionalAjaxTargetPage.java?rev=1080946&view=auto == --- wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/InlineEnclosureWithAdditionalAjaxTargetPage.java (added) +++ wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/InlineEnclosureWithAdditionalAjaxTargetPage.java Sat Mar 12 16:28:57 2011 @@ -0,0 +1,89 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.wicket.markup.html.internal; + +import org.apache.wicket.ajax.AjaxRequestTarget; +import org.apache.wicket.ajax.markup.html.AjaxLink; +import org.apache.wicket.markup.html.WebPage; +import org.apache.wicket.markup.html.basic.Label; + + +/** + * Minimal page for testing. + * + * @author Joonas Hamalainen + * + */ +public class InlineEnclosureWithAdditionalAjaxTargetPage extends WebPage +{ + private final Label label1 = new Label("label1", "Test Label 1"); + private final Label label2 = new Label("label2", "Test Label 2"); + private final AjaxLink toggleLink; + + /** +* Construct. +*/ + @SuppressWarnings("serial") + public InlineEnclosureWithAdditionalAjaxTargetPage() + { + + toggleLink = new AjaxLink("toggleLink") + { + @Override + public void onClick(AjaxRequestTarget target) + { + label1.setVisible(!label1.isVisible()); + target.addComponent(label1); + label2.setVisible(!label2.isVisible()); + target.addComponent(label2); + } + + }; + add(toggleLink); + label1.setOutputMarkupId(true); + label2.setOutputMarkupId(true); + label2.setOutputMarkupPlaceholderTag(true); + add(label1); + add(label2); + } + + /** +* @return label1 +*/ + public Label getLabel1() + { + return label1; + } + + /** +* @return label2 +*/ + public Label getLabel2() + { + return label2; + } + + /** +* @return toggle link +*/ + public AjaxLink getLink() + { + return toggleLink; + } + + +} Added: wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/SimplePanel2.html URL: http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/SimplePanel2.html?rev=1080946&view=auto == --- wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/html/internal/SimplePanel2.html (added) +++ wicket/branches/wicket-1.4.x/wicket/src/test/java/org/apache/wicket/markup/htm
[jira] Created: (WICKET-3527) Simplified visibility control of Enclosures in Ajax requests
Simplified visibility control of Enclosures in Ajax requests Key: WICKET-3527 URL: https://issues.apache.org/jira/browse/WICKET-3527 Project: Wicket Issue Type: New Feature Affects Versions: 1.5-RC2 Reporter: Juergen Donnerstag transfer patch from WICKET-3422 over to 1.5 -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[CONF] Apache Wicket > Wicket Blogs
Wicket Blogs Page edited by Tomasz Dziurko Comment: Added my blog where I write about my experiences with Wicket. Changes (1) ... * [codesmell.org|http://www.codesmell.org/blog] * [Paul Szulc: Wicket and TDD|http://paulszulc.wordpress.com/] * [Tomasz Dziurko: Code Hard Go Pro|http://tomaszdziurko.pl/] These were listed here, but now seem somewhat dead/abandoned: ... Full Content Wicket Blogs There are several blogs available with news, experiences, hints and tricks concerning Wicket. Here's a list of those blogs we have discovered so far. Please add your own blog to this list if you write something interesting on Wicket. WorldTurner blog A Wicket Diary Geertjan's blog Eelco's blog *new attempt Jonathan's blog Jonathan's new blog Jeremy Thomerson's blog Jesse Sightler's blog Coderspiel (runs on Wicket) Ruud en Marco's Weblog Matt Raible's Raible Designs Erik van Oosten's Blog Ryan Sonnek's Blog Here Be Beasties (Al Maw's blog) rue's headroom (Rüdiger Schulz' blog) Wicket Blog in China wanglei's blog Blog do Bruno Borges (pt_BR) Java for Dinner (pt_BR) Java Thoughts (Julian Sinai's blog) Carlo's Blog Eirik Rude's Blog Daan's blog, especially everything tagged 'Wicket' Nino's blog with screencasts, especially everything tagged 'Wicket' Wicket Praxis Mystic Blog WicketByExample steve-on-sakai Jeff's Blog Devproof Blog and Wicket articles (blog/portal is completely written in Wicket and downloadable) codesmell.org Paul Szulc: Wicket and TDD Tomasz Dziurko: Code Hard Go Pro These were listed here, but now seem somewhat dead/abandoned: John Banana Qwerty (Jean-Baptiste Quenot's blog) momania.net JavaGeek.org Phil Phil's Weblog Matej Knopp's blog Romain Guy get to love web development The code filled.. code story blog Change Notification Preferences View Online | View Changes | Add Comment