Hello all
this post is about customizing or changing default icons of FacesMessage , it is very basic but sometimes it's hard to do easy things
if we need to use alternate icons in af:messages or in programmatic FacesMessage, so to do this just create a small ,simple CSS file (ADF Skin) in viewController project and use this code
Change url as per your icon image path, you can also define same for Fatal Error and Confirmation icon also
apply this skin to project and run your application to see changes
Happy Learning :)
this post is about customizing or changing default icons of FacesMessage , it is very basic but sometimes it's hard to do easy things
if we need to use alternate icons in af:messages or in programmatic FacesMessage, so to do this just create a small ,simple CSS file (ADF Skin) in viewController project and use this code
Change url as per your icon image path, you can also define same for Fatal Error and Confirmation icon also
af|messages::info-icon { content: url("../../information.png"); } af|messages::warning-icon { content: url("../../warning.png"); } af|messages::error-icon { content: url("../../error.png"); }
apply this skin to project and run your application to see changes
Default Icon | Changed Icon |
Happy Learning :)