Problem solved!

Had to do with my template.xhtml file.

In it I have\had

  |     <f:subview rendered="#{identity.loggedIn and s:hasRole('FARMER') and 
s:hasRole('AGENT')}">
  |             <rich:panel>
  |                     <h:panelGrid width="100%">
  |                         <ui:include src="submenu.xhtml">
  |                             <ui:param name="projectName" 
value="#{agentMasqueradeFarmer.username}"/>
  |                         </ui:include>
  |                             <ui:insert name="body"/>
  |                      </h:panelGrid>
  |             </rich:panel>
  |     </f:subview>
  |     <f:subview rendered="#{not (identity.loggedIn and s:hasRole('FARMER') 
and s:hasRole('AGENT'))}">
  |             <ui:insert name="body"/>
  |     </f:subview>
  | 

Removing the first <f:subview> makes <s:message> display the message.
It seems having two f:subviews inserting (depending on mutually exclusive 
rendering rules) the same body confuses s:message.

Course I too am confused.

Whether this is a feature or a bug I dunno.

Cheers
Pieter

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

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

Reply via email to