Free Wallpapers Collections Site

Click Here Go to Wallpapers Collections Site.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Thursday, March 29, 2012

Different languages in Liferay Themes.


 Different themes for Different languages in Liferay Themes

If you need different languages in your portal and also different theme based your language
Step 1 : Add languages portlet in banner. Using runtime in portal-normal.vm



Step 2: Write the css for align the languages portlet

Step 3:  Add these lines in portal_normal.vm


#if($locale == "RTL")
<link rel="stylesheet" href="$css_folder/rtl-custom.css" type="text/css"></link>
#else if($locale == "LTR")
<link rel="stylesheet" href="$css_folder/ltr-custom.css" type="text/css"></link>
#end


Step 4
rtl-custom.css,lrt-custom.css these both files having css related to body of theme. these files would place on css folder of your theme.

You need to apply css on body something as below 


body {
    background:url("../images/bg/body.jpg") repeat-x scroll left 90px #EEEEEE;
    font-size:10px;
    font-family:verdana,sans-serif;
    margin:0;
    padding:0;
}

 

Different languages in Liferay Themes.


 Different themes for Different languages in Liferay Themes

If you need different languages in your portal and also different theme based your language
Step 1 : Add languages portlet in banner. Using runtime in portal-normal.vm



Step 2: Write the css for align the languages portlet

Step 3:  Add these lines in portal_normal.vm


#if($locale == "RTL")
<link rel="stylesheet" href="$css_folder/rtl-custom.css" type="text/css"></link>
#else if($locale == "LTR")
<link rel="stylesheet" href="$css_folder/ltr-custom.css" type="text/css"></link>
#end


Step 4
rtl-custom.css,lrt-custom.css these both files having css related to body of theme. these files would place on css folder of your theme.

You need to apply css on body something as below 


body {
    background:url("../images/bg/body.jpg") repeat-x scroll left 90px #EEEEEE;
    font-size:10px;
    font-family:verdana,sans-serif;
    margin:0;
    padding:0;
}

 

Wednesday, March 28, 2012

Bangalore student is YouTube Space Lab Asia-Pacific winner


Washington: India's Sachin S. Kukke is the Asia-Pacific region winner and one of the six global winners of the YouTube Space Lab 2012 contest for young people to design experiments that could be performed in outer space.
The winners of the YouTube Space Lab 2012 contest by YouTube and Lenovo, in cooperation with Space Adventures, NASA, ESA (European Space Agency), and JAXA (Japan Aerospace Exploration Agency) were announced at a ceremony at the Newseum here Friday.
Kukke's experiment explores transfer of heat in ferrofluid - a special liquid that gets magnetized when subjected to a magnetic field. The study can benefit development of advanced cooling and heat transfer systems.A student of mechanical engineering at the BMS College for Engineering in Bangalore, Kukke called on Indian Ambassador to the US Nirupama Rao Friday and shared his experience of conceptualising and carrying out innovative scientific experiments, an Indian Embassy release said.
Warmly congratulating Kukke on his achievement, Rao said that in India, a country engaged in rapid economic development, "students like Sachin symbolise the hopes and the potential of a dynamic, resurgent India and it's young population".She encouraged Kukke to pursue his goals and interests in the specialised area of aerospace engineering and wished him the very best for the years ahead.
At the meeting, Kukke was accompanied by Lee Hunter, head of brand marketing for YouTube, and Claudio Lilienfeld, senior policy manager for Asia Pacific at Google.
Nearly 40 percent of the total number of entries for the contest came from India alone, an indicator of the skills and level of interest in the field of exploration of outer space among the youth in India.
Source: IANS

Image Source: Reuters
Full coverage:NASA

Details CSS in liferay Theme




By default, CSS styles in liferay can be found in folder /css. Bundle liferay with Classic theme means that css folder path: ~/tomcat-6.0.18/webapps/ROOT/html/themes/classic.

There are few css styles file. Main css (main.css) located all styling files from the lowest to highest (in term of priority) from top to bottom.

