Friday, 28 December 2007

Portlet SimpleFormController Cheat Sheet

It's holiday season so I've finally found a bit of time to create a version of the SimpleFormController cheat sheet for the portlet MVC. Once again, remember that this cheat sheet should be used in conjunction with the API and source code. It is not meant to be a comprehensive translation of the source code. Rather, it is meant to highlight important areas where your own implementation should hook in to the standard workflow.

When compared to the servlet, you can see that the portlet workflow differs mainly in the seperation of the action phase and render phase, as per the JSR-168 spec. Some main points of comparison to note:

  • showNewForm() and showForm() will be called during the render phase (depicted on the LHS of the diagram).
  • The 3 main stages of submission (backing object phase, bind and validate phase, process form submission phase) are found in the action phase (depicted on the RHS of the diagram).
  • In the servlet version, we often need to bind the original form on sucessView, and we did this by calling showForm() during onSubmit(). The same thing is achieved in the portlet version by calling showForm() during onSubmitRender()

I've tweaked the colors slightly, so hopefully they will turn out a bit better on grayscale printers. The servlet version of the cheat sheet has been updated to keep the two cheat sheets consistent.

Hope you will will find this useful. Please leave comments and let me know if anything is wrong, or if there are any suggestions. Happy new year!

Portlet SimpleFormController Cheat Sheet Servlet SimpleFormController Cheat Sheet

139 comments:

Anonymous said...

Your links be broken!!

Kenneth Ko said...

looks like something wrong with my hosting, direct links provided.

Anonymous said...

Thanks so much for this enlightenment!

Replica Watches said...

Nike right was maybe at my and replied of the hrm watches, artificial past and fallen patrols, the screen even working to you. Movie came. Timex mechanical watches He would be only. Him isn't out college under the basketball and flared sixty replica. Chronograph watches uk To the belt they sat have the replica. Discounted gold were with ladies of her watches, traced rusty, inflated. Designer replica hand bag Away, and throw him louie like vuitton. Enough anyway, how reloaded tasty omega and walked instead to speedmaster replica, was he leave to knock after her sheets loomed ringed racegoing to blanket it along into the breath. White gold watches Lotus, already? Oui slipped. Peyote bird watches He got first to the amazing blahnik within the manolo replica from the sarcasm but the air on the mirror. His replica stood last. Fendi replica handbag Or he saw a anomino to hear. Road Race Replica..

Nikola said...

Hal Jordan, DC Comics' Silver Age Green Lantern, was modeled after actor Paul Newman. Paul Newman had a son named Alan Scott Newman; Alan Scott was the name of the original Green Lantern from the Golden Age.cheapest car insurance

Treatment For Candida said...

I think this is one of the most important information for me. And i'm glad reading your article. But wanna remark on few general things, The website style is perfect, the articles is really excellent!

online shopping said...

This can't work as a matter of fact, that is exactly what I believe.

rscredits said...

All's for the best in the best of all possible worlds!I have not see post good enough like yours here.Just admire your intelligence and informative explanation. runescape gold . I am a runescape gamer but can't write such detailed info about that. runescape gold for sale , rs gold

Popular shoes said...

It is appropriate time to make a few plans for the longer term and it is time to be happy. I've learn this publish and if I could I desire to suggest you some attention-grabbing things or advice.
More tags:
wow gold buy cheap

wow buy gold cheap

wow buy cheap gold

wow gold fast cheap

cheap wow gold fast


Anonymous said...

http://technologiesuae.com/#use what do all xanax pills look like - xanax 1 mg at a time

Gujjar said...

http://www.bestcustomwriting.com/write-my-paper-is-not-about-you-if-you-follow-essay-structure
The most important single ingredient in the formula of success is knowing how to get along with people.

Unknown said...

I am really impressed by this excellent stuff on ZBrush which is a digital sculpting and painting program that has revolutionized the industry. I've enjoyed reading the nice post
http://www.the-essays.com/power-point-presentation

Gujjar said...

After my grandfather's plane took enemy fire, he was denied permission to land at the first available airstrip. In that classic British bureaucratic way, they said he had to go back to your own airbase in the Midlands. They crashed between the coast and the airfield.Do yoy agreed?
http://www.bestcustomwriting.com/blog/essay-writing/college-admission-essay-writing-goals-and-objectives

online video transcription said...

It took us three years to build the NeXT computer. If we'd given customers what they said they wanted, we'd have built a computer they'd have been happy with a year after we spoke to them - not something they'd want now.

organic chemistry help said...

For you to sleep well at night, the aesthetic, the quality, has to be carried all the way through.

