Skip to main content

Manfred Riem

I love working with a broad range of technologies. At work it is mostly JavaEE and JavaSE technologies, as a hobby I do some Java on devices.

 

mriem's blog

JSF Tip #57 - Using a different start node in Faces Flows

Posted by mriem on February 6, 2014 at 2:12 AM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

By convention in Faces Flows the page that is the start node has the same name as the flow, but is it possible to change that? It sure is, read on!

JSF Tip #56 - Using the action based prototype in Mojarra

Posted by mriem on January 13, 2014 at 7:19 PM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

The JavaEE team at Oracle has been busy processing the feedback from the JavaEE 8 Community Survey

Question 6 in part one of the survey reads: "Is there any one de-facto standard technology in this space [Server side web MVC framework, aside from JSF] to which we should look for inspiration". For those respondents that answered yes to that question, fully half of them cited Spring MVC. By way of background, it's possible to classify server side web frameworks as "action based" or "component based". For some background on these terms, please see http://javaserverfaces.java.net/presentations/demystifyingjsf.odp.

To explore the possibilities for adding "action based" to the UI standard for JavaEE, we have committed some experimental prototype work to snapshot builds of Mojarra on January 9th, 2014. The current prototype allows you to use a simple annotation which would result in a call to a method on your managed bean and then dispatch the response to a regular view.

JSF Tip #55 - Adding a placeholder component to the component tree

Posted by mriem on January 1, 2014 at 11:53 PM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

Why would you add a placeholder component to the tree using ui:component? Well, sometimes you need to add content dynamically, but you also need to be able sure where it ends up.

Happy 2014

Posted by mriem on January 1, 2014 at 11:47 PM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

I want to wish you all a Happy New Year!

And that is it.

Enjoy!

JSF Tip #54 - Enable CDI when bundling JSF

Posted by mriem on December 10, 2013 at 3:46 AM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

Occasionally, users have the need to override the version of JSF included in the application server by bundling a different version of JSF with their application. If you are trying to use CDI in such a scenario, you might have noticed it does not work. Is there a way out?

JSF Tip #53 - Adding ui:debug for debugging when running in Development mode

Posted by mriem on December 9, 2013 at 7:52 PM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

To make it possible to debug the view tree the JSF runtime has a debug component (ui:debug) that you can use. What is the best way to do this?

JSF Tip #52 - How to convert a date in JSF

Posted by mriem on December 6, 2013 at 9:35 AM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

How do you convert a date in JSF?

JSF Tip #51 - Determine what version of Mojarra you are running

Posted by mriem on December 4, 2013 at 3:12 AM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

If you have ever wondered which version of Mojarra is running on the container you can determine what version is running using a simple piece of code. How?

JSF Tip #50 - The first 50 tips

Posted by mriem on December 3, 2013 at 4:44 PM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

Hurray, 50 JSF tips!

JSF Tip #49 - A nested composite component

Posted by mriem on December 2, 2013 at 12:27 PM PST

Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog

Ever wondered how you would use a composite component within a composite component? Or is it not possible? It most certainly is possible, so lets see how!