hi,
is that possible to get facesMessages ojbect WHEN a page is rendered?

i created a backing bean MsgBean and bind it with h:messages


  |             <h:messages  id="mms" globalOnly="true" layout="list"
  |     styleClass="errors" binding="#{msgbb.msgs}"/>
  | 



  | public class MsgBean {
  | 
  |    UIMessages msgs ;
  | 
  |     public UIMessages getMsgs() {
  |                 return msgs;
  |     }
  | 
  |     public void setMsgs(UIMessages msgs) {
  |             this.msgs = msgs;
  |     }
  | 

but i donnot know how to get message content through getter and setter. :.....( 
 or there is a seam way to do that?

can anyone help?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066693#4066693

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066693
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to