[
https://issues.jboss.org/browse/SEAMINTL-55?page=com.atlassian.jira.plugi...
]
Sebastian Sachtleben commented on SEAMINTL-55:
----------------------------------------------
We could extend message api:
Message should get new method:
String getDetail();
BundleTemplateMessage should get two new methods:
public BundleTemplateMessage detail(final BundleKey text)
public BundleTemplateMessage detailParams(final Object... textParams);
Seam Faces MessageAdapter need a change here:
event.getFacesContext().addMessage(m.getTargets(), new
FacesMessage(getSeverity(m.getLevel()), m.getText(), null));
to
event.getFacesContext().addMessage(m.getTargets(), new
FacesMessage(getSeverity(m.getLevel()), m.getText(), m.getDetail()));
I think its a nice solution. The current behavior doesn't change but we get the
opportunity to add additional the detail message. I could take it and make a pull request
for both projects.
Support summary and details text for messages
---------------------------------------------
Key: SEAMINTL-55
URL:
https://issues.jboss.org/browse/SEAMINTL-55
Project: Seam International
Issue Type: Bug
Components: Messages
Affects Versions: 3.1.0.Beta1
Reporter: Sebastian Sachtleben
Assignee: Ken Finnigan
Currently the messages api in International Module and MessageAdapter in Seam Faces
Module doesnt support summary and details text for faces messages.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira