File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wicket in Action - Rich Components

 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

what does the chapter about creating rich components in your book describe? Are this components with AJAX support or are there more ways to create rich components in Wicket (whatever "rich" in these cases could mean )?

Marco
 
Martijn Dashorst
author
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Marco Ehrentreich:
Hi guys,

what does the chapter about creating rich components in your book describe? Are this components with AJAX support or are there more ways to create rich components in Wicket (whatever "rich" in these cases could mean )?


Rich components in this chapter are custom components that utilize Ajax and add Javascript to the mix. They build upon the knowledge gained in the custom components chapter
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Wicket then leverage a specific AJAX/JavaScript library or framework to accomplish these tasks or are you free to choose one? And how about the separation of business logic and presentation tier. Where does this "rich" functionality go to? Does it blur the strict border because it's something specific to the presentation layer (browser) and also involves business logic?

Marco
 
Eelco Hillenius
author
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Marco Ehrentreich:
Does Wicket then leverage a specific AJAX/JavaScript library or framework to accomplish these tasks or are you free to choose one?

Marco


Wicket ships with it's own optimized (for Wicket) Ajax implementation. But you are free to use your own. It's fairly simple to achieve, and there are Ajax implementations for Wicket based on Dojo and Scriptaculous in the wicket-stuff repository. Wicket In Action also touches the subject.
 
Sekhar Chand
Ranch Hand
Posts: 73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So the your ajax implementation is just like Google implemenetation.
Did you implement history also.
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This really sounds very good! As I see from your posts and the information on the web almost every component in Wicket seems to be absolutely interchangeable and replaceable.

Therefore I wonder why just the presentation layer is stuck to (X)HTML Wouldn't it be better if you could choose here, too? It could at least produce pure XML and use XSL stylesheets for transformations to the final output. Is there a reason for this small restriction?

Marco
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic