jsf - Bootsfaces FacesMessage always displays summary and detail -
by doing this:
facescontext.getcurrentinstance().addmessage(null, new facesmessage(facesmessage.severity_info,msg.getmessageresourcewithparams("admini.client.search.save.ok", new object[]{clientonsearch.getfirstname()+" "+clientonsearch.getlastname()}),null));
i expecting see summary on interface since put detail set null.
but displays same messsage twice, on summary , details.
client bruno laaaalapa added client bruno laaaalapa added
on xhtml have:
<b:row> <b:column> <b:messages/> </b:column> </b:row>
is missing on ?
thanks
you might have found little misbehaviour there, b:messages
' detail shouldn't shown on default (default documented false
, true
instead, we fix 0.8.2).
however, can explicitly hide detail specifying:
<b:messages showdetail="false"/>
you opt showing detail, not summary:
<b:messages showdetail="true" showsummary="false"/>
Comments
Post a Comment