Let say, I want to add a new css file (e.g mystyle.css). I must import this file in main.css – add this new line @import url(mystyle.css); - the styles in this new file will overwrite all styles in other files above it. For a standard practice, custom.css has the highest priority.

Sometimes, new developer understood this thing but when doing some customization in custom.css nothing changes. Why? It is because the server not refers to that changes. When developer inspected the element using firebugs, the css style reference maybe main.css or base.css only. How to overcome this problem?

For development purpose only, developer must add new properties in portal-ext.properties (/webapps/ROOT/WEB-INF/classes). The properties are shows as the following.

## FOR DEVELOPMENT PURPOSE, NEED TO REMOVE
##AT PRODUCTIONS ##

## Set this property to true to load the theme's merged CSS files
##for faster loading for production.
## Set this property to false for easier debugging for development.
##You can also disable fast loading by setting the
## URL parameter "css_fast_load" to "0".

theme.css.fast.load=false

## Set this to flase to disable the display of CSS logging.

theme.images.fast.load=false

## Set this property to true to load the packed version of
##files listed in the properties "javascript.barebone.files" or

## "javascript.everything.files".

## Set this property to false for easier debugging for development.
##You can also disable fast loading by setting the
## URL parameter "js_fast_load" to "0".

javascript.fast.load=false

## Set this to true to enable the display of JavaScript logging.

javascript.log.enabled=true

## Setting it to false is useful during development if you need
##to make a lot of changes.

layout.template.cache.enabled=false

## Disable Liferay from opening a new browser window
##everytime start the server

browser.launcher.url=
##

## Last Modified

## Set this to true to check last modified date on server side CSS and

## JavaScript. On Development purpose just set it false

last.modified.check=false

## Enabling OpenOffice integration allows the
##Document Library portlet and the Wiki
##portlet to provide conversion functionality. This is tested with
## OpenOffice 2.3.x and 2.4. To start OpenOffice as a service,
##run the command:
openoffice.cache.enabled=false

## Set the Velocity resource managers. We extend the
##Velocity's default resource managers for better scalability.

velocity.engine.resource.manager.cache.enabled=false

## The cache filter will cache content. See ehcache.xml to modify the cache

## expiration time to live.

com.liferay.portal.servlet.filters.cache.CacheFilter=false

## The theme preview filter generates a preview of the currently applied

## theme that can be used by the Dreamweaver Theming plugin.
##This is disabled by default.
##Set the "themePreview" parameter to "1" in the URL to access

## the theme preview for any page. For example, a URL can be

## http://localhost:8080/web/guest?themePreview=1.

com.liferay.portal.servlet.filters.theme.ThemePreviewFilter=true

Liferay Interview Questions


1) What are the various ways in which you can customize the default behavior of Liferay that ships to you?
2) What is the difference between a Liferay Hook and Liferay EXT?
3) Suppose I want to customize the behavior of Calendar portal that comes out of the box with Liferay, how can I do that?

