Apache Wicket 10.x Reference Guide
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 16.1. Static vs dynamic resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . href="http://www.google.com/search?q=John+Smith">Search me on Google! If we need to specify a dynamic value for the text inside the anchor, we can pass it as an additional constructor parameter: Html: Using parameter placeholders with mounted pages The path specified for mounted pages can contain dynamic segments which are populated with the values of the named parameters used to build the page. These0 码力 | 336 页 | 7.16 MB | 1 年前3Apache Wicket 9.x Reference Guide
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 16.1. Static vs dynamic resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . href="http://www.google.com/search?q=John+Smith">Search me on Google! If we need to specify a dynamic value for the text inside the anchor, we can pass it as an additional constructor parameter: Html: Using parameter placeholders with mounted pages The path specified for mounted pages can contain dynamic segments which are populated with the values of the named parameters used to build the page. These0 码力 | 335 页 | 7.15 MB | 1 年前3Apache Wicket 8.x Reference Guide
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 16.1. Static vs dynamic resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . href="http://www.google.com/search?q=John+Smith">Search me on Google! If we need to specify a dynamic value for the text inside the anchor, we can pass it as an additional constructor parameter: 68 Using parameter placeholders with mounted pages The path specified for mounted pages can contain dynamic segments which are populated with the values of the named parameters used to build the page. These0 码力 | 350 页 | 9.95 MB | 1 年前3Apache Wicket 7.x Reference Guide
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 16.1. Static vs dynamic resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . href="http://www.google.com/search?q=John+Smith">Search me on Google! If we need to specify a dynamic value for the text inside the anchor, we can pass it as an additional constructor parameter: 68 Using parameter placeholders with mounted pages The path specified for mounted pages can contain dynamic segments which are populated with the values of the named parameters used to build the page. These0 码力 | 346 页 | 10.00 MB | 1 年前3Introducing Apache Wicket
Resource handling ● With “resource” we indicate both static resources (such as JS and CSS fles) and dynamic resources (those who returns they value on the fly [ex: a RSS]). ● From a technical point of view an implementation of interface org.apache.wicket.request. resource.IResource. ● Working with dynamic resources is less frequent in Wicket and it implies a custom implementation of IResource. ● On Resources Static Resources Header Items Resources: ANY kind of resources. i.e. both dynamic (RSS, dynamic PDF, etc…) and static (JS, CSS, pictures, etc…) Static Resources: usually loaded from files0 码力 | 53 页 | 1.85 MB | 1 年前3
共 5 条
- 1