Sunday 26 April 2015

How to display tooltip when input text is disabled

This blog we will see how to display the tool tip when input text is disabled.

Generally if the af:inputText is disable then the shortDesc will not work. For displaying the shortDesc we need to add the code like the below.

<af:panelGroupLayout id="pgl2" shortDesc="Hello PKN">
    <af:inputText value="Hello PKN" id="ot6" disabled="true"/>
</af:panelGroupLayout>
Thanks..

Changing the view menu layout of af:panelCollection

This blog we will see how we will change the view menu layout in panel collection.

In af:panelcollection the view menu and detach button in coming in left aligned like the below screen.
But for displaying the menus in right align we need to add the below code in css file
af|toolbox::last-cell
{
    display: none;
}
af|toolbox::leading-cell
{
    float: right;
}

Now run the page and the view menu will display the right corner of the tale.
Thanks..