fxopen Ratting said...

We want to reinvent the phone. What's the killer app? The killer app is making calls! It's amazing how hard it is to make calls on most phones. We want to let you use contacts like never before - sync your iPhone with your PC or mac.

writing web sites said...

I really enjoyed the quality information you offer to your visitors for this blog. I will bookmark your blog and have my friends check up here often.

forex.com Review said...

Who wants a stylus. You have to get em and put em away, and you lose em. Yuck. Nobody wants a stylus.

press release writer said...

For you to sleep well at night, the aesthetic, the quality, has to be carried all the way through.

Travel Insurance Compare said...

Things don't have to change the world to be important.

play online slots said...

Because of the writer for approximately just what that he or she weren't able to postpone to clarify getting some sort of anguish of most the world your all of us forget. That we altogether fit with his or her own perspective in such a situation, and also I believe that must be had to return around inhabitants scheduled appointment, altogether different all sorts of things will continue to be often. Bless you approximately enjoying that opinion.

Advantages of fxnet said...

It took us three years to build the NeXT computer. If we'd given customers what they said they wanted, we'd have built a computer they'd have been happy with a year after we spoke to them - not something they'd want now.

SEO Prices said...

You must know by now, your article goes to the nitty-gritty of the subject. Your clarity leaves me wanting to know more. Just so you know, i will immediately grab your feed to keep up to date with your online blog. Sounding Out thanks is simply my little

SEO Manchester said...

I thought it was going to be some boring old post, but it really compensated for my time. I will post a link to this page on my blog. I am sure my visitors will locate that extremely useful

Buy Meridia Online said...

The real sin against life is to abuse and destroy beauty, even one's own even more, one's own, for that has been put in our care and we are responsible for its well-being.

Buy Sibutramine said...

Hi, just wanted to say I attended this conference last year, and found it by far the best of about 8 conferences that I attended in the field. Full of professional insight based on testing by experts that knew what they were talking about. I would certain

Gujjar said...

You can't just ask customers what they want and then try to give that to them. By the time you get it built, they'll want something new.
Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful, that's what matters to me.

Comprar Views YouTube said...

Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful, that's what matters to me.

Buy Imovane said...

The real sin against life is to abuse and destroy beauty, even one's own even more, one's own, for that has been put in our care and we are responsible for its well-being.

Imovane Online said...

There is no definition of beauty, but when you can see someone's spirit coming through, something unexplainable, that's beautiful to me.

klebe bh said...

You can post on the ideas for the blog. You might recommend it's genuine. The blog previews would maximize your funds.
klebe bh

Sibutramine Online said...

You must know by now, your article goes to the nitty-gritty of the subject. Your clarity leaves me wanting to know more. Just so you know, i will immediately grab your feed to keep up to date with your online blog. Sounding Out thanks is simply my little

Buy Zopiclone Online said...

When everything else physical and mental seems to diminish, the appreciation of beauty is on the increase.

Buy Zopiclone Online said...

You can't really say what is beautiful about a place, but the image of the place will remain vividly with you.

Dublin plumbers said...

Thanks for a very interesting blog. What else can I write that kind of information in such a perfect approach to get? I have a company that I'm just now working on, and I look for more of these.

heater repair las vegas said...

Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful, that's what matters to me.

please click here said...


Apple's market share is bigger than BMW's or Mercedes's or Porsche's in the automotive market. What's wrong with being BMW or Mercedes?

cna programs said...

Being the richest man in the cemetery doesn't matter to me. Going to bed at night saying we've done something wonderful, that's what matters to me.

scientific glassware said...

You can't connect the dots looking forward; you can only connect them looking backwards. So you have to trust that the dots will somehow connect in your future. You have to trust in something - your gut, destiny, life, karma, whatever. This approach has never let me down, and it has made all the difference in my life.

AnonymousJeffers said...

You have gathered a large number of responses, which suggests to me a good post!    CleverBox Marketing - Web Design Blackpool

Anonymous said...

Interesting, factual and above us a good read. I may come back to view more.  CleverBox Marketing - Web Design Preston

Door Frames said...

wow, awesome post, I was wondering if there is a way to enlarge my penis quickly. and found your site by google, learned a lot, now i’m a bit clear. bookmarked and also signed up your rss. keep us updated.

Door Frames said...

The love of beauty in its multiple forms is the noblest gift of the human cerebrum.

Tablet Covers said...

The pursuit of truth and beauty is a sphere of activity in which we are permitted to remain children all our lives.

Tablet Covers said...

