Requirement- Wraping long text in outputText

Solutions- Many developer find solution to convert to input text and make read only.But that is just a work around.
Try this in inline Style – width:180px;display:inline-block;word-wrap:break-word
make nowrap property to false.

wrap


That’s it.

Happy coding with Vinay Kumar in techartifact….

Vinay

I am an Oracle ACE in Oracle ADF/Webcenter. Sr Java Consultant-working on Java/J2EE/Oracle ADF/Webcenter Portal/ content and Hibernate for several years. I'm an active member of the OTN JDeveloper/Webcenter forum. Passionate about learning new technologies. I am here to share my knowledge. Give your views and suggestion on [email protected] .

More Posts - Website

Follow Me:
TwitterLinkedInGoogle PlusYouTube

  • kashinath chormale

    Hi

    I think this is not a proper way to css styling…there is also way by external css or adf provides smooth styling for adf conrols or elements…

    af:outputText{
    word-wrap:break-word;
    width: 100%;
    display: block;
    }

  • vinay kumar

    It was just to show, how can you do it.Yes you can add in ADF skin too.