[richfaces-issues] [JBoss JIRA] Closed: (RF-6711) Message & Messages: summary of the message instead of details is shown inside tooltip.
Alexander Dubovsky (JIRA)
jira-events at lists.jboss.org
Tue Apr 14 11:26:50 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-6711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Dubovsky closed RF-6711.
----------------------------------
> Message & Messages: summary of the message instead of details is shown inside tooltip.
> --------------------------------------------------------------------------------------
>
> Key: RF-6711
> URL: https://jira.jboss.org/jira/browse/RF-6711
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.3.1
> Environment: 3.3.1.BETA3
> Reporter: Alexander Dubovsky
> Assignee: Alexander Dubovsky
> Attachments: 55.png
>
>
> Page:
> <h:form>
> <rich:messages tooltip="true" showDetail="true" />
> <h:inputText id="text" value="#{editor.value}"
> validator="#{editor.validate}" label="textField" />
> <rich:message for="text" tooltip="true" showSummary="true" />
> <br />
> <h:commandButton value="GO" />
> </h:form>
> Bean:
> public void validate(FacesContext context, UIComponent component,
> Object value) throws ValidatorException {
> String selectedValue = (String) value;
> String clientId = component.getClientId(context);
> if (selectedValue.equals("a")) {
> FacesMessage message = new FacesMessage();
> message.setSummary("=SUMMARY=");
> message.setDetail("=DETAIL=");
> context.addMessage(clientId, message);
> }
> }
> # Open page. Type "a" into input
> # Press GO button
> Result: details of the message is displayed on the page and summary displayed inside tooltip.
> According to the documentation behaviour should be vice versa.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list