snippet

tips and tricks, examples,code snippet and links about Java, JavaScript, jquery, css, html, unix/linux, oracle, mysql, php and web designs that related to my interest

Saturday, November 27, 2010

50 beautiful portfolio design

http://www.smashingmagazine.com/2008/11/26/50-beautiful-and-creative-portfolio-designs/
khairil at 6:37 PM No comments:

Saturday, November 13, 2010

Links from drop.io

1.a-quick-code-igniter-and-jquery-ajax-tutorial
2.the-principles-of-cross-browser-css-coding
3.re-introduction to javascript
4.six_keys_to_understanding_css_layouts
5.creating-a-css-layout-from-scratch
6.JSF 2 Streamline Web application development
7.JSF 2 Templating and composite components
8.Part 3: Event handling, JavaScript, and Ajax
9.learning-jsf2-managed-beans
10.jsf-2-evaluation-test.html
11.java authentication with jsf 2 and j2ee6
12.html5boilerplate.com
13.Log4J Tutorial
14.(JSF) - Message Resources
15.How to validate email address with regular expression
16.Hibernate Tutorial
17.Automatic reconnect from Hibernate to MySQL
18.Hibernate: Communication link failure: java.io.IOException
19.Even Faster Web Site
20.Hibernate Session
khairil at 10:41 PM No comments:

Thursday, November 4, 2010

JSF 2 : Detect Browser type using EL Expression

In facelet, we can get the browser information via EL expression like this :
#{request.getHeader('User-Agent')}

by using jstl function containsIgnoreCase, we can check for specific browser.

For example, if we want to load specific css file for IE6, this will work :


add xmlns:fn="http://java.sun.com/jsp/jstl/functions" to the <html> to use jstl functions.
khairil at 5:49 AM No comments:
‹
›
Home
View web version

About

My photo
khairil
shah alam/bestari jaya, selangor, Malaysia
Logs for my technical stuffs
View my complete profile
Powered by Blogger.