wicket

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » wicket » wicket 
wicket
wicket package

The core Wicket package. The key core classes you will need to learn to do basic Wicket programming are:

  • {@link wicket.Application} / {@link wicket.protocol.http.WebApplication} - Subclass WebApplication to create your application. Set your home page with Application.getPages().setHomePage(MyHomePage.class). Configure Wicket for deployment with Application.getSettings().configure("deployment"). Substitute "development" to get default settings for a development environment.
  • {@link wicket.Component} - You will need to carefully study this class as Component is very central to Wicket. There are a large number of convenience methods in Component and, naturally, every component in Wicket is a subclass of Component, so all these methods are available to all Components.
  • {@link wicket.IRequestCycleFactory} - If you are working with a persistence framework such as Hibernate or JDO, you may need to implement a request cycle factory in order to open a persistence session at the beginning of a request and close the session at the end of the request.
  • {@link wicket.ISessionFactory} - For all but the most trivial applications, you will need to create your own session factory. Your implementation of this interface will generally be quite simple, generally just returning a new instance of your own application-specific subclass of WebSession.
  • {@link wicket.MarkupContainer} - You will need to study MarkupContainer carefully as this class contains all the logic for creating and maintaining component hierarchies.
  • {@link wicket.Page} / {@link wicket.markup.html.WebPage} - Every page in your wicket application will extend WebPage (or some other subclass of Page if you are writing something other than a web application). There are a number of important methods in Page and you should be familiar with all of them.
  • {@link wicket.PageParameters} - A simple wrapper for query string parameters.
  • {@link wicket.Session} / {@link wicket.protocol.http.WebSession} - It is particularly important to understand Session if you are doing clustering, but even for a very basic application you will want to create your own subclass of WebSession using a session factory so that you can store any session properties in a typesafe way. Note that since Pages are first class objects with models of their own, it is likely or at least possible that you will not have many session properties.

Java Source File NameTypeComment
AbortException.javaClass Immediately aborts any further processing.
AbortWithHttpStatusException.javaClass Causes Wicket to abort processing and set the specified HTTP status code.
AbstractRestartResponseException.javaClass An exception that causes the request cycle to immediately switch to respond stage.
Application.javaClass Base class for all Wicket applications.
ApplicationSettingsTest.javaClass Test cases for the ApplicationSettings class.
AttributeModifier.javaClass This class allows a tag attribute of a component to be modified dynamically with a value obtained from a model object.
AttributeModifierComponentPage.javaClass Test page used for checking the attribute modification functionality of Component.
AttributeModifierComponentTest.javaClass This set of tests builds a sample application for testing the dynamic modicication of attributes in both component tags and also in raw markup.
AttributeModifierTest.javaClass Test case for the component tag attribute modifer test.
AuthorizationTest.javaClass Authorization tests.
Component.javaClass Component serves as the highest level abstract base class for all components.
  • Identity - All Components must have a non-null id which is retrieved by calling getId().
ComponentTest.javaClass Test for ajax handler.
DisabledComponentPage1.javaClass Mock page for testing.
DisabledComponentPage2.javaClass
DisabledComponentTest.javaClass
FormDispatchEventTest.javaClass
HomePageRedirectTest.javaClass
IDestroyer.javaInterface Optional interface for IInitializer initializers that can clean up stuff initializers created.
IInitializer.javaInterface Initializes something when application loads. Initializer is there for clustering.
Initializer.javaClass Initializer for components in wicket core library.
IPageFactory.javaInterface A factory class that creates Pages.
IRedirectListener.javaInterface Request listener called on page redirects.
IRequestCycleFactory.javaInterface Factory for creating request cycles for a session.
IRequestListener.javaInterface Base interface for all interfaces that listen for requests from the client browser.
IRequestTarget.javaInterface

A request target is the base entity that is the subject of a request. Different types of request have different request targets.

IResourceFactory.javaInterface A factory which creates resources for a given specification string.
IResourceListener.javaInterface Listens for requests regarding resources.
IResponseFilter.javaInterface A response filter can be added to the wicket.settings.IRequestCycleSettings.addResponseFilter(IResponseFilter) object The will be called from the Buffered Response objects right before they would send it to the real responses.
ISessionFactory.javaInterface A factory interface used by Applications to create Sessions.
Localizer.javaClass A utility class that encapsulates all of the localization related functionality in a way that it can be accessed by all areas of the framework in a consistent way.
LocalizerTest.javaClass Test cases for the Localizer class.
MarkupContainer.javaClass A MarkupContainer holds a map of child components.
  • Children - Children can be added by calling the add() method, and they can be looked up using a dotted path.
MarkupContainerTest.javaClass
MarkupFragmentFinder.javaClass Responding to an AJAX request requires that we position the markup stream at the component associated with the AJAX request.
MetaDataEntry.javaClass Class used for holding meta data entries.
MetaDataKey.javaClass A key to a piece of metadata associated with a Component at runtime.
MockPageWithLink.javaClass Use this mock when testing you wan't to test a link on a page.
MockPageWithLinkAndComponent.javaClass Use this mock when testing you wan't to test a link and a component on a page.
MockPageWithOneComponent.javaClass
MyMockPage.javaClass
MyPage0.javaClass
MyPage1.javaClass
MyPage2.javaClass
MyPage3.javaClass
MyPage4.javaClass
MyPage5.javaClass
Page.javaClass Abstract base class for pages.
PageFactoryTest.javaClass
PageMap.javaClass A container for pages held in the session.
PageParameters.javaClass A typesafe abstraction and container for parameters to a requested page.
PageParametersTest.javaClass Unit test for the PageParameters, introduced for bug [ 1213889 ] PageParameter keyValuePair disallows negatives.
Request.javaClass Base class for page request implementations allowing access to request parameters.
RequestCycle.javaClass THIS CLASS IS DELIBERATELY NOT INSTANTIABLE BY FRAMEWORK CLIENTS AND IS NOT INTENDED TO BE SUBCLASSED BY FRAMEWORK CLIENTS.

Represents the request cycle, including the applicable application, page, request, response and session.

Convenient container for an application, session, request and response object for a page request cycle.

RequestListenerInterface.javaClass Base class for request listener interfaces.
Resource.javaClass A Resource is something that implements IResourceListener and provides a getResource() method which returns the raw IResource to be rendered back to the client browser.

Resources themselves do not currently have URLs.

ResourceReference.javaClass ResourceReference is essentially a reference to an actual resource which is shared through the Application.
Response.javaClass Abstract base class for different implementations of response writing.
RestartResponseAtInterceptPageException.javaClass Causes Wicket to interrupt current request processing and immediately redirect to an intercept page.
RestartResponseException.javaClass Causes wicket to interrupt current request processing and immediately respond with the specified page.
Session.javaClass Holds information about a user session, including some fixed number of most recent pages (and all their nested component information).
SharedResources.javaClass Class which holds shared resources.
SharedResourceUrlTest.javaClass
TesterTest.javaClass
TestPage_1.javaClass Mock page for testing.
WicketRuntimeException.javaClass Generic runtime exception subclass thrown by Wicket.
WicketTestCase.javaClass Base class for tests which require comparing wicket response with a file.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.