Hi,
Tomas - Thanks for the comment. However, I don't seem to be able to get
the icons to work. Could you show an extract of the CSS please?
I'm on trinidad trunk, revision 614286.
Thanks,
Yee-Wah
Tomas Havelka (JIRA) wrote:
[ https://issues.apache.org/jira/browse/TRINIDAD-884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561299#action_12561299 ]
Tomas Havelka commented on TRINIDAD-884:
----------------------------------------
Ad iii) Actually you can skin message box with rounded corners using
af|messages::top-start, af|messages::top-end, af|messages::bottom-start atc.
style selectors. See attached screenshot.
Skinning changes for messages component to resemble initial donation
--------------------------------------------------------------------
Key: TRINIDAD-884
URL: https://issues.apache.org/jira/browse/TRINIDAD-884
Project: MyFaces Trinidad
Issue Type: Improvement
Components: Components
Reporter: Yee-Wah Lee
Priority: Minor
It is currently impossible to skin the messages component so that it resembles
the original ADF Faces messages component, as donated by Oracle. The
differences are:
i) Missing line between the MessageHeader and the MessageList. In the original
(10.1.3) donation, it was specified as:
<img width="1" height="1" alt="" src="/faces-1013/adf/images/t.gif"/>
Changes would likely be in MessageBoxRenderer.java or PanelHeader.java
ii) Missing space between label and message summary, i.e. the error text reads "<Label>-<Summary"
instead of "<Label> - <Summary>".
This is due to the value for "af_messages.LIST_FORMAT_private" itself missing a space, it is the pattern for the text and it reads "- {0}".
iii) Missing rounded corners for the message box
In Trinidad, this is the div with style class "af|messages::body" but in 10.1.3 it is rendered with gifs for the rounded corners. Probably the change was made for performance reasons.