Mulmer,

This sounds a lot like the TOMAHAWK-826 request. Maybe have a look at that JIRA issue and add your own comments.

[1] http://issues.apache.org/jira/browse/TOMAHAWK-826

Regards,

Jeff Bischoff
Kenneth L Kurz & Associates, Inc.

mulmer wrote:
Is there a way to control the style of associated h:inputText when the input
component has messages associated with it?

Current code looks like such:

                                <h:outputLabel for="criteriaOfferNumber" value="Ofr 
Nbr: "/>
                                <h:inputText id="criteriaOfferNumber" 
value="#{ui.data.offerNumber}"
styleClass="formTextBox">
                                        <f:converter 
converterId="javax.faces.Integer"/>
                                        <t:message for="criteriaOfferNumber" 
tooltip="true" detailFormat="*"
summaryFormat="{1} Number Required." showSummary="false" showDetail="true"
styleClass="formError"/>
                                        <a4j:support event="onblur"
reRender="requestApprovalCriteriaPanelGroup" />
                                </h:inputText>


I would like to control the h:inputText with ID="criteriaOfferNumber"
syleClass based on whether or not the t:message for this same component has
errors.


TIA
Mark


Reply via email to