Ali Abdel-Aziz's blog

Disappointed

I feel disappointed as I have not learned anything new that deserve to be mentioned during the last 2 years, 

Also I didn't progress in My Master,

In terms of my career path I'm not moving in a planned way in terms of heirarchy, management, or leadership.

 All of the previous things make me think is this the time to start looking for a big organized company that have process to join, or should I stay more time in small/medium company with no well defined process may be I learn something new.

javascript get element absolute position

here are some valuable javascript functions for getting window width and height a long with the get element X position, and Y position all of this functions are not my invention; its copied from the website and blog listed in the reference list.

 lets start with getWindowDimension:

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:

Ideas

Ideas to be implemented if there is some spare time:

launching andromda wizard to generate the starter application

this is how you can launch the  andromda wizard to generate the starter application

mvn org.andromda.maven.plugins:andromdapp-maven-plugin:3.3:generate

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:

Sura #112 Al-Ikhlas

In the name of Allah, Most Gracious, Most Merciful

Say: He is Allah, the One and Only Allah, the Eternal, Absolute

He begetteth not,  nor is He begotten

And there is non like unto him 

News falsification and fabrication

many times I read fabricated news at this web site ( Masrawy).

Masrawy became (or it may be built to be) source of News falsification and fabrication.

 many times, many times, many times they post news just to get the maximum traffic and maximum participation (comments) from net surfer.

Masrawy is the electronic side of yellow newspapers.

JSF Datatable datascroller Search result navigation to first page

­the problem in brief is that if you navigate using the datascroller to any page for example page number 5

and you enter a search  criteria and pressed on the search button the result is returned and the datatable is updated but the datascroller keeeps standing at page 5 which may not contain any data because­ your search result may not have enough data to be splitted on 5 pages so you want behaviour like after pressing search your datascroller will be set to page number 1 and this can be done as follows:

 

 

Powered by Drupal - Design by artinet