Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Web Flow 2 Web Development [Book]

 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I went through table of contents again.
What I found missing is integration with Ajax framework.
Question to Markus Stäuble & Sven Lüppken. Spring is known to have easy integration with DWR. Does book covers integration with DWR or similar AJAX library?
 
Mourouganandame Arunachalam
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess, the book covers Spring JavaScript library, which may be enabled with Ajax. However, author need to comment on whether the book covers DWR / Ajax or not.
 
Padmapriya Ranganathan
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Believe the book doesn't cover DWR.
 
Sagar Kale
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Padmapriya Ranganathan wrote:Believe the book doesn't cover DWR.


But it should because it is not general spring book, it is specific on spring web flow, so I expect it to cover. I know the table of contents doesn't have it which means it does not cover. But it should have.
 
Marco Ehrentreich
best scout
Bartender
Posts: 1294
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I think the question is what is the difference between "Spring Web Flow" and the whole thing called "Spring Web Flow 2 Distribution" when you look at this diagram on the SpringSource page.

Obviously Spring Web Flow is part of the Spring Web Flow Distritbution which also contains the Spring JavaScript framework. But what is the difference between the two Web Flow boxes? And which one is covered by the book?

Marco
 
Sven Lüppken
Author
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The book covers Spring JavaScript (in chapter 5), shipped with the Spring Web Flow distribution. Spring JavaScript is an abstraction layer for other JavaScript toolkits, which means that, in theory, it can work with more than one JavaScript toolkit. From the reference documentation:

"Spring JS is designed such that an implementation of its API can be built for any of the popular Javascript toolkits. The initial implementation of Spring.js builds on the Dojo
toolkit. " (http://static.springframework.org/spring-webflow/docs/2.0.x/reference/html/ch11s03.html)

In Spring Web Flow 2, support for Dojo is included.

Hope that helps!

Thanks,
Sven
 
reena rathod
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am new to spring javascript. I had gone through the link mentioned below(http://static.springframework.org/spring-webflow/docs/2.0.x/reference/html/ch11s03.html) but is there any specific document to refer for writing scripts in order to know what all parameters can Spring.addDecoration/Spring.ElementDecoration accept.

Ex -
<form:input id="searchString" path="searchString"/>
<script type="text/javascript">
Spring.addDecoration(new Spring.ElementDecoration({
elementId: "searchString",
widgetType: "dijit.form.ValidationTextBox",
widgetAttrs: { promptMessage : "Search hotels by name, address, city, or zip." }}));
</script>


Sven Lüppken wrote:The book covers Spring JavaScript (in chapter 5), shipped with the Spring Web Flow distribution. Spring JavaScript is an abstraction layer for other JavaScript toolkits, which means that, in theory, it can work with more than one JavaScript toolkit. From the reference documentation:

"Spring JS is designed such that an implementation of its API can be built for any of the popular Javascript toolkits. The initial implementation of Spring.js builds on the Dojo
toolkit. " (http://static.springframework.org/spring-webflow/docs/2.0.x/reference/html/ch11s03.html)

In Spring Web Flow 2, support for Dojo is included.

Hope that helps!

Thanks,
Sven
 
Amit Ghorpade
Bartender
Posts: 2854
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"roy ranchy" please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic