please show the code you tried. I'm not sure that completelly get where you need to display messages.
sure, the following is basically what i'm trying to do:
<h:form> <rich:orderingList id="myList" value="myBean.myObjects" var="myItem"> <rich:column> <h:inputText value="myItem.name" /> <rich:message errorClass="errors" for="myList" /> </rich:column> </rich:orderingList> <a4j:commandButton value="Submit" reRender="myList" /> </h:form>
after the form submits there is no message being displayed for the above code.
but, when i place the <rich:message> tag outside of the <rich:orderingList> tag i can see the rendered error message fine. but this is a problem because i have many fields inside the orderingList and really need 'contextual' error display (i.e. error messages displayed by the field for which it is meant), instead of displaying all messages at the bottom outside of the orderingList.
is what i'm trying to do even possible? can you please explain what happens inside the iteration component...? i don't really understand it's behavior and i read somewhere that it "resets the state of all nested components" at the rendering phase... i am basically trying to embed forms inside of the orderinglist and have it behave like a regular form (that is not embedded inside anything), because i need the re-ordering capability of the orderingList.