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

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -