braindumps & more.
Shows how to use html entities in a JSF 2 Facelets Composite Component
Solutions to the Absent Code attribute problem often encountered when trying to do unit testing with Maven&/JUnit.
This little post shows how to replace the start attribute of the ol tag in XHTML STRICT pages to validate again!
This post describes how to manually lookup beans in a CDI / Weld managed environment when you are somewhere where a simple @Inject does not work because the object itself is not managed by CDI / Weld.
In this post you will learn how to match complex urls with regular expressions and PrettyFaces in JSF2 Web Applications.
A User on the glassfish mailing list posted a question: I would like to aks it. How must set up ie8 compatibility mode in glassfish? This is the iis setting: <system.webServer> <httpProtocol> <customHeaders> <clear /> <add name="X-UA-Compatible" value="IE=EmulateIE7" /> </customHeaders> </httpProtocol> </system.webServer><system.webServer> <httpProtocol> <customHeaders> <clear /> <add name="X-UA-Compatible" value="IE=EmulateIE7" /> </customHeaders> </httpProtocol> </system.webServer> Well… how […]
The “ironic programmer” published an article, how to create a really basic file upload with jsf2. He has not created any custom tags, but simply added a file-input field in his view and made the server populate a byte-array in his bean. His post was influenced by Uploading files with JSF 2.0 and Servlet 3.0 […]
The second part of the series covers the basics needed to understand authorization in a JavaEE application based on the principles provided by JAAS and how they apply in modern, JavaEE based web applications. The user is thought, how to configure his web-application to use role-based authorization and authenticate against a specific realm.
Authenticating users in a JSF2 application with the help of JAAS. Part one of a multiple article series, covering the terminology used by JAAS and how to understand it with simple examples.
If you happen to localize your JSF Web-Application to German, you’ll probably have problems displaying German Umlauts ( äÄ, ö Ö, ü Ü, ß) in your page. How to resolve this? Encode the umlauts with their Unicode code in your message-bundle like this ä = \u00e4 Ä = \u00c4 ö = \u00f6 Ö =\u00d6 ü […]