Java

JSF Data Scroller Pagination Information

in this post I will speak about Displaying JSF Data Scroller Pagination Information.

by default data table and data scroller JSF component  have no direct way to display the pagination information

for example: displaying information about the current displayed records (31 - 40 From 96)

this can be done simply by doing the following steps:

Converting Arabic text to displayable HTML codes

In this post I will present how to generate HTML codes for the arabic letters and the escap characters as well.

for each character there is HTML code representing this letter the following table represnts some mapping between letters and its HTML codes:

Character

 HTML Code

Axis TCP Monitor Configuration

For Configuring Axis TCP Monitor to listen on all TCP packets you will have to follow the following steps:

Windows Arabic Encoding Cp1256 &#XXX;

in this post I will address the Arabic encoding problems.

any one may face one or more of the following scenarios:

  1. Retrieving Arabic data from database and wanna display it in a web page correctly.­
  2. Getting encoded Arabic data from web page and reading it correctly.

for the first Scenario  Retrieving Arabic data from database and wanna display it in a web page correctly.

Building, Running, and Integrating AndroMDA sample custom cartridge (deployment-cartridge) into your andromda application

­

­In this post I will try to make life with AndroMDA custom cartridge easier by guiding you step by step to Build, Run, and Integrate the sample custom cartridge (deployment-cartridge) into your andromda application.

most of the problems that any newbie may face when he decide to develop his own custom cartridge are:

Spring Service Layer caching

sometimes you may want to cache some information to enhance the performance by minimizing repeated hits to the database.

there are two ways you can take any one of them or take them both:

Adjusting OC4J configuration to support Arabic

for adjusting OC4J configuration to support Arabic do the following:

in the OC4J Server Properties screen in the Command Line Options block add the red options to your Java Options as follows:

{JSF, JavaScript} controlling invocation order

{JSF, JavaScript} controlling invocation order

I put JSF and JavaScript in a set as the order in the set is not important, and in this post I will speak about the four types of invocation in JSF web application which are:

  1. JavaScript Call.
  2. JSF Call.
  3. JavaScript call, followed by JSF call.
  4. JSF call, followed by JavaScript call.

I will give a simple illustration of the usage of each one of the above a long with how you can achieve it.

Prefuse visualization toolkit

in my current project which is EPS (Electronic Procedure Systems) I need to visualize all the possible paths that any procedure may pass throw, beside visualizing the actual path the application (procedure instance ) pass throw.

 I have two options either building it from scratch, or using any existing visualization toolkit, the later option sounds good but you have to invest a good period of time before reaching the correct / best visualization toolkit that will satisfy your needs.

SSO CAS Rocks with Acegi

Single Sign On CAS Acegi Configuration

Overview:

taking the definition from Acegi Documentation

Powered by Drupal - Design by artinet