 Introducing Apache Wicket"Hello World")); } ... Wicket “Hello world” ● In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component model object. public class Person { private String name; private String surname; private String address; private String email; } //Create a person named 'John Smith' Person person = new Person("John" CompoundPropertyModel(person)); add(new Label("name")); add(new Label("surname")); add(new Label("address")); add(new Label("email")); Model CompoundPropertyModel ● This can save us a lot boilerplate code0 码力 | 53 页 | 1.85 MB | 1 年前3 Introducing Apache Wicket"Hello World")); } ... Wicket “Hello world” ● In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component model object. public class Person { private String name; private String surname; private String address; private String email; } //Create a person named 'John Smith' Person person = new Person("John" CompoundPropertyModel(person)); add(new Label("name")); add(new Label("surname")); add(new Label("address")); add(new Label("email")); Model CompoundPropertyModel ● This can save us a lot boilerplate code0 码力 | 53 页 | 1.85 MB | 1 年前3
 Apache Wicket 8.x Reference Guideoffered by web applications is to navigate through pages using links. In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component areas/functionalities of the site. • a footer with generic informations like web master’s email, the company address, etc… • a content area which usually contains the functional part of the page. The following picture implements Serializable { private String name; private String surname; private String address; private String email; private String passportCode; private Person spouse; private0 码力 | 350 页 | 9.95 MB | 1 年前3 Apache Wicket 8.x Reference Guideoffered by web applications is to navigate through pages using links. In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component areas/functionalities of the site. • a footer with generic informations like web master’s email, the company address, etc… • a content area which usually contains the functional part of the page. The following picture implements Serializable { private String name; private String surname; private String address; private String email; private String passportCode; private Person spouse; private0 码力 | 350 页 | 9.95 MB | 1 年前3
 Apache Wicket 7.x Reference Guideoffered by web applications is to navigate through pages using links. In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component areas/functionalities of the site. • a footer with generic informations like web master’s email, the company address, etc… • a content area which usually contains the functional part of the page. The following picture implements Serializable { private String name; private String surname; private String address; private String email; private String passportCode; private Person spouse; private0 码力 | 346 页 | 10.00 MB | 1 年前3 Apache Wicket 7.x Reference Guideoffered by web applications is to navigate through pages using links. In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component areas/functionalities of the site. • a footer with generic informations like web master’s email, the company address, etc… • a content area which usually contains the functional part of the page. The following picture implements Serializable { private String name; private String surname; private String address; private String email; private String passportCode; private Person spouse; private0 码力 | 346 页 | 10.00 MB | 1 年前3
 Apache Wicket 10.x Reference Guideoffered by web applications is to navigate through pages using links. In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component areas/functionalities of the site. • a footer with generic informations like web master’s email, the company address, etc… • a content area which usually contains the functional part of the page. The following picture implements Serializable { private String name; private String surname; private String address; private String email; private String passportCode; private Person spouse; private0 码力 | 336 页 | 7.16 MB | 1 年前3 Apache Wicket 10.x Reference Guideoffered by web applications is to navigate through pages using links. In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component areas/functionalities of the site. • a footer with generic informations like web master’s email, the company address, etc… • a content area which usually contains the functional part of the page. The following picture implements Serializable { private String name; private String surname; private String address; private String email; private String passportCode; private Person spouse; private0 码力 | 336 页 | 7.16 MB | 1 年前3
 Apache Wicket 9.x Reference Guideoffered by web applications is to navigate through pages using links. In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component areas/functionalities of the site. • a footer with generic informations like web master’s email, the company address, etc… • a content area which usually contains the functional part of the page. The following picture implements Serializable { private String name; private String surname; private String address; private String email; private String passportCode; private Person spouse; private0 码力 | 335 页 | 7.15 MB | 1 年前3 Apache Wicket 9.x Reference Guideoffered by web applications is to navigate through pages using links. In HTML a link is basically a pointer to another resource that most of the time is another page. Wicket implements links with component areas/functionalities of the site. • a footer with generic informations like web master’s email, the company address, etc… • a content area which usually contains the functional part of the page. The following picture implements Serializable { private String name; private String surname; private String address; private String email; private String passportCode; private Person spouse; private0 码力 | 335 页 | 7.15 MB | 1 年前3
 Spring Framework 1.2.2 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 269 页 | 1.41 MB | 1 年前3 Spring Framework 1.2.2 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 269 页 | 1.41 MB | 1 年前3
 Spring Framework 1.2.6 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3 Spring Framework 1.2.6 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3
 Spring Framework 1.2.x Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 289 页 | 1.50 MB | 1 年前3 Spring Framework 1.2.x Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 289 页 | 1.50 MB | 1 年前3
 Spring Framework 1.2.3 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 276 页 | 1.44 MB | 1 年前3 Spring Framework 1.2.3 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 276 页 | 1.44 MB | 1 年前3
 Spring Framework 1.2.8 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3 Spring Framework 1.2.8 Referencefoo, and the bob property of fred must both be non-null after the bean is constructed, or a null-pointer exception will be thrown. 3.3.4. Method Injection For most users, the majority of the beans in this.ctx = ctx; } public void sendEmail(String address, String text) { if (blackList.contains(address)) { BlackListEvent evt = new BlackListEvent(address, text); ctx.publishEvent(evt); return; } // send send email } } public class BlackListNotifier implement ApplicationListener { /** notification address */ private String notificationAddress; public void setNotificationAddress(String notificationAddress)0 码力 | 290 页 | 1.49 MB | 1 年前3
共 367 条
- 1
- 2
- 3
- 4
- 5
- 6
- 37














 
 