voyent
effect and validator on inputComponents inside ui:repeat, how? (effect not fired)  XML
Forum Index -> General Help
Author Message
andreiij

Joined: 15/Feb/2009 00:00:00
Messages: 35
Offline


Hi,
I have several inputText component inside a ui:repeat. These inputText has both a validator and a effect. My purpose is that once a validator fails, the (highligth) effect will fire on that inputText.

Code:
 <ui:repeat var="currrentObject" ....... >
  <ice:inputText id="input" required="false" effect="#{currentObject.effect}"
                                         partialSubmit="true"
                                         value="#{currentObject.stringValue}">
                                        <f:validator validatorId="myIntegerValidator"/>
 
                                     </ice:inputText>    
                                          <ice:message style="color: red;" id="inputErr" for="input/>
 </ui:repeat>
 


However, my effect is not fired. I think the problem is that the effect attribute inside inputText is inside a ui:repeat which makes it not resolve.
If i have a static effect (ie. GlobalEffectBean.getEffect), the effect (once validation fails) is fired exactly once on the first inputText and not on the one failing.

Can someone point me in a direction, or suggestions what to check.
Thank you very much!
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team