Apache Wicket 8.x Reference Guide
next snippet, given an instance of Person, we generate a Google search query for its full name: Html: Search me on Google! Java code: Person person = new Person("John" "http://www.google.com/search?q=" + fullName.replace(" ", "+"); add(new ExternalLink("externalSite", googleQuery)); Generated anchor: Search me on Google! person.getFullName(); String googleQuery = "http://www.google.com/search?q=" + fullName.replace(" ", "+"); String linkLabel = "Search '" + fullName + "' on Google."; add(new ExternalLink("externalSite"0 码力 | 350 页 | 9.95 MB | 1 年前3Apache Wicket 10.x Reference Guide
next snippet, given an instance of Person, we generate a Google search query for its full name: Html: Search me on Google! Java code: Person person = new Person("John" "http://www.google.com/search?q=" + fullName.replace(" ", "+"); add(new ExternalLink("externalSite", googleQuery)); Generated anchor: Search me on Google! person.getFullName(); String googleQuery = "http://www.google.com/search?q=" + fullName.replace(" ", "+"); String linkLabel = "Search '" + fullName + "' on Google."; add(new ExternalLink("externalSite"0 码力 | 336 页 | 7.16 MB | 1 年前3Apache Wicket 9.x Reference Guide
next snippet, given an instance of Person, we generate a Google search query for its full name: Html: Search me on Google! Java code: Person person = new Person("John" "http://www.google.com/search?q=" + fullName.replace(" ", "+"); add(new ExternalLink("externalSite", googleQuery)); Generated anchor: Search me on Google! person.getFullName(); String googleQuery = "http://www.google.com/search?q=" + fullName.replace(" ", "+"); String linkLabel = "Search '" + fullName + "' on Google."; add(new ExternalLink("externalSite"0 码力 | 335 页 | 7.15 MB | 1 年前3Apache Wicket 7.x Reference Guide
next snippet, given an instance of Person, we generate a Google search query for its full name: Html: Search me on Google! Java code: Person person = new Person("John" "http://www.google.com/search?q=" + fullName.replace(" ", "+"); add(new ExternalLink("externalSite", googleQuery)); Generated anchor: Search me on Google! person.getFullName(); String googleQuery = "http://www.google.com/search?q=" + fullName.replace(" ", "+"); String linkLabel = "Search '" + fullName + "' on Google."; add(new ExternalLink("externalSite"0 码力 | 346 页 | 10.00 MB | 1 年前3Introducing Apache Wicket
0 码力 | 53 页 | 1.85 MB | 1 年前3
共 5 条
- 1