First the thing with the messages:
anonymous wrote :
| <t:div styleClass="messageBlock">
| <h:messages layout="list" globalOnly="false" errorClass="error"
showDetail="true" />
| </t:div>
|
above the declaration which is inserted in a facelets template like this:
anonymous wrote :
| <ui:insert name="messages">
|
| <ui:include src="messagefooter.xhtml" />
|
| </ui:insert>
|
and used in the source like this:
anonymous wrote :
| @In(create=true)
| private transient FacesMessages facesMessages;
|
| ...
|
| facesMessages.addFromResourceBundle("msg.info.6");
|
| or
|
| facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_WARN,
"msg.warn.2");
|
The message "msg..." is found in the resourceBundle which is declared in the
seam.properties and displayed twice in one row on the screen.
If I don't use a message from the bundle it works correct.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958660#3958660
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958660
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user