You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by gs...@apache.org on 2007/10/16 01:11:05 UTC
svn commit: r584966 [1/4] - in /wicket/trunk/jdk-1.5/wicket-examples:
.settings/ src/main/java/org/apache/wicket/examples/
src/main/java/org/apache/wicket/examples/ajax/builtin/
src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ src/main/java...
Author: gseitz
Date: Mon Oct 15 16:10:50 2007
New Revision: 584966
URL: http://svn.apache.org/viewvc?rev=584966&view=rev
Log:
WICKET-1078
Modified:
wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.core.prefs
wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.ui.prefs
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/HelloWorldServlet.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ServerHostNameAndTimeFilter.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/StartExamples.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExampleHeader.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AjaxApplication.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AutoCompletePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Clock.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FormPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/GuestBook.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LazyLoadingPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LinksPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/RatingsPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/TodoList.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/WorldClockPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent1Page.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent2Page.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalPanel1.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalWindowPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/BaseTreePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/EditablePanel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/ModelBean.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/PropertyEditableColumn.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/Index.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/BasePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/MySignInPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/BasePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/Index.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/User.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/UserRolesAuthorizer.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminAnnotationsInternalPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminBookmarkablePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminInternalPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/Captcha.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/Address.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/BookmarkablePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/DropDownChoicePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ListMultipleChoicePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/NonBookmarkablePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/Person.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/SelectPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/TextFieldPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/AlternativePageFromWebContext.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/CustomResourceLoadingApplication.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/PageFromWebContext.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/PageWithCustomLoading.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/dates/DatesPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/debug/ApplicationView.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/debug/InspectorBug.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/debug/InspectorPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/debug/LiveSessionsPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/debug/PageMapView.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/debug/RequestsPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/debug/SessionView.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/echo/Echo.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/Home.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/BeforeAndAfterBorder.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInputModel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/Multiply.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/UsPhoneNumber.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/frames/BodyFrame.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/frames/LeftFrame.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/guestbook/GuestBook.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/guice/GuiceApplication.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/guice/HomePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/guice/service/IMyService.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Game.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/HangmanApplication.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Home.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/Letter.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/hangman/WordGenerator.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/images/Home.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/library/AuthenticatedWebPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/library/Book.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/library/BookDetails.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibraryApplication.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/library/LibrarySession.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Home.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page1.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page2.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/linkomatic/Page3.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/nested/Home.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/nested/RecursivePanel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page1.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2QP.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page3.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/mounted/Page4.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/panels/signin/SignInPanel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/EditPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/ExampleApplication.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/HeaderPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/MenuPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/WicketExamplesMenuApplication.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/portlet/menu/WicketExamplesMenuPortlet.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/AjaxDataTablePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/BasePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/Contact.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/ContactDataProvider.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/ContactGenerator.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/ContactsDatabase.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/DataTablePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/ExamplePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/FormPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/GridViewPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/repeater/SortableContactDataProvider.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/signin/SignInApplication.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/signin/SignInSession.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/signin2/AuthenticatedWebPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/signin2/SignIn2.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/signin2/SignIn2Session.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/source/SourcesPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/stateless/Index.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/stateless/SessionModel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Application.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/CapturingBookmarkablePageRequestTarget.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/CapturingBookmarkablePageRequestTargetUrlCodingStrategy.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/EmailPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/stockquote/StockQuote.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/stockquote/StockQuoteLabel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/stockquote/StockQuoteLabel2.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/stockquote/StockQuotePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/template/pageinheritance/Page1.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/template/pageinheritance/Page2.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/template/pageinheritance/TemplatePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/unicodeconverter/UnicodeConverter.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/upload/MultiUploadPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/velocity/DynamicPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/Index.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/NewUserWizard.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/StaticWizard.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/wizard/StaticWizardWithPanels.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/annot/web/AnnotPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/annot/web/ProxyDataProvider.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/annot/web/ProxyModel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/Contact.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/ContactDao.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/ContactDaoImpl.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/ContactGenerator.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/QueryParam.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/BasePage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/ContactDataProvider.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/ContactDetachableModel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/ContactsDisplayPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/common/web/ExampleApplication.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/direct/web/DirectDataProvider.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/direct/web/DirectModel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/direct/web/DirectPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/proxy/web/ProxyDataProvider.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/proxy/web/ProxyModel.java
wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/spring/proxy/web/ProxyPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/com/meterware/httpunit/ParsedHTML.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/examples/AllTests.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/examples/JettyTestCaseDecorator.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/examples/WicketWebTestCase.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/examples/guestbook/GuestbookTest.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/examples/hangman/HangManTest.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/examples/hangman/WordGeneratorTest.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/examples/panels/signin/CookieTest.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/examples/panels/signin/MockPage.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/examples/signin2/Signin2Test.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/filtertest/HelloWorld.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/filtertest/WithCPWithFPTest.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/filtertest/WithCPWithoutFPTest.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/filtertest/WithoutCPWithFPTest.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/filtertest/WithoutCPWithoutFPTest.java
wicket/trunk/jdk-1.5/wicket-examples/src/test/java/org/apache/wicket/util/license/ApacheLicenceHeaderTest.java
Modified: wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.core.prefs?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.core.prefs (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.core.prefs Mon Oct 15 16:10:50 2007
@@ -122,7 +122,7 @@
org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=80
+org.eclipse.jdt.core.formatter.comment.line_length=100
org.eclipse.jdt.core.formatter.compact_else_if=true
org.eclipse.jdt.core.formatter.continuation_indentation=2
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
Modified: wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.ui.prefs
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.ui.prefs?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.ui.prefs (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/.settings/org.eclipse.jdt.ui.prefs Mon Oct 15 16:10:50 2007
@@ -17,4 +17,52 @@
org.eclipse.jdt.ui.javadoc=true
org.eclipse.jdt.ui.keywordthis=false
org.eclipse.jdt.ui.overrideannotation=true
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates><template autoinsert\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * Gets ${bare_field_name}.\n * @return ${bare_field_name}\n */</template><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * Sets ${bare_field_name}.\n * @param ${param} ${bare_field_name}\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Construct.\n * ${tags}\n */</template><templa
te autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment"></template><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\
="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\n * ${see_to_overridden}\n */</template><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ownership.\n * The ASF licenses this file to You under the Apache License, Version 2.0\n * (the "License"); you may not use this file except in compliance with\n * the License. You may obtain a copy of the License at\n *\n * http\://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in wri
ting, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">throw new RuntimeException(${exception_var});</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">${body_statement}</template><template autoinsert\="false" context\="constructorbody_context" deleted\="false" description\="Code in created constructor
stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt
.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${tags}\n * ${see_to_target}\n */</template></templates>
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="false" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\r\n * Gets ${bare_field_name}.\r\n * @return ${bare_field_name}\r\n */</template><template autoinsert\="false" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\r\n * Sets ${bare_field_name}.\r\n * @param ${param} ${bare_field_name}\r\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\r\n * Construct.\r\n
* ${tags}\r\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment"/><template autoinsert\="false" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\r\n * @author ${user}\r\n * ${tags}\r\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\r\n * \r\n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\r\n * ${tags}
\r\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\r\n * ${see_to_overridden}\r\n */</template><template autoinsert\="false" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">/*\r\n * Licensed to the Apache Software Foundation (ASF) under one or more\r\n * contributor license agreements. See the NOTICE file distributed with\r\n * this work for additional information regarding copyright ownership.\r\n * The ASF licenses this file to You under the Apache License, Version 2.0\r\n * (the "License"); you may not use this file except in compliance with\r\n * the License. You may obtain a copy of the License at\r\n *\r\n * http\://www.apache.org/licenses/LICENSE-2.0\r\
n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an "AS IS" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n${filecomment}\r\n${package_declaration}\r\n\r\n${typecomment}\r\n${type_declaration}</template><template autoinsert\="false" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">throw new RuntimeException(${exception_var});</template><template autoinsert\="false" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">${body_statement}</template><template autoinsert\="false" context\="c
onstructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\r\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false"
description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\r\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\r\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\r\n</template><template autoinsert\="true" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\r\n * ${tags}\r\n * ${see_to_target}\r\n */</template></templates>
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.format_source_code=true
+sp_cleanup.make_local_variable_final=false
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_variable_declarations_final=true
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.organize_imports=true
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=true
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=true
+sp_cleanup.remove_unused_imports=true
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_blocks=false
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_this_for_non_static_field_access=true
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=true
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/HelloWorldServlet.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/HelloWorldServlet.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/HelloWorldServlet.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/HelloWorldServlet.java Mon Oct 15 16:10:50 2007
@@ -28,8 +28,7 @@
import org.apache.wicket.protocol.http.servlet.WicketSessionFilter;
/**
- * Simple servlet that if configured with {@link WicketSessionFilter} prints the
- * current session.
+ * Simple servlet that if configured with {@link WicketSessionFilter} prints the current session.
*/
public class HelloWorldServlet extends HttpServlet
{
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ServerHostNameAndTimeFilter.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ServerHostNameAndTimeFilter.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ServerHostNameAndTimeFilter.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ServerHostNameAndTimeFilter.java Mon Oct 15 16:10:50 2007
@@ -28,9 +28,8 @@
/**
- * Displays server host name (combination of name, ipaddress and unique id,
- * which is either based) and time it took to handle the request in the
- * browser's status bar like this:
+ * Displays server host name (combination of name, ipaddress and unique id, which is either based)
+ * and time it took to handle the request in the browser's status bar like this:
* <code>window.defaultStatus = 'Host: myhost/192.168.1.66/someid, handled in: 0.01s'</code>
*
* @author eelco hillenius
@@ -40,8 +39,8 @@
private String host;
/**
- * Construct, trying system property 'examples.hostname' for the server id
- * or else current time milis.
+ * Construct, trying system property 'examples.hostname' for the server id or else current time
+ * milis.
*/
public ServerHostNameAndTimeFilter()
{
@@ -114,8 +113,8 @@
InetAddress localMachine = InetAddress.getLocalHost();
String hostName = localMachine.getHostName();
String address = localMachine.getHostAddress();
- host = ((!Strings.isEmpty(hostName)) ? hostName + "/" + address : address) + "/"
- + hostId;
+ host = ((!Strings.isEmpty(hostName)) ? hostName + "/" + address : address) + "/" +
+ hostId;
}
catch (UnknownHostException e)
{
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/StartExamples.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/StartExamples.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/StartExamples.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/StartExamples.java Mon Oct 15 16:10:50 2007
@@ -29,9 +29,8 @@
import org.mortbay.management.MBeanContainer;
/**
- * Seperate startup class for people that want to run the examples directly. Use
- * parameter -Dcom.sun.management.jmxremote to startup JMX (and e.g. connect
- * with jconsole).
+ * Seperate startup class for people that want to run the examples directly. Use parameter
+ * -Dcom.sun.management.jmxremote to startup JMX (and e.g. connect with jconsole).
*/
public class StartExamples
{
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExampleHeader.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExampleHeader.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExampleHeader.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExampleHeader.java Mon Oct 15 16:10:50 2007
@@ -58,7 +58,7 @@
{
return !RequestContext.get().isPortletRequest();
}
- });
+ });
add(new InspectorBug("inspector", page));
add(new Label("exampleTitle", exampleTitle));
Link link = new Link("sources")
@@ -70,7 +70,8 @@
};
add(link);
- PopupSettings settings = new PopupSettings(PageMap.forName("sources"), PopupSettings.RESIZABLE);
+ PopupSettings settings = new PopupSettings(PageMap.forName("sources"),
+ PopupSettings.RESIZABLE);
settings.setWidth(800);
settings.setHeight(600);
settings.setWindowName("sources");
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AjaxApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AjaxApplication.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AjaxApplication.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AjaxApplication.java Mon Oct 15 16:10:50 2007
@@ -45,7 +45,7 @@
getResourceSettings().setThrowExceptionOnMissingResource(false);
getRequestCycleSettings().addResponseFilter(new AjaxServerAndClientTimeFilter());
getDebugSettings().setAjaxDebugModeEnabled(true);
-
+
mount(new HybridUrlCodingStrategy("autocomplete", AutoCompletePage.class));
mount(new HybridUrlCodingStrategy("choice", ChoicePage.class));
mount(new HybridUrlCodingStrategy("clock", ClockPage.class));
@@ -66,7 +66,7 @@
mount(new HybridUrlCodingStrategy("tree/table", TreeTablePage.class));
mount(new HybridUrlCodingStrategy("tree/table/editable", EditableTreeTablePage.class));
}
-
+
/**
* @see org.apache.wicket.Application#getHomePage()
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AutoCompletePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AutoCompletePage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AutoCompletePage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/AutoCompletePage.java Mon Oct 15 16:10:50 2007
@@ -33,7 +33,7 @@
/**
* Page that demos the ajax auto complete text field
- *
+ *
* @author ivaynberg
*/
public class AutoCompletePage extends BasePage
@@ -79,11 +79,12 @@
};
form.add(field);
- final Label label = new Label("selectedValue",field.getModel());
+ final Label label = new Label("selectedValue", field.getModel());
label.setOutputMarkupId(true);
form.add(label);
- field.add(new AjaxFormSubmitBehavior(form, "onchange"){
+ field.add(new AjaxFormSubmitBehavior(form, "onchange")
+ {
protected void onSubmit(AjaxRequestTarget target)
{
target.addComponent(label);
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Clock.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Clock.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Clock.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Clock.java Mon Oct 15 16:10:50 2007
@@ -46,8 +46,7 @@
}
/**
- * A model that returns current time in the specified timezone via a
- * formatted string
+ * A model that returns current time in the specified timezone via a formatted string
*
* @author Igor Vaynberg (ivaynberg)
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FormPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FormPage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FormPage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/FormPage.java Mon Oct 15 16:10:50 2007
@@ -32,19 +32,20 @@
import org.apache.wicket.validation.validator.StringValidator;
/**
- * Page to demonstrate instant ajax validaion feedback. Validation is triggered
- * as the user is typing, but is throttled so that only one ajax call is made to
- * the server per second.
+ * Page to demonstrate instant ajax validaion feedback. Validation is triggered as the user is
+ * typing, but is throttled so that only one ajax call is made to the server per second.
*
* @author Igor Vaynberg (ivaynberg)
*/
-public class FormPage extends BasePage {
+public class FormPage extends BasePage
+{
private Bean bean = new Bean();
/**
* Constructor
*/
- public FormPage() {
+ public FormPage()
+ {
// create feedback panel to show errors
final FeedbackPanel feedback = new FeedbackPanel("feedback");
feedback.setOutputMarkupId(true);
@@ -76,17 +77,19 @@
// attach an ajax validation behavior to all form component's onkeydown
// event and throttle it down to once per second
- AjaxFormValidatingBehavior.addToAllFormComponents(form, "onkeyup",
- Duration.ONE_SECOND);
+ AjaxFormValidatingBehavior.addToAllFormComponents(form, "onkeyup", Duration.ONE_SECOND);
// add a button that can be used to submit the form via ajax
- form.add(new AjaxButton("ajax-button", form) {
- protected void onSubmit(AjaxRequestTarget target, Form form) {
+ form.add(new AjaxButton("ajax-button", form)
+ {
+ protected void onSubmit(AjaxRequestTarget target, Form form)
+ {
// repaint the feedback panel so that it is hidden
target.addComponent(feedback);
}
- protected void onError(AjaxRequestTarget target, Form form) {
+ protected void onError(AjaxRequestTarget target, Form form)
+ {
// repaint the feedback panel so errors are shown
target.addComponent(feedback);
}
@@ -94,7 +97,8 @@
}
/** simple java bean. */
- public static class Bean implements IClusterable {
+ public static class Bean implements IClusterable
+ {
private String name, email;
/**
@@ -102,7 +106,8 @@
*
* @return email
*/
- public String getEmail() {
+ public String getEmail()
+ {
return email;
}
@@ -112,7 +117,8 @@
* @param email
* email
*/
- public void setEmail(String email) {
+ public void setEmail(String email)
+ {
this.email = email;
}
@@ -121,7 +127,8 @@
*
* @return name
*/
- public String getName() {
+ public String getName()
+ {
return name;
}
@@ -131,7 +138,8 @@
* @param name
* name
*/
- public void setName(String name) {
+ public void setName(String name)
+ {
this.name = name;
}
}
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/GuestBook.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/GuestBook.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/GuestBook.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/GuestBook.java Mon Oct 15 16:10:50 2007
@@ -50,9 +50,9 @@
/** The list view that shows comments */
private final ListView commentListView;
- /** Container for the comments, used to update the listview. */
+ /** Container for the comments, used to update the listview. */
private WebMarkupContainer comments;
-
+
/** The textarea for entering the comments, is updated in the ajax call. */
private Component text;
@@ -68,7 +68,7 @@
// the WebMarkupContainer is used to update the listview in an ajax call
comments = new WebMarkupContainer("comments");
add(comments.setOutputMarkupId(true));
-
+
// Add commentListView of existing comments
comments.add(commentListView = new ListView("comments", new PropertyModel(this,
"commentList"))
@@ -80,13 +80,17 @@
listItem.add(new MultiLineLabel("text", comment.getText()));
}
});
-
- // we need to cancel the standard submit of the form in the onsubmit handler,
- // otherwise we'll get double submits. To do so, we return false after the
+
+ // we need to cancel the standard submit of the form in the onsubmit
+ // handler,
+ // otherwise we'll get double submits. To do so, we return false after
+ // the
// ajax submit has occurred.
-
- // The AjaxFormSubmitBehavior already calls the onSubmit of the form, all
- // we need to do in the onSubmit(AjaxRequestTarget) handler is do our Ajax
+
+ // The AjaxFormSubmitBehavior already calls the onSubmit of the form,
+ // all
+ // we need to do in the onSubmit(AjaxRequestTarget) handler is do our
+ // Ajax
// specific stuff, like rendering our components.
commentForm.add(new AjaxFormSubmitBehavior(commentForm, "onsubmit")
{
@@ -106,10 +110,10 @@
// add the list of components that need to be updated
target.addComponent(comments);
target.addComponent(text);
-
+
// focus the textarea again
- target.appendJavascript("document.getElementById('" + text.getMarkupId()
- + "').focus();");
+ target.appendJavascript("document.getElementById('" + text.getMarkupId() +
+ "').focus();");
}
@Override
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LazyLoadingPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LazyLoadingPage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LazyLoadingPage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LazyLoadingPage.java Mon Oct 15 16:10:50 2007
@@ -30,8 +30,9 @@
*/
public LazyLoadingPage()
{
- add(new AjaxLazyLoadPanel("lazy"){
-
+ add(new AjaxLazyLoadPanel("lazy")
+ {
+
@Override
public Component getLazyLoadComponent(String id)
{
@@ -44,9 +45,9 @@
{
throw new RuntimeException(e);
}
- return new Label(id,"Lazy Loaded after 5 seconds");
+ return new Label(id, "Lazy Loaded after 5 seconds");
}
-
+
});
}
}
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LinksPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LinksPage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LinksPage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/LinksPage.java Mon Oct 15 16:10:50 2007
@@ -185,7 +185,7 @@
setResponsePage(new LinksPage());
}
});
-
+
add(new AjaxLink("exception")
{
public void onClick(AjaxRequestTarget target)
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/RatingsPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/RatingsPage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/RatingsPage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/RatingsPage.java Mon Oct 15 16:10:50 2007
@@ -82,8 +82,7 @@
}
/**
- * Rating model for storing the ratings, typically this comes from a
- * database.
+ * Rating model for storing the ratings, typically this comes from a database.
*/
public static class RatingModel implements IClusterable
{
@@ -114,8 +113,7 @@
}
/**
- * Adds the vote from the user to the total of votes, and calculates the
- * rating.
+ * Adds the vote from the user to the total of votes, and calculates the rating.
*
* @param nrOfStars
* the number of stars the user has cast
@@ -149,20 +147,18 @@
}
/**
- * static models for the ratings, not thread safe, but in this case, we
- * don't care.
+ * static models for the ratings, not thread safe, but in this case, we don't care.
*/
private static RatingModel rating1 = new RatingModel();
/**
- * static model for the ratings, not thread safe, but in this case, we don't
- * care.
+ * static model for the ratings, not thread safe, but in this case, we don't care.
*/
private static RatingModel rating2 = new RatingModel();
/**
- * keeps track whether the user has already voted on this page, comes
- * typically from the database, or is stored in a cookie on the client side.
+ * keeps track whether the user has already voted on this page, comes typically from the
+ * database, or is stored in a cookie on the client side.
*/
private Boolean hasVoted = Boolean.FALSE;
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/TodoList.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/TodoList.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/TodoList.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/TodoList.java Mon Oct 15 16:10:50 2007
@@ -183,8 +183,7 @@
/**
* Toggles the visibility with the add form.
*
- * @return <code>true</code> when the add links is visible and the
- * form isn't.
+ * @return <code>true</code> when the add links is visible and the form isn't.
*/
public boolean isVisible()
{
@@ -193,8 +192,8 @@
}
/**
- * Link for removing all completed todos from the list, this link
- * follows the same visibility rules as the add link.
+ * Link for removing all completed todos from the list, this link follows the same
+ * visibility rules as the add link.
*/
private final class RemoveCompletedTodosLink extends AjaxFallbackLink
{
@@ -220,8 +219,7 @@
/**
* Toggles the visibility with the add form.
*
- * @return <code>true</code> when the add links is visible and the
- * form isn't.
+ * @return <code>true</code> when the add links is visible and the form isn't.
*/
public boolean isVisible()
{
@@ -230,10 +228,9 @@
}
/**
- * Displays a form which offers an edit field and two buttons: one for
- * adding the todo item, and one for canceling the addition. The
- * visibility of this component is mutual exclusive with the visibility
- * of the add-link.
+ * Displays a form which offers an edit field and two buttons: one for adding the todo item,
+ * and one for canceling the addition. The visibility of this component is mutual exclusive
+ * with the visibility of the add-link.
*/
private final class AddTodoForm extends Form
{
@@ -270,8 +267,7 @@
}
/**
- * Toggles the visibility with the add link. When the link is
- * visible, the form isn't.
+ * Toggles the visibility with the add link. When the link is visible, the form isn't.
*
* @return true when the form is visible and the link isn't.
*/
@@ -299,8 +295,7 @@
}
/**
- * Called then the add link was clicked, shows the form, and hides the
- * link.
+ * Called then the add link was clicked, shows the form, and hides the link.
*
* @param target
* the request target.
@@ -335,9 +330,8 @@
}
/**
- * Called when the form is submitted through the add button, stores the
- * todo item, hides the form, displays the add link and updates the
- * listview.
+ * Called when the form is submitted through the add button, stores the todo item, hides the
+ * form, displays the add link and updates the listview.
*
* @param target
* the request target
@@ -362,8 +356,8 @@
}
/**
- * Called when adding a new todo item was canceled. Hides the add form
- * and displays the add link.
+ * Called when adding a new todo item was canceled. Hides the add form and displays the add
+ * link.
*
* @param target
* the request target.
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/WorldClockPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/WorldClockPage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/WorldClockPage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/WorldClockPage.java Mon Oct 15 16:10:50 2007
@@ -24,8 +24,7 @@
/**
- * A world clock example page. Demonstrates timer behavior as well as multiple
- * component update.
+ * A world clock example page. Demonstrates timer behavior as well as multiple component update.
*
* @author Igor Vaynberg (ivaynberg)
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent1Page.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent1Page.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent1Page.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent1Page.java Mon Oct 15 16:10:50 2007
@@ -28,66 +28,75 @@
* @author Matej Knopp
*
*/
-public class ModalContent1Page extends WebPage {
-
+public class ModalContent1Page extends WebPage
+{
+
/**
*
* @param modalWindowPage
* @param window
*/
- public ModalContent1Page(final ModalWindowPage modalWindowPage, final ModalWindow window)
+ public ModalContent1Page(final ModalWindowPage modalWindowPage, final ModalWindow window)
{
- add(new AjaxLink("closeOK")
+ add(new AjaxLink("closeOK")
{
- public void onClick(AjaxRequestTarget target) {
+ public void onClick(AjaxRequestTarget target)
+ {
if (modalWindowPage != null)
- modalWindowPage.setResult("Modal window 1 - close link OK");
+ modalWindowPage.setResult("Modal window 1 - close link OK");
window.close(target);
}
});
- add(new AjaxLink("closeCancel")
+ add(new AjaxLink("closeCancel")
{
- public void onClick(AjaxRequestTarget target)
+ public void onClick(AjaxRequestTarget target)
{
if (modalWindowPage != null)
modalWindowPage.setResult("Modal window 1 - close link Cancel");
window.close(target);
}
});
-
+
add(new DateTimeField("dateTimeField"));
final ModalWindow modal;
- add (modal= new ModalWindow("modal"));
+ add(modal = new ModalWindow("modal"));
modal.setPageMapName("modal-2");
-
+
modal.setCookieName("modal window 2");
-
- modal.setResizable(false);
+
+ modal.setResizable(false);
modal.setInitialWidth(30);
modal.setInitialHeight(15);
modal.setWidthUnit("em");
modal.setHeightUnit("em");
-
+
modal.setCssClassName(ModalWindow.CSS_CLASS_GRAY);
- modal.setPageCreator(new ModalWindow.PageCreator() {
- public Page createPage() {
+ modal.setPageCreator(new ModalWindow.PageCreator()
+ {
+ public Page createPage()
+ {
return new ModalContent2Page(modal);
}
});
- modal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback() {
- public boolean onCloseButtonClicked(AjaxRequestTarget target) {
- target.appendJavascript("alert('You can\\'t close this modal window using close button."
- + " Use the link inside the window instead.');");
+ modal.setCloseButtonCallback(new ModalWindow.CloseButtonCallback()
+ {
+ public boolean onCloseButtonClicked(AjaxRequestTarget target)
+ {
+ target
+ .appendJavascript("alert('You can\\'t close this modal window using close button."
+ + " Use the link inside the window instead.');");
return false;
}
});
- add(new AjaxLink("open") {
- public void onClick(AjaxRequestTarget target) {
+ add(new AjaxLink("open")
+ {
+ public void onClick(AjaxRequestTarget target)
+ {
modal.show(target);
}
});
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent2Page.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent2Page.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent2Page.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalContent2Page.java Mon Oct 15 16:10:50 2007
@@ -24,23 +24,25 @@
/**
* @author Matej Knopp
- *
+ *
*/
-public class ModalContent2Page extends WebPage {
+public class ModalContent2Page extends WebPage
+{
/**
* @param window
*/
- public ModalContent2Page(final ModalWindow window)
+ public ModalContent2Page(final ModalWindow window)
{
add(new AjaxLink("close")
{
- public void onClick(AjaxRequestTarget target) {
+ public void onClick(AjaxRequestTarget target)
+ {
window.close(target);
}
});
-
+
}
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalPanel1.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalPanel1.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalPanel1.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalPanel1.java Mon Oct 15 16:10:50 2007
@@ -24,15 +24,18 @@
/**
* @author Matej Knopp
*/
-public class ModalPanel1 extends Panel {
+public class ModalPanel1 extends Panel
+{
/**
* @param id
*/
- public ModalPanel1(String id) {
+ public ModalPanel1(String id)
+ {
super(id);
-
- add(new DateTimeField("dateTimeField") {
+
+ add(new DateTimeField("dateTimeField")
+ {
/**
* @see org.apache.wicket.extensions.yui.calendar.DateTimeField#configure(java.util.Map)
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalWindowPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalWindowPage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalWindowPage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/modal/ModalWindowPage.java Mon Oct 15 16:10:50 2007
@@ -36,7 +36,7 @@
public ModalWindowPage()
{
final Label result;
- add (result= new Label("result", new PropertyModel(this, "result")));
+ add(result = new Label("result", new PropertyModel(this, "result")));
result.setOutputMarkupId(true);
/*
@@ -85,7 +85,7 @@
*/
final ModalWindow modal2;
- add (modal2 = new ModalWindow("modal2"));
+ add(modal2 = new ModalWindow("modal2"));
modal2.setContent(new ModalPanel1(modal2.getContentId()));
modal2.setTitle("This is modal window with panel content.");
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/BaseTreePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/BaseTreePage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/BaseTreePage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/BaseTreePage.java Mon Oct 15 16:10:50 2007
@@ -72,8 +72,8 @@
}
/**
- * Returns the tree on this pages. This is used to collapse, expand the tree
- * and to switch the rootless mode.
+ * Returns the tree on this pages. This is used to collapse, expand the tree and to switch the
+ * rootless mode.
*
* @return Tree instance on this page
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/EditablePanel.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/EditablePanel.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/EditablePanel.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/EditablePanel.java Mon Oct 15 16:10:50 2007
@@ -24,29 +24,31 @@
/**
* Panel that contains an text field that submits automatically after it loses focus.
- *
+ *
* @author Matej Knopp
*/
-public class EditablePanel extends Panel {
+public class EditablePanel extends Panel
+{
/**
* Panel constructor.
*
- * @param id
- * Markup id
+ * @param id
+ * Markup id
*
* @param inputModel
- * Model of the text field
+ * Model of the text field
*/
- public EditablePanel(String id, IModel inputModel) {
+ public EditablePanel(String id, IModel inputModel)
+ {
super(id);
-
+
TextField field = new TextField("textfield", inputModel);
add(field);
-
- field.add(new AjaxFormComponentUpdatingBehavior("onblur")
+
+ field.add(new AjaxFormComponentUpdatingBehavior("onblur")
{
- protected void onUpdate(AjaxRequestTarget target)
+ protected void onUpdate(AjaxRequestTarget target)
{
}
});
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/ModelBean.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/ModelBean.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/ModelBean.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/ModelBean.java Mon Oct 15 16:10:50 2007
@@ -19,9 +19,9 @@
import java.io.Serializable;
/**
- * Bean that is set to every node of tree as user object.
- * This bean has properties that are used to hold values for the cells.
- *
+ * Bean that is set to every node of tree as user object. This bean has properties that are used to
+ * hold values for the cells.
+ *
* @author Matej Knopp
*/
public class ModelBean implements Serializable
@@ -34,10 +34,10 @@
private String property6;
/**
- * Creates the bean.
+ * Creates the bean.
*
* @param s
- * String that will be suffix of each property.
+ * String that will be suffix of each property.
*/
public ModelBean(String s)
{
@@ -52,8 +52,7 @@
/**
* Returns the first property.
*
- * @return
- * First property
+ * @return First property
*/
public String getProperty1()
{
@@ -64,7 +63,7 @@
* Sets the value of first property.
*
* @param property1
- * Mew value
+ * Mew value
*/
public void setProperty1(String property1)
{
@@ -74,8 +73,7 @@
/**
* Returns the second property.
*
- * @return
- * Second property
+ * @return Second property
*/
public String getProperty2()
{
@@ -86,7 +84,7 @@
* Sets the value of second property
*
* @param property2
- * New value
+ * New value
*/
public void setProperty2(String property2)
{
@@ -96,8 +94,7 @@
/**
* Returns the value of third property.
*
- * @return
- * Third property
+ * @return Third property
*/
public String getProperty3()
{
@@ -108,7 +105,7 @@
* Sets the value of third property
*
* @param property3
- * New value
+ * New value
*/
public void setProperty3(String property3)
{
@@ -118,8 +115,7 @@
/**
* Returns the value of fourth property
*
- * @return
- * Value of fourth property
+ * @return Value of fourth property
*/
public String getProperty4()
{
@@ -130,7 +126,7 @@
* Sets the value of fourth property
*
* @param property4
- * New value
+ * New value
*/
public void setProperty4(String property4)
{
@@ -140,8 +136,7 @@
/**
* Returns the value of fifth property
*
- * @return
- * Value of fifth property
+ * @return Value of fifth property
*/
public String getProperty5()
{
@@ -152,18 +147,17 @@
* Sets the value of fifth property
*
* @param property5
- * New value
+ * New value
*/
public void setProperty5(String property5)
{
this.property5 = property5;
}
-
+
/**
* Returns the value of sixth property.
*
- * @return
- * Value of sixth property
+ * @return Value of sixth property
*/
public String getProperty6()
{
@@ -174,13 +168,13 @@
* Sets the value of sixth property
*
* @param property6
- * New value
+ * New value
*/
public void setProperty6(String property6)
{
this.property6 = property6;
}
-
+
/**
* @see java.lang.Object#toString()
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/PropertyEditableColumn.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/PropertyEditableColumn.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/PropertyEditableColumn.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/tree/PropertyEditableColumn.java Mon Oct 15 16:10:50 2007
@@ -28,37 +28,37 @@
/**
- * Column, that either shows a readonly cell or an editable panel, depending on whether
- * the current row is selected.
- *
+ * Column, that either shows a readonly cell or an editable panel, depending on whether the current
+ * row is selected.
+ *
* @author Matej Knopp
*/
-public class PropertyEditableColumn extends PropertyRenderableColumn
+public class PropertyEditableColumn extends PropertyRenderableColumn
{
/**
* Column constructor.
-
+ *
* @param location
* @param header
* @param propertyExpression
*/
- public PropertyEditableColumn(ColumnLocation location, String header, String propertyExpression)
+ public PropertyEditableColumn(ColumnLocation location, String header, String propertyExpression)
{
super(location, header, propertyExpression);
}
-
+
/**
* @see IColumn#newCell(MarkupContainer, String, TreeNode, int)
*/
- public Component newCell(MarkupContainer parent, String id, TreeNode node, int level)
+ public Component newCell(MarkupContainer parent, String id, TreeNode node, int level)
{
return new EditablePanel(id, new PropertyModel(node, getPropertyExpression()));
}
-
+
/**
* @see IColumn#newCell(TreeNode, int)
*/
- public IRenderable newCell(TreeNode node, int level)
+ public IRenderable newCell(TreeNode node, int level)
{
if (getTreeTable().getTreeState().isNodeSelected(node))
return null;
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/Index.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/Index.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/Index.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/Index.java Mon Oct 15 16:10:50 2007
@@ -26,10 +26,10 @@
/**
- * Example displaying partial page rendering using the counting link example and
- * prototype.js. Prototype.js is a javascript library that provides several
- * handy JavaScript functions, amongst others an Ajax.Updater function, which
- * updates the HTML document with the response of the Ajax call.
+ * Example displaying partial page rendering using the counting link example and prototype.js.
+ * Prototype.js is a javascript library that provides several handy JavaScript functions, amongst
+ * others an Ajax.Updater function, which updates the HTML document with the response of the Ajax
+ * call.
*
* @author ivaynberg
*/
@@ -50,9 +50,8 @@
add(new Link("link")
{
/**
- * Handles a click on the link. This method is accessed normally
- * using a standard http request, but in this example, we use Ajax
- * to perform the call.
+ * Handles a click on the link. This method is accessed normally using a standard http
+ * request, but in this example, we use Ajax to perform the call.
*/
public void onClick()
{
@@ -64,8 +63,8 @@
}
/**
- * Alter the javascript 'onclick' event to emit the Ajax call and
- * update the counter label.
+ * Alter the javascript 'onclick' event to emit the Ajax call and update the counter
+ * label.
*/
protected String getOnClickScript(String url)
{
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/BasePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/BasePage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/BasePage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/BasePage.java Mon Oct 15 16:10:50 2007
@@ -23,5 +23,5 @@
*/
public class BasePage extends WicketExamplePage
{
-
+
}
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/MySignInPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/MySignInPage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/MySignInPage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authentication/MySignInPage.java Mon Oct 15 16:10:50 2007
@@ -21,8 +21,8 @@
/**
- * Simple example of a sign in page. It extends MySignInPage, a base class which
- * provide standard functionality for typical log-in pages
+ * Simple example of a sign in page. It extends MySignInPage, a base class which provide standard
+ * functionality for typical log-in pages
*
* @author Jonathan Locke
*/
@@ -34,7 +34,7 @@
public MySignInPage()
{
}
-
+
/**
* Constructor
*
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/BasePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/BasePage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/BasePage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/BasePage.java Mon Oct 15 16:10:50 2007
@@ -23,5 +23,5 @@
*/
public class BasePage extends WicketExamplePage
{
-
+
}
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/Index.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/Index.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/Index.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/Index.java Mon Oct 15 16:10:50 2007
@@ -23,7 +23,6 @@
import org.apache.wicket.examples.authorization.pages.AdminInternalPage;
import org.apache.wicket.examples.authorization.pages.AnnotationsPanelsPage;
import org.apache.wicket.examples.authorization.pages.PanelsPage;
-import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.link.Link;
@@ -76,7 +75,8 @@
add(new BookmarkablePageLink("panelsPageLink", PanelsPage.class));
// pages that are protected using annotations
- add(new BookmarkablePageLink("adminAnnotBookmarkableLink", AdminAnnotationsBookmarkablePage.class));
+ add(new BookmarkablePageLink("adminAnnotBookmarkableLink",
+ AdminAnnotationsBookmarkablePage.class));
add(new Link("adminAnnotInternalLink")
{
@Override
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/User.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/User.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/User.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/User.java Mon Oct 15 16:10:50 2007
@@ -66,7 +66,8 @@
/**
* Whether this user has any of the given roles.
*
- * @param roles set of roles
+ * @param roles
+ * set of roles
* @return whether this user has any of the given roles
*/
public boolean hasAnyRole(Roles roles)
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/UserRolesAuthorizer.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/UserRolesAuthorizer.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/UserRolesAuthorizer.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/UserRolesAuthorizer.java Mon Oct 15 16:10:50 2007
@@ -22,8 +22,7 @@
/**
- * The authorizer we need to provide to the authorization strategy
- * implementation
+ * The authorizer we need to provide to the authorization strategy implementation
* {@link org.apache.wicket.authorization.strategies.role.annotations.AnnotationsRoleAuthorizationStrategy}.
*
* @author Eelco Hillenius
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminAnnotationsInternalPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminAnnotationsInternalPage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminAnnotationsInternalPage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminAnnotationsInternalPage.java Mon Oct 15 16:10:50 2007
@@ -20,8 +20,7 @@
import org.apache.wicket.examples.authorization.BasePage;
/**
- * Non-bookmarkable page that may only be accessed by users that have role
- * ADMIN.
+ * Non-bookmarkable page that may only be accessed by users that have role ADMIN.
*
* @author Eelco Hillenius
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminBookmarkablePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminBookmarkablePage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminBookmarkablePage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminBookmarkablePage.java Mon Oct 15 16:10:50 2007
@@ -29,7 +29,7 @@
* See for configuration of this class the {@link RolesApplication#init)
* MetaDataRoleAuthorizationStrategy.authorize(AdminBookmarkablePage.class, "ADMIN");
*/
-
+
/**
* Construct.
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminInternalPage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminInternalPage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminInternalPage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/pages/AdminInternalPage.java Mon Oct 15 16:10:50 2007
@@ -19,8 +19,7 @@
import org.apache.wicket.examples.authorization.BasePage;
/**
- * Non-bookmarkable page that may only be accessed by users that have role
- * ADMIN.
+ * Non-bookmarkable page that may only be accessed by users that have role ADMIN.
*
* @author Eelco Hillenius
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/Captcha.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/Captcha.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/Captcha.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/Captcha.java Mon Oct 15 16:10:50 2007
@@ -70,8 +70,8 @@
{
if (!imagePass.equals(getPassword()))
{
- error("Captcha password '" + getPassword() + "' is wrong.\n"
- + "Correct password was: " + imagePass);
+ error("Captcha password '" + getPassword() + "' is wrong.\n" +
+ "Correct password was: " + imagePass);
}
else
{
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/Address.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/Address.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/Address.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/Address.java Mon Oct 15 16:10:50 2007
@@ -124,7 +124,7 @@
*/
public String toString()
{
- return "[Address address=" + address + ", postcode=" + postcode + ", city=" + city
- + ", country=" + country + "]";
+ return "[Address address=" + address + ", postcode=" + postcode + ", city=" + city +
+ ", country=" + country + "]";
}
}
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/BookmarkablePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/BookmarkablePage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/BookmarkablePage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/BookmarkablePage.java Mon Oct 15 16:10:50 2007
@@ -22,9 +22,8 @@
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
/**
- * Example page that cannot be bookmarked. A page is bookmarkable when it has a
- * public default constructor and/or a public constructor with a
- * {@link org.apache.wicket.PageParameters} argument.
+ * Example page that cannot be bookmarked. A page is bookmarkable when it has a public default
+ * constructor and/or a public constructor with a {@link org.apache.wicket.PageParameters} argument.
*
* @author Eelco Hillenius
*/
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/DropDownChoicePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/DropDownChoicePage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/DropDownChoicePage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/DropDownChoicePage.java Mon Oct 15 16:10:50 2007
@@ -117,8 +117,8 @@
}
/**
- * Gets the value that is invisble to the end user, and that is used
- * as the selection id.
+ * Gets the value that is invisble to the end user, and that is used as the selection
+ * id.
*
* @see org.apache.wicket.markup.html.form.IChoiceRenderer#getIdValue(java.lang.Object,
* int)
Modified: wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ListMultipleChoicePage.java
URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ListMultipleChoicePage.java?rev=584966&r1=584965&r2=584966&view=diff
==============================================================================
--- wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ListMultipleChoicePage.java (original)
+++ wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/compref/ListMultipleChoicePage.java Mon Oct 15 16:10:50 2007
@@ -75,9 +75,11 @@
ListMultipleChoice listChoice = new ListMultipleChoice("sites", SITES);
form.add(listChoice);
- listChoice = new ListMultipleChoice("choices", MANY_CHOICES) {
+ listChoice = new ListMultipleChoice("choices", MANY_CHOICES)
+ {
/**
- * @see org.apache.wicket.markup.html.form.AbstractChoice#isDisabled(java.lang.Object, int, java.lang.String)
+ * @see org.apache.wicket.markup.html.form.AbstractChoice#isDisabled(java.lang.Object,
+ * int, java.lang.String)
*/
@Override
protected boolean isDisabled(Object object, int index, String selected)