Buy anything from HongKong - Dealextreme

You can buy any kind of electronic gadgets from DealExtreme with free shipping option.
Please visit DealExtreme for very low prices.
Here is the link to the site : www.dealextreme.com

14 December 2011

Creating custom Issues View in Mantis

Add a new custom configuration named " view_issues_page_columns " which is complex type.
Add the required columns like below in an array definition :

array ( selection, edit, priority, id, bugnotes_count, category, status, custom_Project Start Date, custom_Proposed Resolution Date, custom_Actual Resolution Date, custom_Work Done (%), summary, last_updated, )

13 September 2011

Can not exit from Excel 2007 by using close button

If the Excel is not closed when you close the last worksheet by using the close button from the upper right corner try this tip:
- Uncheck “Show all windows in the Taskbar” from "Excel Options" -> "Advanced" -> "Display" section.

25 March 2011

JSF 2.0 Migration Guide

The following document identifies the steps that are required to migrate a web application from JSF 1.2 to JSF 2.0 which uses Richfaces 3.3.x and Spring 3.0

The application will continue using RichFaces 3.3.x baseline with JSF 2.0 support
JSF 2.0 built-in facelet support will not be available(Old facelet library will continue)

Future Enhancements

Upgrade to Richfaces 4.0 with full JSF 2.0 support

Library Upgrades


  • Remove Old EL implementations: el-api.jar el-impl.jar
  • Remove Old JSF implementations: jsf-api-1.2.x.jar and jsf-impl-1.2.x.jar
  • Download Mojarra JSF 2.10 Reference implementation ( http://java.net/projects/javaserverfaces/downloads/download/release%252Fmojarra-2.1.0-FCS-binary.zip )
  • Rename Mojarra libraries to jsf-api-2.1.0.jar and jsf-impl-2.1.0.jar
  • Download EL 2.2.0 Reference Implementation ( http://download.java.net/maven/glassfish/javax/el/el-api/2.2.0-SNAPSHOT/el-api-2.2.0-SNAPSHOT.jar http://download.java.net/maven/glassfish/org/glassfish/web/el-impl/2.2.0-SNAPSHOT/el-impl-2.2.0-SNAPSHOT.jar )
  • Remove RichFaces JSF 1.2 Implementation (richfaces-impl-3.3.3.Final.jar)
  • Add RichFaces JSF 2.0 Implementation (richfaces-impl-jsf2-3.3.3.Final.jar) to web-inf/lib folder
  • Add new Mojarra and EL implemetation libraries to web-inf/lib folder

Web.XML Upgrade
Add the following context parameters to Web.xml

<!-- Activating the Expression Language -->
<context-param>
<param-name>com.sun.faces.expressionFactory</param-name>
<param-value>com.sun.el.ExpressionFactoryImpl</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>
<param-value>true</param-value>
</context-param>

FacesConfig.XML Upgrade

  • Change file header version to 2.0:

<faces-config xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
version="2.0">

  • Remove message bundle definition in <application> tag

<message-bundle>com.ccc.web.resources.messages</message-bundle>



  • Add new resource bundle definition

<resource-bundle>
<base-name>com.ccc.web.resources.messages</base-name>
<var>msg</var>
</resource-bundle>

  • Application tag should look like this:

<application>
<el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>
<view-handler>org.ajax4jsf.application.AjaxViewHandler</view-handler>
<resource-bundle>
<base-name>com.ccc.web.resources.messages</base-name>
<var>msgs</var>
</resource-bundle>
<locale-config>
<default-locale>tr</default-locale>
<supported-locale>tr</supported-locale>
<supported-locale>en</supported-locale>
</locale-config>
</application>

Other

  • Update validator messages in messages.properties
  • Check custom components.
  • Check custom validators

28 February 2011

Installing RPM package with relocation

List the files in RPM:
rpm -qpl lynx-2.8.4-2.aix5.1.ppc.rpm

Then relocate needed directories with -relocate option:

rpm -i --relocate /opt/freeware=/home/wasadmin/lynx/opt/freeware /usr/bin=/home/wasadmin/lynx/bin --root /home/wasadmin/lynx/ lynx-2.8.4-2.aix5.1.ppc.rpm

09 February 2011

Fırsat siteleri

Önümüzdeki birkaç yıl fırsat siteleri çok revaçta olacak gibi görünüyor. Bunlara üyelik için aşağıdaki davetiyeleri kullanabilirsiniz.

Paramini.com
Özellikle çocuk ve bebek ürünleri
http://www.paramini.com/

Modaelinizde.com
Tüm ünlü markalar
http://private.modaelinizde.com/

Markafoni.com
Tüm ünlü markalar
http://www.markafoni.com/

Trendyol.com
Tüm ünlü markalar
http://www.trendyol.com/

Limango.com.tr
Tüm ünlü markalar. ayrıca çocuk ve bebek ürünleri için özel sitesi de mevcut.
Özel mesaj atmaniz halinde davetiye gönderebilirim.

04 February 2011

What is new on Weblogic Server 10.3.4 (11gR1)

Weblogic server 10.3.4 will support some of the Java EE 6 standarts.
Full support will be on next release (EJB 3.1, CDI 1.0, Servlet 3.0)

  • JSF 2.0, JPA 2.0, JAX-RS 1.1 support
  • JPA 2.0 : Toplink or EclipseLink
  • JAX RS 1.1 : Jersey (Use easy annotations)
  • Spring integration (Management from console, pre-configured beans)
  • Console performance
  • Optional components on startup(don't start EJB, JMS or JCA - for fast start) : Like WAS 7.0
  • Execute modified code immediately after recompile (no reboot no redeploy)
  • Ant and Maven support : Deploy directly with maven
  • Use Oracle Enterprise pack for Eclipse, JDeveloper or Netbeans (3 IDEs)
  • OEPE 11gR1 : For eclipse Helios 3.6, JSF 2.0 JPA 2.0, Coherence, WLST support
  • CAT- Class Loader Analysis Tool : Handy for 3rd party libraries. Can be accessed from console in dev mode.
  • Share same API and infrastructure with Glassfish (like OSGi kernel)
  • Exalogic Elastic Cloud integration
  • Partitioned Distributed Topics
  • Coherence Integration

Roadmap for full Java EE 6:
Support JavaEE 6 web profile for developers : In a zip <50MB and startup time <5sec

26 January 2011

Some of the new tags in JSF 2.0

Stylesheet and Script Definition
h:outputstylesheet library="”css”" name="”styles.css”" target="”head”
h:outputScript

Method Expression with parameter
userBean.login(‘order page’)

Event Listener
f:event

Required
f:validateRequired

Execute Event with Ajax
f:ajax

Head-Body
h:head and h:body

Button and link
h:button and h:link

17 January 2011

Sending data to an activity

Extras are used to send data to an activity :
Intent i = new Intent(getApplicationContext(), MyActivity.class);
i.putExtra(key, value);
startActivity(i);

12 January 2011

Enable fake GPS on Android

Set permissions in AndroidManifest.xml:
uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION">uses-permission>

Find the correct local port for your Android emulator:
$ adb devices
List of devices attached
emulator-5554 device

The port we are looking for is in this case 5554. Now connect via telnet:
$ telnet localhost 5554
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Android Console: type 'help' for a list of commands

Set your preferred location manually: You set the location with the geo fix command:
geo fix $longitude $latitude


For example the city center of Barcelona:
geo fix 2.169919 41.387917
OK