-
dependencies ..... 173
16.7. Aggregate multiple resources with resource bundles ..... 174
16.8. Put JavaScript inside page body ..... 174
16.9. Header contributors positioning ..... 176
16.10. Custom resources derived through models ..... 186
16.18. Summary ..... 187
17. An example of integration with JavaScript ..... 188
17.1. What we want to do ..... 188
17.2. ...and how we will do it ..... 189
17 client is generated according to this model. You can think of the model as if it was an “inverse” JavaScript DOM, meaning that:
1. it is built on the server-side
2. it is built before HTML is sent to the
0 码力 |
350 页 |
9.95 MB
| 2 年前 3
-
dependencies ..... 172
16.7. Aggregate multiple resources with resource bundles ..... 173
16.8. Put JavaScript inside page body ..... 173
16.9. Header contributors positioning ..... 176
16.10. Custom resources derived through models ..... 186
16.17. Summary ..... 187
17. An example of integration with JavaScript ..... 188
17.1. What we want to do.....188
17.2. ...and how we will do it.....189
17.3. Summary client is generated according to this model. You can think of the model as if it was an “inverse” JavaScript DOM, meaning that:
1. is built on server-side
2. is built before HTML is sent to client
3. HTML
0 码力 |
346 页 |
10.00 MB
| 2 年前 3
-
dependencies ..... 166
16.7. Aggregate multiple resources with resource bundles ..... 166
16.8. Put JavaScript inside page body ..... 167
16.9. Header contributors positioning ..... 169
16.10. Custom resources derived through models ..... 178
16.18. Summary ..... 179
17. An example of integration with JavaScript ..... 180
17.1. What we want to do ..... 180
17.2. ...and how we will do it ..... 181
17 client is generated according to this model. You can think of the model as if it was an “inverse” JavaScript DOM, meaning that:
1. it is built on the server-side
2. it is built before HTML is sent to the
0 码力 |
336 页 |
7.16 MB
| 2 年前 3
-
dependencies ..... 165
16.7. Aggregate multiple resources with resource bundles ..... 165
16.8. Put JavaScript inside page body ..... 166
16.9. Header contributors positioning ..... 168
16.10. Custom resources derived through models ..... 177
16.18. Summary ..... 178
17. An example of integration with JavaScript ..... 179
17.1. What we want to do ..... 179
17.2. ...and how we will do it ..... 180
17 client is generated according to this model. You can think of the model as if it was an “inverse” JavaScript DOM, meaning that:
1. it is built on the server-side
2. it is built before HTML is sent to the
0 码力 |
335 页 |
7.15 MB
| 2 年前 3
-
HTML to send back according to this model. You can think of the model as if it was an “inverse” JavaScript DOM, meaning that:
1) is built on server-side
2) is built before HTML is sent to client
3) HTML to place some mock HTML to show how the final panel should look like. APACHE®
## JavaScript and CSS in panels
## APACHE 😜 WICKET ™
- If we want to add header resources to a panel (for dependencies APACHE 📸 WICKET™
• CssHeaderItem: for CSS content.
• JavaScriptHeaderItem: for JavaScript content.
• StringHeaderItem: render free text in the header section.
• As we said before, we
0 码力 |
53 页 |
1.85 MB
| 2 年前 3
-
... 12
2.3. Example ..... 13
2.3.1. Overview ..... 13
2.3.2. HTML page ..... 13
2.3.3. Javascript ..... 14
2.4. Conclusion ..... 22
2.5. Annex ..... 22
2.6. Configuration ..... 22
2.6.1 Simply reference the context script in your HTML as in the following example: