Interestingly, this only seems to affect <s:validateAll>... if I put 
<s:validate/> within a component, it works.

So, to summarise:

This doesn't work:

<h:form>
  |     <f:facet name="afterInvalidField">
  |             <h:panelGroup><br/><s:message/></h:panelGroup>
  |     </f:facet>
  |     <f:facet name="aroundInvalidField">
  |             <s:span styleClass="error"/>
  |     </f:facet>                  
  |     <s:validateAll> 
  | 
  |      <rich:tabPanel contentClass="tabbedpanel" switchType="client" 
selectedTab="#{customerManager.selectedTab}">
  |             <rich:tab label="General" name="General" >
  |                     <h:outputText value="First name: "/>
  |                     <s:decorate id="firstname">
  |                             <h:inputText label="Customer first name" 
value="#{customer.firstName}" required="true">
  |                                     <a4j:support event="onblur" 
reRender="firstname" ajaxSingle="true"/>
  |                             </h:inputText>
  |                     </s:decorate>
  |             </rich:tab>
  |     </rich:tabPanel>
  | </s:validateAll>
  | 
  | </h:form>

This does:


  | <h:form>
  |     <f:facet name="afterInvalidField">
  |             <h:panelGroup><br/><s:message/></h:panelGroup>
  |     </f:facet>
  |     <f:facet name="aroundInvalidField">
  |             <s:span styleClass="error"/>
  |     </f:facet>                  
  |     <s:validateAll> 
  | 
  |      <rich:tabPanel contentClass="tabbedpanel" switchType="client" 
selectedTab="#{customerManager.selectedTab}">
  |             <rich:tab label="General" name="General" >
  |                     <h:outputText value="First name: "/>
  |                     <s:decorate id="firstname">
  |                             <h:inputText label="Customer first name" 
value="#{customer.firstName}" required="true">
  |                                     <a4j:support event="onblur" 
reRender="firstname" ajaxSingle="true"/>
  |                                     <s:validate/>
  |                             </h:inputText>
  |                     </s:decorate>
  |             </rich:tab>
  |     </rich:tabPanel>
  |     </s:validateAll>
  | </h:form>
  | 

Which leads me to suspect that this is in fact a bug.. although whether it's 
RichFaces or Seam I have no clue ;-)

cheers

phil

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

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

Reply via email to