Wednesday, October 6, 2010

ADF 11g: contextInfo Implementation

     All component that we can add the contextInfo component to (column, commandLink,inputComboboxListOfValues, inputText, outputFormatted, outputText, selectOneChoice), have a facet called context.
    for example,let us use a ContextInfo component for a InputTextBox that displays some info about that.

Steps,
    1.Drag and drop a InputText component from the component palete
    2.Inside the InputTextBox right-click and choose Insert-Inside InputBox--->Jsf-Core--->Facet and choose context from the dropdown list
    3.Inside the Facet right-click and choose Insert-Inside Facet--->ContextInfo
    4.Inside the ContextInfo right-click and choose Insert-Inside-ContextInfo--->Adf Faces--->show Popup behaviour
    5.Drag and drop a Popup component in the AF:document in the structure panel,
    6.In the show popup behaviour give the popup id for the popup component.

No comments:

Post a Comment