In this tutorial you will see How to create Navigation Rules in JSF. Navigation rules are those rules jsf_icon2

provided by JSF Framework which describe which view is to

be shown when a button or link is clicked.

  • Navigation rules can be defined in JSF configuration file named faces-config.xml.
  • Navigation rules can be defined in managed beans.
  • Navigation rules can contain conditions based on which resulted view can be shown.
  • JSF 2.0 provides implicit navigation as well in which there is no need to definenavigation rules as such.
Advertisements

This How to use PrimeFaces p:fileUpload Tutorial clarifies the all features that bundled with the FileUpload component for getting started using it in your application wisely.

This tutorial assumed that you’re already had looked at the introduction tutorial that help you prepare your environment and executing your application as well.

FileUpload Basic Info

Tag fileUpload
Component Class org.primefaces.component.fileupload.FileUpload
Component Type org.primefaces.component.FileUpload
Component Family org.primefaces.component
Renderer Type org.primefaces.component.FileUploadRenderer
Renderer Class org.primefaces.component.fileupload.FileUploadRenderer

jsf_icon2In this tutorial you will see How to create Navigation Rules in JSF. Navigation rules are those rules provided by JSF Framework which describe which view is to be shown when a button or link is clicked. Navigation rules can be defined in JSF configuration file named faces-config.xml. Navigation rules can be defined in managed…

Don't Pick a Job, Pick a Boss

Image  —  Posted: February 2, 2015 in Random Posts
Tags:

ArrayList And LinkedListAlthough both ArrayList and LinkedList implement List interface, they have some differences between them. The performance and internal working nature of both varies significantly. There are also some similarities between them. In this article, we will see both differences and similarities between ArrayList and LinkedList in Java.

This article is to compare REST vs SOAP. There is huge difference between REST and SOAP. Comparing SOAP and REST is not just right as they are different things. It is like comparing orangutan and octopus, I have high regard for both of them. But still, as it is a popular topic lets have a discussion on SOAP vs REST.

SOAP vs REST

Roy Fielding was a member of the team that wrote the specification for HTTP and co-founder of Apache HTTP server project. He introduced the word REST and the concept in his doctoral thesis in 2000. REST disruptively took over as an architectural style for web services implementation.

2014 in review

Posted: December 30, 2014 in Random Posts

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.

Here’s an excerpt:

The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 17,000 times in 2014. If it were a concert at Sydney Opera House, it would take about 6 sold-out performances for that many people to see it.

Click here to see the complete report.

This is the second part of the post Pictures from a developer’s life. Do you find yourself in any of these situations? 🙂

Pictures are originally from blogs The coding love (en) and Les joies du code (fr).

When a thing that worked on Friday no longer works on Monday

When I return to development of my code that wasn’t commented

When a bug goes unnoticed during a presentation

When a newbie suggests to add a new feature to project

When the boss announces a bonus if the project is completed before the deadline

When I realize that I have been blocked for two hours because of a forgotten semicolon

When asked to lend a hand on a Friday afternoon

When the project manager suddenly looks on my screen

When the client tries to click on the mockups

When customer wants to change specification 2 days before pushing to production

When my script finally worked

When I am asked to continue work of a newbie colleague

When I’m told that my code is broken in production

When I find a solution without searching Google

When the intern tells me that “the tests are for those who can not program”

When I manage to replace 200 lines of the algorithm by only 10 lines

The pictures are originally from blogs The coding love (en) and Les joies du code (fr), so if you liked them, make sure to visit these sites for more!