Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Liferay Integaration with Log4j

Liferay+Log4j:- This blog will show you how you can implement logging in Liferay with Log4j. By using this you can use the custom logging using Log4j in Lifeary. To make this possible follow the below steps:- 1. Create log4j.xml and log4j.dtd file

Using Enum.TryParse for parsing value to enum

This is a demo of using Enum.TryParse method for converting string values to enum type. We have function Enum.TryParse under System namespace in Enum class. This method is used for parsing string values to enum type. Signature of the method is as fo

How to make readonly field in OpenERP(Odoo) ?

In readonly field first we have to go in .py file (python file) After that we have to decide where we want readonly field and then give attribute readonly to that field. See below python code in py file for reference : - class spartner(osv.osv):

Get the current user Liferay using a simple Java code

Get Current User in Liferay:- We can find the current logged in user in liferay using the below code Script. There are two methods to get the current User of liferay as following: 1. we can directly use the PortalUtil class in Liferay. PortalUtil.

How to Disable tab (space) on HTML Editor

Hello all, Working with Rich Text Editor, some times we need to disable Tab Key, which creates space between two text or HTML Elements inside the Editor. To do that we have following block of code: In HTML Page : <div id="editor" onkeydown="re

How to add OpenERP Report Designer In menu for Creating Report in openoffice

This tutorial will guide you to add OpenERP Report Designer in menu for Creating Report in openoffice. Follow these step to add menu in openERP 1 - install base_report_designer module in database 2 - Download openoffice and open 3 - configure the

How to make the X-path in OpenERP (Odoo)?

In X-Path first we have to go in View_XML file (XML file) After that we have to decide where we want X-Path and then give Initial to last Path to that field. See below View_Xml code in Xml file . <?xml version="1.0" encoding="utf-8"?> <op

ClickDimensions and Google Universal Analytics Tracking Scripts Conflict

These days many people use both Google Analytics tracking code as well as ClickDimensions tracking code. We use it too. If you are using latest version of google analytics i.e. "universal analytics tracking code" and "clickdimensions tracking code",

How to automate file download functionality through selenium webdriver?

File download functionality can be automated by setting the browser's preferences. We set the directory in which the file will be downloaded. FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("browser.download.dir", "E:\\Automati

Selectors in jQuery?

Selectors are the entity which we used to select HTML elements from web page in jQuery. Selector in jQuery always start with dollar($)sign and parentheses like as $(). There are three ways to select the elements in a web page. 1) Select elemen

1 365 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: