Color lines in ADF charts

If you want change the color of lines in a dvt:lineChart because you don’t like the default colors of each chartDataItem. You can use a chartSeriesStyle inside seriesStamp.

I show a example below

       <dvt:lineChart id="lc1" var="row" value="#{bindings.vo.collectionModel}"
contentDelivery="immediate" styleClass="AFStretchWidth" zoomAndScroll="live"
dataSelection="single" title="demo">
<f:facet name="dataStamp">
<af:group id="g1">
<dvt:chartDataItem id="di1" value="#{row.value1}" group="#{}" series="custom1"/>
<dvt:chartDataItem id="di2" value="#{row.value2}" group="#{}" series="custom2" />

<f:facet name="seriesStamp">
<af:group id="g2">
<dvt:chartSeriesStyle id="css2" series="custom1" color="#ff2121" lineStyle="solid" />
<dvt:chartSeriesStyle id="css3" series="custom2" color="#f2c779" lineStyle="solid"/>

ADF 12c. It´s time to migrate to 12c

The last release of ADF 12.2.1 has a lot of improvments and news.I think now we have a stable release and is time to migrate o to begin a new project.

  • JDK8
  • JSF2.2
  • A lot of new Components
  • GIT Integration
  • Maven Integration with online maven repository
  • Support to REST Datacontrols
  • New Alta Skin
  • Explore Dependencies,af:target,…

Install FMW Test environment

  1. install OEL.
  2. install JDK
    • rpm -ivh jdkname.rpm
  3. install JDeveloper
    • before install JDev
      • yum install glibc.i686
      • yum install libXtst-devel libXrender-devel kernel-devel libXtst-devel.i686
    • chmod +x jdevname.bin
  4. install oracle XE
  5. install WLS
    • $ unzip
    • $ $JAVA_HOME/bin/java -jar fmw_12.
  6. Rcu for ADF development
    • $ORACLE_HOME/oracle_common/bin/rcu
  7. Create domain
    • $ORACLE_HOME/oracle_common/common/bin/
    • check Oracle JRF

JDeveloper 12.2.1 is out

Some weeks ago Oracle released new version of JDeveloper, 12.2.1.

In this new version we have improvements in:

  • GIT integration
  • Maven Integration
  • Cloud Integration
  • Responsive layouts

and new features:

  • JDK 8
  • Theme Editor, user-friendly interface to work with Skins
  • New Graph Components
  • ADF REST Data Controls

Now the online demo has been redesigned with new template and Alta Skin

More info about this version:

Filter results in adf table

Another day someone in the OTN forum asked how to clean the resutls in a af:table.
We can do it with code, working withe the ViewCriterias of the ViewObject, but also we can add a hide funcionality in the af:table.

If we add a new column with the property rowHeader a true, our table will have a new column with a button to clean the filter in the tables
Like the below image


Remove classes in JDeveloper 12c

Sometimes using  the last version Jdeveloper 12c.(12.1.3) I have had some problems when I debug and I test new changes in the code.

The application doesn’t get the changes despite I remove the classes.

In these cases you should check if you have a folder called classes in the web-inf folder.In this case, remove the classes folder and run it again.

JDeveloper is out.

A month ago that JDeveloper is out.

And came with a many bugs fixed and  many ADF new features.

I highlight some:

1. Many ADF DVT Components
2. New ADF deck component for carousel transactions
3. Client side CSS rules as @fontface
4. groovy support in debug mode and groovy in the UIhints
5. Support ADF DI in Windows 8 and new components and properties in this product

12c already has a year of life and every time is a more stable version and is a good choice for our projects. And comes with the last version of SOA, ADF and Mobile Application Framework

More info:1213nf-2222743.html

JDeveloper 12c is out

The new version of JDeveloper is now out. The oficial list of features is here

Some highlighted features:

  • Java EE 6 Support
  • HTML5, MathML and CSS3 Support:
  • REST/WADL Support
  • JSF 2.0 Support
  • New ADF Components
  • Maven and Git support
  • Matisse Swing Support

Extra Links: