Evolutionary Dawn

June 29, 2009

Glassfish-v2ur2 to Glassfish-2.1 PostgreSQL Migration issue

Filed under: Uncategorized — admin @ 1:04 pm

First off let me state I am not sure this is strictly a Glassfish issue.

I recently experienced a issue trying to migrate my application from Glassfish-v2ur2 to Glassfish-2.1.

At first it seemed as if my application ported over just fine by simply installing Glassfish-2.1 and deploying my application.

(more…)

Turn off directory listing Glassfish / Tomcat

Filed under: Uncategorized — admin @ 12:11 pm

For Glassfish edit the file in the following path:

picture-4.png

For Tomcat edit the file in the following path:
picture-5.png
(more…)

June 11, 2009

Custom JSF Component 1.2

Filed under: Uncategorized — admin @ 12:25 pm

Since I had a hard time finding a complete solution anywhere online I decided that I would post a simple how-to for a JSF Custom component.

The problem that this component seeks to address is that the <f:verbatim> tag does not work properly in a <ui:repeat> tag.

This presented a issue to me because I have RAW HTML stored in my data model to be used in my simple blog application.

1. The most confusing thing about JSF Custom components.  YOU NEED 3 SEPERATE CLASSES TO IMPLEMENT A CUSTOM COMPONENT.

Alot of other tutorials will teach you there is a method in which you can use only two classes to accomplish the task, although this is true the most straight forward approach is to use 3 classes to implement your component. (more…)

Powered by WordPress