Requirement -Wrapping long text of any link so that it fits into small layout in ADF 12c.
Below code snippet for af:link works perfectly
Below code snippet for af:link works perfectly
<af:link text="Test for wrapping link with long text to fit into small layout"
inlineStyle="word-wrap:break- word;display:inline-block; width:150px;white-space: normal;"></af:link>
Please note that you need to give width according to your requirement and space available in layout.
same works for wrapping the af:outputtext
<af:outputText value="Test for wrapping link with long text to fit into small layout"
inlineStyle="word-wrap:break- word;display:inline-block; width:150px;white-space: normal;"></af:outputText >
No comments:
Post a Comment