Tuesday, January 17

ADFTalk Session 2 is out

Session 2 shows how to regenerate a existing ApplicationModule build up with our JDeveloper Wizard. 



Friday, January 13

Move Oracle Team Productivity Center (11.1.2.1) Server Component to new Weblogic Instance failed

Goal
Move Oracle Team Productivity Center (11.1.2.1) to new WebLogic Server Domain with existing OTPC Repository.

Environment
JDeveloper 11gR2 (11.1.2.1.0)
Oracle XE with OTPC Repository (11.1.2.1.0)
Weblogic Server 10.3.5 (Integrated inside JDeveloper)

Download
Oracle Team Productivity Center (11.1.2.1)

Todo
1.) Install JDeveloper
2.) Start and setup integrated Weblogic Server
3.) Run OTPC Installer to use existing Repository and deploy OTPC Server Component to new Weblogic Server Domain.

Installation – Step 3
c:\temp\java –jar tpcinstaller.jar
image
Choose: Next

image
Select: Team Productivity Center Server
Choose: Next

image
Input Username: tpc
Input Password: *****
Choose: Test Connection

image

Attention
Recognize the equal versions !
This information is current. our OTPC Repository is Version 11.1.2.1.38.60.81. We want only install the new Server Component.
image
Choose: Next
image

Error
I get this error and the only option i can choose is Canel.
Choose Next show Step 3 again.

Monday, January 2

ADFrc: Why my table is not stretched ?

Introduction
Within my ADF Project Session 3 last month in the exercise of the ADF layout strategies was one of the most common questions:

Why is the table (using the available columns) are not stretched to 100% of the width and height?


Issues

Simon: "I use PanelStretchLayout but the table is not stretched !"
Mentor: "Check your site structure for flow layout!"

image 
One of the most common causes for this appearance is the fact that the layout concept has changed from stretch to flow without the developer has to get it.

Once a UI Component is further thrown into a facet Oracle JDeveloper adds a PanelGroupLayout automatically.  This change the stretch concept to flow. Maybe the developer will add a headline.

Image(20) Image(21)

Solution

Stretch will change into Flow if more than one component is part of the subtree!
Verify your layout in the Structure Panel, even if you do not dare JDeveloper!


Issues
Rudolf: "I use StretchPanelLayout but nevertheless, the columns of my table is not spread over the entire width!"
Mentor: "Do not think in HTML and CSS (width: 100%) - think in components."



image

If an area is stretched, the UI Component is scaled, but not automatically all other UI Components in the subtree. I.e. In this case, the CollectionPanel is scaled to a width of 100%. As each column of the table should be widened, is not defined.

Solution

image 
Use ColumnStretching property to define a strategy to fill the empty space !





af:table Oracle Fusion Middleware Tag Reference for Oracle ADF Faces (11.1.2)
Geometry Management
This component can be stretched by a parent layout component that stretches its children, e.g. panelStretchLayout. When stretching this component, the only valid setting for autoHeightRows is "-1".
When NOT stretched, autoHeightRows="0" can be used to size the height to the fetch size, which is similar to dimensionsFrom="children". Please refer to 'autoHeightRows' attribute for more information. Use the columnStretching attribute to configure stretching of the children column components

image
References
JDeveloper Workspace
Oracle Fusion Middleware Tag Reference for Oracle ADF Faces (11.1.2)