I’m an Oracle ACE!

I have been chosen for the Oracle ACE award.I had accepted it.Now, I am an Oracle ACE!

rsz_o_acelogo_clr

I’m proud and humbled to be part of this group of technical Oracle experts, and hope to live up to their standards.This great title comes with great responsibilities.Now i am more responsible for add more knowledge to the community.I will try my level best to achieve this. I am 485th person who got this title.

Its a great learning experience for me as well.

Please check my Oracle ACE profile

ace

20141011_105342(0)

Keep looking for some interesting post in future.

Happy learning with Vinay Kumar in techartifact.

Create centeric page using ADF Faces

Requirement- To create center page using ADF faces.
Implementation – Well you can also achieve using decorative box and panelStrechtLayout.I am going to show, how you can create centered page using af:panelGroupLayout and af:panelStretchLayout.

Use af:panelStretchLayout -center facet->PanelGroupLayout (Halign as center).You can give size in px or % in top and bottom facet of af:panelStretchLayout

ADF developers are not good in html and css.Atleast not me.Now we should dig in more what is halign and valign.You must have seen this property in panelgroupLayout as below

22

HALIGN -> sets the horizontal alignment of the cells.

VALIGN -> sets the vertical alignment of the cells.

Below picture will make more clear

eee

Source of the page can be

<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <jsp:directive.page contentType="text/html;charset=UTF-8"/>
  <f:view>
    <af:document id="d1">
      <af:form id="f1">
        <af:panelStretchLayout id="psl1" topHeight="33%" bottomHeight="22%"
                               startWidth="5%" endWidth="5%">
          <f:facet name="bottom"/>
          <f:facet name="center">
          
            <af:panelGroupLayout id="pgl1" layout="vertical" halign="center"
                                 valign="middle">
              <af:panelFormLayout id="pfl1" rows="6" maxColumns="1">
                <f:facet name="footer"/>
                <af:inputText label="Name" id="it1"/>
                <af:inputText label="Last Name" id="it4"/>
                <af:inputText label="Email" id="it5"/>
                <af:inputText label="Phone" id="it3"/>
                <af:inputText label="Blog" id="it2"/>
                <af:commandButton text="Submit" id="cb1"/>
              </af:panelFormLayout>
              
            </af:panelGroupLayout>
          </f:facet>
          <f:facet name="start"/>
          <f:facet name="end"/>
          <f:facet name="top">
            <af:panelGroupLayout id="pgl2"/>
          </f:facet>
        </af:panelStretchLayout>
      </af:form>
    </af:document>
  </f:view>
</jsp:root>


 

When you run the page ,you will something like this-

fffff

happy learning with Vinay in techartifact…

New updated OTN forums

Hi All,

Today, OTN is in new look.OTN has recently been updated .You will see really good User interface.Its based on JIVE 7 .
Few of recent changes here –

Updated Profiles

Profile pages have a new look and purpose. You can now add more photos, highlight featured content, and list your own skills and expertise for others to endorse. When viewing other people’s profiles, you can see their recent activity, their top (public) Places, and you can endorse them for skills.

Impact Metrics

More powerful than a “read receipt,” Impact Metrics give you personal analytics on content you’ve created. Beyond view counts, you can now see the impact of your content, reach of the message, sentiment and response. Depending on your community settings, you can see viewers by department plus view which users specifically have read or referred others to your content. Impact Metrics are available for documents, discussions, and blog posts. Content created after your upgrade will show metrics immediately, while content created before the upgrade will show metrics only after your network data has been completely migrated.

Changes i like

Blog post– You can directly create an blog article in OTN from your profile.Now anyone can writes blogs directly on OTN.
Upload document- You can share picture, documents etc in forum with features of restricted viewing as well.
Create an Idea –
Create an Poll

and lot of changes. Make sure you update ur profile.Enjoy new look of OTN

1

Happy learning with Vinay and OTN