4) How will you configure Liferay to authenticate users from LDAP?
5) What is inter portlet communication and how can that be achieved?
6) What is the difference between view and edit modes of a portlet?
7) What is service.xml and how will you use Liferay service builder?
8 ) Suppose I have a portlet written for Liferay 5.2.3 and I want to run it on Liferay 6, how can I do that? What if I get some spring and hibernate related exceptions with Liferay 6?
9) There is a requirement from the client that out of 4 portlets that you have written only 2 should be visible to a particular category of users. How will you achieve that? What if some fields in the remaining 2 portlets have also to be controlled based on user role?
10) What is the purpose of portal-ext.properties?
11) What steps will you follow to change the layout and theme of the portal pages?
12) Suppose I want to change the background color of the footer in Liferay, what steps should I follow?
13) Which JSR is being implemented by Liferay?
14) What improvements would you like to see in Liferay 6 portal?
15) There are 1000 users using the portlet developed by you, how will you take care of transaction management.
16) A client has two different portal applications for Sales and HR department. The client wants to run these portal applications on same server but with separate URL’s like http://<ip>:<port>/sales and http://<ip>:<port>/hr. How will you achieve that?
17) What are the minimum Java methods one needs to override in order to write a portlet?
18) How will you make the user to go from one JSP to another JSP page in a portlet?
19) While building a service using service builder, what is the purpose of specifying remoteservice=true in service.xml?
20) How to control the category in which the liferay portlet created by me will be displayed?
21) What is hot deployment feature of Liferay? Where will you place your portlets for them to be deployed without server restart?
22) Does Liferay support email notifications out of the box for portlets involving workflow?
23) What is the purpose of mode and persistence packages which are created by the Liferay service builder?
24) If there are 3 portlets and all of them need to talk to different database systems (say MysSQL, Oracle and SQL Server) because of some legacy appliation requirements. How will you make them connect to different databases?
25) Can you configure the database connection pool created by Liferay?
26) Can you list down various tools and frameworks used by Liferay? e.g. It uses Lucene for search
27) Suppose a client is pursuing a Liferay based solution to their requirements, what non-functional clarifications will you ask from the customer?
28) Is there a build number associated to a portlet assigned by the service builder? Where can we find the current build number?
29) Have you tried the Liferay 6 Eclipse plugin? What all limitations have you found?
30) How do you log events in a portlet? Do I need to configure Log4J for every portlet or is there a common place where one can configure Log4J so that all Liferay portlets can use logging API?
31) Do you know how to update your setup of Liferay 5.2.3 to Liferay 6?
32) Can I run my Struts 1.3 based legacy application as a portlet application? How?
33) Is it a good design to meet the customer requirements by creating a single portlet or splitting them into multiple portlets? What criteria will you use to split the functionality into multiple portlets?
34) What advantages do you see in running the Liferay portal application on a application server like JBoss than running it on a web server like Tomcat?

35) What all other portals have you heard of? How do you compare them to Liferay?
36) How will you implement i18 in a portal application? What if you want the user to choose his language preference?
37) There is a portlet application for managing images similar to Flickr. The user wants to see the images in full screen. Will Liferay allow you to do that?
38) I have a war file of the portlet which is created using service builder, what is the difference between pasting this war file in the deploy folder of Liferay and application folder of server (like webapps in case of Tomcat)?
39) How will you setup a clustered Liferay portal on 5 servers available to you?
40) How much user base can Liferay support without affecting performance?
41) There is a JRE shipped with Liferay package, do we not need a JDK and what is the purpose of bundled JRE?
42) Suppose there is a requirement from client to implement search functionality in Liferay portlet, does Liferay provides any API out of the box to support search?
43) What are the various ways in which one can override the default behaviour of Liferay?
44) The service builder can also build WSDL for you. What is the benefit of this feature provided by Liferay?
45) How will you build a portlet that can be added only single or multiple times in to the portal application?
46) Is it possible to set a session time out for a portlet which is different from other portlets and the Liferay portal?
47) What is the flow of HTTP request in Liferay?
48) The JSPPortlet.java extends  the MVCPortlet.java class. What purpose does MVCPortlet.java fulfill?
49) How do you perform Junit tests on your portlet? How do tackle the dependency on the MVCPortlet.java?
50) Is it mandatory to have the view logic in view.jsp? Can one configure some other JSP (say MyJSP.jsp) to be default view page than view.jsp?

Warning Wallpaper




Allah Watching Wallpaper



Title:Allah Watching,Allah Watching Wallpapers,Reminder Allah is watching you,Reminder Allah is watching,Allah is watching you,Allah is watching Wallpapers,Allah is watching





Monday, March 26, 2012

I Miss U Wallpapers




 

Sunday, March 25, 2012

Cute Mobile Wallpaper Quotes




 

Saturday, March 3, 2012

Impossible wallpaper




Impossible wallpaper