Wednesday, December 2, 2009

Cleared the SCWCD for the Java EE 5 !

I recently cleared the SCWCD (Sun Certified Web Component Developer for the Java Platform, Enterprise Edition 5 certification) exam, an exam for
Sun Certified Programmers who are using the Java technology servlet and JavaServer Pages (JSP) application program interface (APIs) to develop web applications.

I have published my success story in the Java Ranch Forums
with my story. I've also made in the SCWCD Wall Of Frame!


For Those who are interested in pursuing this, here is some extra info:
http://ca.sun.com/training/catalog/courses/CX-310-083.xml

One must have the Java programmer certification first
- Emphasis is on memorization
– Names of classes, methods, and packages
– Names of JSP variables and associated classes
– Servlet life cycle
– Custom JSP tag libraries
– web.xml elements

Thursday, June 11, 2009

How to override Blank Page template with custom styles

By default, in the BIRT Designer (2.3.1), when selecting a new Blank Report,
you get a report with default(no-styles), and the date/time
at the footer.

If you'd like to modify this template, this can be done quite easily:
A simple way to do this is to modify blank_report.rpttemplate

It is located here:
BIRT_DESIGNER_INSTALL/plugins/org.eclipse.birt.resources_2.3.1..../templates/blank_report.rpttemplate

Now edit the file and add your template. The example below
overrides the crosstab colors/styles and adds a few more custom built styles.







in
WizardTemplateChoicePage.message.BlankReport
WizardTemplateChoicePage.title.BlankReport
/templates/blank_report.gif












Friday, January 9, 2009

Removing the 'Null' Text in ComboBox or ListBox Parameters

In BIRT 2.3.1, it is possible to modify or hide the 'Null' Text value that is generated
when you create a ComboBox or ListBox Parameter.

*Update to this Post* The syntax highlighter is not working properly.
The XML tag brackets have been replaced with { }

Go to the BIRT WebViewer JSP page in
\webcontent\birt\pages\parameter .

Find ComboBoxParameterFragment.jsp in the viewer and edit the JSP to remove the space and the Null Text Value (i.e. IBirtConstants.NULL_VALUE)



if ( !parameterBean.isRequired( ) )
{
if( allowMultiValue )
{
if( DataUtil.contain( values, null, true ) )
{
%>

{option title="">" SELECTED VALUE=""}{/option}

{option title="">" VALUE=""}{/option}

{option title="">" VALUE="" ??% : ?SELECTED? )? null paramValue="=" {/option}