Technology Tracking ...

Problem wit JSF (Myfaces) t:inputFileUpload

If you are facing problem of the kind that some files get uploaded and some other files not.

for the first time you will off course debug the attachment handler action method of your command Button that is associated with the t:inputFileUpload and you will notice a strange behavioure that for the fiels that is uploaded successfully the action method (responsible for manipulating the uploaded file) get invoked as expected, but for those files that not uploaded and more over may destory your other form data, this method not invoked.

Hibernate Query Problem

I was facing a wired problem that is I'm constructing Hibernate criteria and I have added some constraints to it and then called the criteria.uniqueResult(); it sometimes return results and sometimes return null, however if you take the generated query and execute it against the database it will return result to you.

I have Engaged

I have engaged a cute girl during my annual vacation in Egypt, first I was refusing the idea of engagement at that time but when I see her I have changed my mind and it takes less than 12 hours to accept the idea of engagement.

you can say that this is Love at first glance then everything happened in a fast way as a sweet short dream,

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.

Democracy

فى جلسة ودية بين رئيس ­النظام المصري( ....) ورئيس النظام الأمريكى ­
­

بوش ، دار الحوار التالى:

­

مبارك : كم متوسط راتب الموظف الأمريكى؟­

بوش : حوالى 5000 دولار

مبارك : وكم يصرف شهريا؟

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.

Palastenian

Palastenian

Custom Single SignOn Implementation using Acegi.

if your application is part of multiple applications that share the same login screen and you need to just login once and be able to use any application without any other login you for sure need SSO, what do you think  about CAS?

yes its a fascinating solutionbut for sure if your company is not an open source solution it will refuse deploying anything (cas.war) on tomcate.

if this was your case so this blog post is for you.

Now we will try to implement a trivial simple SSO implementation using Acegi.

CAS DataBase Authentication

The following is what you need to do; to get your CAS server authenticate against Databases instead of default inMemory Authentication:-

Powered by Drupal - Design by artinet