JSF 2.0 Implicit Navigation
In JSF 2.0 (Implicit Navigation is supported), if you have an outcome that does not have a matching view ID in the navigation rules then the outcome will be the view ID itself. This can be very useful to minimize the size of your faces-config.xml. For example: Suppose we have two pages page1.xhtml and page2.xhtml (under the same directory). In page1 to go to page2 without declaring any navigation rule in the faces-config, we can say: <h:commandButton value = "Next" action = "page2" />
Tags:  navigation implicit jsf2.0 noxml jsf |
The GMaps4JSF Direction Component
GMaps4JSF now includes the direction component which enables the JSF developers to attach one or more route trace(s) to the map simply using the <m:direction/> component. The component takes the map id, the "from address", and the "to address" and it will do all the stuff with zero JavaScript coding. Let's see an example: <m:map id="map" width="70%" height="480px" latitude="42.351505" longitude="-71.094455" zoom="15"/>
... [More]
Tags:  direction gmaps4jsf routes jsf2.0 noxml jsf |