Matt RaibleMatt Raible is a Java Champion and Developer Advocate at Okta. developer.okta.com

The JHipster Mini-Book The JHipster Mini-Book is a guide to getting started with hip technologies today: Angular, Bootstrap, and Spring Boot. All of these frameworks are wrapped up in an easy-to-use project called JHipster.

This book shows you how to build an app with JHipster, and guides you through the plethora of tools, techniques and options you can use. Furthermore, it explains the UI and API building blocks so you understand the underpinnings of your great application.

For book updates, follow @jhipster-book on Twitter.

10+ YEARS


Over 10 years ago, I wrote my first blog post. Since then, I've authored books, had kids, traveled the world, found Trish and blogged about it all.

Redirect-after-Post in Tapestry 4.0

I just noticed a good Tapestry nugget on Howard's blog. With Tapestry 3.0, one of the things I complained about was the need to throw an exception when redirecting. With 4.0, it looks like you can plug-in this flash component and get exactly the flash message functionality I try to put in all the web frameworks that AppFuse supports. Now I just need to figure out how to do @InjectObject("engine-service:page") without using annotations.

I'm hoping to upgrade AppFuse to WebWork 2.2 and Tapestry 4.0 in the next few days.

Posted in Java at Feb 17 2006, 12:44:14 PM MST 8 Comments
Comments:

<inject property="foo" object="engine-service:page"/> (using the 4.0 DTD)

Posted by Howard M. Lewis Ship on February 17, 2006 at 03:31 PM MST #

Why did you killed my posting? Dicided to be like Chinese communists??

Posted by Jason on February 17, 2006 at 03:58 PM MST #

Because it was rude and had nothing to do with this post. Crude comments are often deleted - especially when they come from an anonymous poster. "Jason" is as good as anonymous to me. If you provide a link to your blog in the URL field, I'll be more than happy to leave it.

Posted by Matt Raible on February 17, 2006 at 04:11 PM MST #

Howard - FYI: I had to remove the following from tapestry-flash-0.1.1.pom for this to work.

  <parent>
    <artifactId>common</artifactId>
    <groupId>com.javaforge.tapestry</groupId>
    <version>0.1.1</version>
  </parent>

Posted by Matt Raible on February 17, 2006 at 10:24 PM MST #

Zillow.com uses Tapestry. impressive

Posted by Tom on February 18, 2006 at 10:09 AM MST #

It looks like good functionality. It's one of the first things you want when working with the redirect-after-post pattern, and frankly I am surprised it is presented as both an extension and a new thing. Wicket had the concept of feedback messages from day one, though it took a lot of iterations to get it right.
In general the move to JDK 5 made Tapestry a lot nicer to work with indeed. Congrats HLS.

Posted by Eelco Hillenius on February 22, 2006 at 11:24 AM MST #

Struts has similar functionality for messages starting from version 1.2.6 (Dec 2004). It does not have a specific scope, it just removes messages from the session after they have been accessed.

Posted by Michael Jouravlev on March 24, 2006 at 12:27 PM MST #

Hi , What about the situation of double submit ? Is there something in Tapestry which is similar to STRUTS in terms of keeping a token ?

Posted by bsd_lover on December 19, 2006 at 02:41 AM MST #

Post a Comment:
  • HTML Syntax: Allowed