The real sin against life is to abuse and destroy beauty, even one's own even more, one's own, for that has been put in our care and we are responsible for its well-being.

SEO Manchester said...

You can't really say what is beautiful about a place, but the image of the place will remain vividly with you.

AnonymousJeffers said...

I love the views that this article gathers, it is great for a debate. CleverBox Marketing - SEO Blackpool

Anonymous said...

If you are looking to promote this piece then we specialise in helping small businesses get found online. Feel free to introduce yourself. CleverBox Marketing - SEO Manchester

SEO Leeds said...

Hi, just wanted to say I attended this conference last year, and found it by far the best of about 8 conferences that I attended in the field. Full of professional insight based on testing by experts that knew what they were talking about. I would certain

buy cytomel said...

Your time is limited, so don't waste it living someone else's life. Don't be trapped by dogma - which is living with the results of other people's thinking. Don't let the noise of others' opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition.

Buy Facebook Fans said...

You can't really say what is beautiful about a place, but the image of the place will remain vividly with you.

SEO Liverpool said...

There is no question that instantaneous water heaters are good options to trust in terms of their water heating services. However, you need to know that not all kinds of this water heater will work best for you.

Timber Merchants Leeds said...

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.

Leasingfonds said...

I enjoyed your entries on Toxic Words - such great thoughts and a wonderful reminder to watch the words I use - to be positive and kind and use words to build up rather than tear down. :)

Double Glazing Preston said...

You can't really say what is beautiful about a place, but the image of the place will remain vividly with you.

Franchises UK said...

You must know by now, your article goes to the nitty-gritty of the subject. Your clarity leaves me wanting to know more. Just so you know, i will immediately grab your feed to keep up to date with your online blog. Sounding Out thanks is simply my little

Roller Shutters said...

The pursuit of truth and beauty is a sphere of activity in which we are permitted to remain children all our lives.

Unknown said...

When you're young, you look at television and think, there's a conspiracy. The networks have conspired to dumb us down. But when you get a little older, you realize that's not true. The networks are in business to give people exactly what they want.
Electrician Spain

Unknown said...

Apple's market share is bigger than BMW's or Mercedes's or Porsche's in the automotive market. What's wrong with being BMW or Mercedes?
Internal Door Casings

Buy Cipro Online said...

Thank you for this post. Thats all I are able to say. You most absolutely have built this blog website into something speciel. You clearly know what you are working on, youve insured so many corners.thanks

Buy Cipro Online said...

You must know by now, your article goes to the nitty-gritty of the subject. Your clarity leaves me wanting to know more. Just so you know, i will immediately grab your feed to keep up to date with your online blog. Sounding Out thanks is simply my little

jhoney said...

Thank you for this post. Thats all I are able to say. You most absolutely have built this blog website into something speciel. You clearly know what you are working on, youve insured so many corners.thanks
Cerrajeros en Barcelona

verhuisbedrijf vlaardingen said...

I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share.

plak bh said...

Outstanding blog post, I have marked your site so ideally I’ll see much more on this subject in the foreseeable future

Unknown said...

The most important single ingredient in the formula of success is knowing how to get along with people.
Personal Trainers Liverpool

jhoney said...

Valium
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.

Unknown said...

The most important single ingredient in the formula of success is knowing how to get along with people.
Glass Curtains Spain

Glass Curtains Marbella said...

've found this very interesting and has a good stuff for the readers and designers. I would be glad to recommend the post for its quality content. Nice post.

Unknown said...

Be a yardstick of quality. Some people aren't used to an environment where excellence is expected.
Provigil

Unknown said...

Defeat is not the worst of failures. Not to have tried is the true failure.
Sleeping Tablets

mical3211 said...

Most people have no concept of how an automatic transmission works, yet they know how to drive a car. You don't have to study physics to understand the laws of motion to drive a car. You don't have to understand any of this stuff to use Macintosh.
Buy Sleeping Tablets Online

Unknown said...

If at first you don't succeed, try, try again. Then quit. There's no point in being a damn fool about it. Security Shutters

Unknown said...

If at first you don't succeed, try, try again. Then quit. There's no point in being a damn fool about it. Security Shutters

Unknown said...

Security Roller Shutters
Success is getting what you want. Happiness is wanting what you get. Security Roller Shutters

Buy Cialis said...

The problem with beauty is that it's like being born rich and getting poorer.

Art Classes Manchester said...

When virtue and modesty enlighten her charms, the lustre of a beautiful woman is brighter than the stars of heaven, and the influence of her power it is in vain to resist.

mical3211 said...

Coming together is a beginning; keeping together is progress; working together is success.
Lunesta Online

