4 Replies Latest reply on Jan 21, 2008 10:52 PM by Matt Schrader

    rich:message/rich:messages

    Matt Schrader Newbie

      I am seeing an issue where the message bundle I load is not being used for my rich:messages for inputText. Below is snippets of the tags I am working with.

      <rich:panel style="border-style: none;">
      <a4j:form id="homeownerInsuranceQuoteForm">
      <a4j:loadBundle basename="web.forwardspin.ddr.bundle.messages" var="msg"/>
      <h:inputHidden value="#{ApartmentBuildingInsuranceQuoteFace.quoteName}" />
      <rich:messages ajaxRendered="true" showDetail="true" />
      <t:panelGrid columns="2" columnClasses="formHeader,formField" >
      <t:panelGroup>
      <h:outputLabel for="firstName" value="#{msg.firstName}" />
      <h:outputText value=": " />
      </t:panelGroup>
      <t:panelGroup>
      <h:inputText id="firstName" value="#{ApartmentBuildingInsuranceQuoteFace.quoteForm.personForm.firstName}" maxlength="50" required="true">
      <a4j:support event="onblur" reRender="homeownerInsuranceQuoteForm:firstName"/>
      </h:inputText>
      <rich:message for="firstName" tooltip="true" showSummary="false" showDetail="false" ajaxRendered="true">
      <f:facet name="passedMarker">
      <h:graphicImage value="/IMAGES/passed.gif" />
      </f:facet>
      <f:facet name="errorMarker">
      <h:graphicImage value="/IMAGES/error.gif" />
      </f:facet>
      </rich:message>
      </t:panelGroup>
      </t:panelGrid>
      </a4j:form>
      </rich:panel>