| Author |
JSTL and facesmessages
|
Liming Xu
Greenhorn
Joined: Jan 22, 2002
Posts: 19
|
|
Hey all, the current h:messages tag does not satisify my need (well, for my designers). Because every single message needs to be presented in the following view <p> my message 1</p> <p> my message 2</p> no table, no lists, just a bunch of <p></p> So I thought jstl's c:foreach fits my need the best. the problem is I just searched this forum, in a previous post, I see that foreach is not compatiable with JSF. so how would I go around this? suggestions please... this is what I have now <c:forEach items="${facesContext.messages}" var="facesmessage"> <p class="failrequire"><c ut value="${facesmessage.detail}" /></p></c:forEach> mucho gracias.
|
 |
 |
|
|
subject: JSTL and facesmessages
|
|
|