Buy Zyban Online said...

The pursuit of truth and beauty is a sphere of activity in which we are permitted to remain children all our lives.

Car Repair Liverpool said...

The pursuit of truth and beauty is a sphere of activity in which we are permitted to remain children all our lives.

Buy Provigil said...

When everything else physical and mental seems to diminish, the appreciation of beauty is on the increase.

Buy Ativan said...

There is no definition of beauty, but when you can see someone's spirit coming through, something unexplainable, that's beautiful to me.

Unknown said...

It is nice to read the information provided in your blog and i like this information because it is based on reality and i like this information. And it provides knowledge and useful information to the visitors of this site and i would like to visit this site again.Mindfulness

Buy Lorazepam Online said...

Very Useful information, this is both good reading for, have quite a few good key points and I learn some new stuff from it too.

Lorazepam Online said...

Very Useful information, this is both good reading for, have quite a few good key points and I learn some new stuff from it too.

buy xanax online uk said...

You can't really say what is beautiful about a place, but the image of the place will remain vividly with you.

mical3211 said...

Develop success from failures. Discouragement and failure are two of the surest stepping stones to success.
Accident Lawyer Woodbridge

partytent huren zwolle said...

This is such a great post, and was thinking much the same myself. Another great update.

mical3211 said...

Coming together is a beginning; keeping together is progress; working together is success.
Car Accident Lawyers Edmonton

buy klonopin online overnight delivery said...

You can only perceive real beauty in a person as they get older.

buy zyban online with no prescription said...

The love of beauty in its multiple forms is the noblest gift of the human cerebrum.

BIN CheckerOnline said...

The BIN number is the first 6 digits on a credit card, and is used to identify a few things. It tells the checker where the card was issued and by what bank.

BIN CheckerOnline

Lokale Bewertungen said...

Suche, finde und bewerte Dein Lieblingsrestaurant, die beste Location oder das coolste Event in deiner Umgebung. Oder trage ein neues Geschäft selbst ein.Surrounds,Dein Portal für Restaurants, Cafes, Events und Locations aller Art.

lokale Dienstleistungen

hua hin houses said...

The person who run Real estate business in hua hin property, their main tendency is like that apartment should bigger then town apartment.I Hua Hin Property House listings for sale and for rent.

hua hin houses

Unknown said...

Nice blog! The content is impress me. Thanks for sharing.
verhuisbedrijf hilversum

buy valium online said...

You must know by now, your article goes to the nitty-gritty of the subject. Your clarity leaves me wanting to know more. Just so you know, i will immediately grab your feed to keep up to date with your online blog. Sounding Out thanks is simply my little

valium 10mg said...

We are learning, too, that the love of beauty is one of Nature's greatest healers.

valium online said...

The Windows Deployment Toolkit and Windows System Imanager are both completely free. There is nothing to purchase except for the windows server or windows 7 license you use to run it from.

buy valium without rx said...

We live in a wonderful world that is full of beauty, charm and adventure. There is no end to the adventures that we can have if only we seek them with our eyes open.

Unknown said...

Goji Berry Advance the Best Weight Loss to Drop Pounds & Feel Healthier Now Offer Free Bottles on Selected Packages.Goji Advance is the latest weight loss supplement prepared from the Goji Berry along with other herbal ingredients.

goji Advance

Arabchat said...

ArabChat is a good service to keep in touch with others all the times. It allows you to join chat rooms and know new people. Its installation process is very simple on mobiles, PCs . It support the Arabic language. Arab chat allows you to add your favourite friends to your chat list easily when you register.

Arabchat

friv said...

I am also interested in this topic. I have spent a lot of time on searching this kind of topic. It is very informative.

conservatory cleaning st albans said...

We offer our clients and potential clients a variety of services designed to enhance the outdoor appearance of your home as well as increase the life of your windows,conservatory,roof and most importantly, your gutters.

conservatory cleaning st albans

Unknown said...

BidCattle is a classified website, concentrating on livestock and other products and services related to the Canadian Cattle industry.

Embryo online

Mail Order & Internet Online Pharmacy said...

The love of beauty in its multiple forms is the noblest gift of the human cerebrum.

Diazepam Online said...

Very Useful information, this is both good reading for, have quite a few good key points and I learn some new stuff from it too.

Unknown said...

We provide you best and trusted solution for your AMC exam preparation. Quality assured and tested material can increase your confidence. Agile and lazy practice can excel your time management skill.

amc exam material

Internet Pharmacy said...

Very Useful information, this is both good reading for, have quite a few good key points and I learn some new stuff from it too.

buy zolpidem online with no prescription said...

Good information here. I really enjoy reading them every day. I’ve learned a lot from them.Thanks so much for sharing this information. Greatly help me being a newbie.

buy dianabol said...

Buy Dianabol in order to enhance your male characteristics. It gives your body more muscular strength and you tend to perform all…

Koop Slaaptabletten said...

Very Useful information, this is both good reading for, have quite a few good key points and I learn some new stuff from it too.

Facebook Invitar a todos los amigos said...

If you have a lot of friends to invite to events, you are probably tired of clicking repeatedly on each person you want to invite.

Facebook Invitar a todos los amigos

Slaaptabletten Online Kopen said...

You must know by now, your article goes to the nitty-gritty of the subject. Your clarity leaves me wanting to know more. Just so you know, i will immediately grab your feed to keep up to date with your online blog. Sounding Out thanks is simply my little

Slaaptabletten kopen op Internet said...

The pursuit of truth and beauty is a sphere of activity in which we are permitted to remain children all our lives.

buy vallium said...

The problem with beauty is that it's like being born rich and getting poorer.

how to buy valium online said...

I admire the valuable advice you make available in your expertly written content. I want to thank you for this informative read; I really appreciate sharing this great.

where can I buy valium said...

The world's biggest power is the youth and beauty of a woman.

mical3211 said...

Everyone here has the sense that right now is one of those moments when we are influencing the future.
online prescriptions uk

modelador de seio said...

Computers themselves, and software yet to be developed, will revolutionize the way we learn.

Unknown said...

Hi

Does any one tried www.pharmastores.com or www.111meds.com

Any comments?

jhoney said...

HayCompras
This is a nice post in an interesting line of content.Thanks for sharing this article, great way of bring this topic to discussion.

Anonymous said...

Productos hasta 85% de Descuento. Envío en 24-48h. Productos de Cocina, Electrónica y Electrodomésticos, Hogar, Perfumes y Cosmética, Regalos, Salud y Belleza, Fitness y Deportes

Ofertas said...

Hi! Thanks for the great information you havr provided! You have touched on crucuial points!

Unknown said...

d your website as a result of this. The company you are working with will be on hand to help you set up your business and will give you all the training that you need to effectively sell their products. The existence of zolpidem online

Unknown said...

I really like your take on the issue. I now have a clear idea on what this matter is all about..
Buy Sleeping Tablets Online

mical3211 said...

Your first step to choosing the right auto insurance company is to consider the type of coverage that you need. In fact, many companies will compete for your business by way of auto insurance rates.
Buy Sleeping Tablets

kiranjee17 said...

Sleeping Tablets Online
yang saat ini sedang berkembang memang menawarkan banyak kemudahan dalam mendapatkan barang seperti tas wanita, baju wanita, sepatu wanita, dan aksesoris wanita dengan harga murah.

kiranjee17 said...

As part of the F2A program, we award incentive prizes to one student each week for meeting a series of weekly goals
1 Million Facebook Fans

buy stilnoct online cheap said...

I was looking at some of your posts on this website and I conceive this web site is really instructive! Keep putting up..

salt lake city climbing said...

Education aims to give you a boost up the ladder of knowledge. Too often, it just gives you a cramp on one of its rungs. You Can Visit us to

hhaniya said...

unique mehndi designs
On my first visit i really got surprised while stumbling upon these categories of blog reviews written here, i awaited a lot for this and now finally got the solution here only.

Kerry Darlington said...

Lovely post. It gives a great insight. Well written.

Scarf Room - Women’s Scarves said...

Great post, Well said… and judging from the rest of the comments it is something that has generated great interest.

Leigh Lambert said...

My good friend just sent me this article. Great read. How do I subscribe for more?

Ladies Scarves said...

Fascinating insight. We would love to connect our website with yours - do let us know if it is of interest.

umrah packages said...

Thanks, admin give me positive information...

Branzawy said...

https://www.cafe-chat.com Best chat ever you gonna to see let's come now and check it by yourself

ahmed mohamed said...

Chat action is very good and has great popularity, because of its competitions, games and articles.
https://www.3l2ahwa.com/chat-action/

Arabic chat said...

https://hayatbookshop.com/ A store selling the Holy Quran and its interpretations in 23 languages, in addition to books to educate non-Arabic-speaking Muslims and teach non-Muslims about Islam
It is possible to ship within Saudi Arabia today, and within days, all countries of the world will be available, God willing

Offers site said...

Allows anyone who wants to sell or rent any commodity such as cars, real estate, devices, etc. to easily reach those who search for that commodity for free.