At line 8 changed 5 lines. |
*[5] Database Questions and HowTos |
*[6] Application Server Questions and HowTos |
*[7] Using Anthill and CruiseControl |
*[8] Hibernate Specific Questions |
*[9] Archived Questions |
*[5] JSF Specific HowTos |
*[6] Database Questions and HowTos |
*[7] Application Server Questions and HowTos |
*[8] Using Anthill and CruiseControl |
*[9] Hibernate Specific Questions |
*[10] Archived Questions |
At line 88 changed 1 line. |
!!Database Specific [#5] |
!!JSF Specific [#5] |
* [How to convert <bean:message> tags to JSTL's <fmt:message> tags|http://raibledesigns.com/page/rd?anchor=changing_struts_lt_bean_message] |
* How to [use Velocity templates instead of JSPs|AppFuseVelocity]. |
* How to [deal with Dates using Struts|AppFuseStrutsDates]. |
* Do you have any Struts validator [examples?|http://phd.netcomp.monash.edu.au/RobertMarkBram/blog/detailPage.asp?id=46] |
|
* Why is the JSTL keyword 'empty' not working all the time? |
|
;:''The empty keyword (pre JSP 2.0), only worked on java.util.List, java.util.Map, on Strings and arrays. Collections like java.util.Set were not supported. If you are using pre JSP 2.0 and want to test whether a Set is empty or not use: {{{ |
|
<c:if test="${mycollection['empty']}">. |
|
}}} |
The most reliable workaround to this problem I have found, is to use this notation: |
{{{ |
<c:forEach items="${mycollection}" var="element" varStatus="rowNum"> |
|
<c:if test="${rowNum.count==1}"> |
<table> |
<tr> <th> Value Header </th> </tr> |
</c:if> |
|
<tr> |
<th> |
<c:out value="${element.value}"/> |
</th> |
</tr> |
<c:if test="${rowNum.last}"> |
</table> |
</c:if> |
</c:forEach> |
}}} |
This [article|http://weblogs.java.net/blog/mister__m/archive/2003/11/crazy_jstl_when.html] explains this in more detail. If you are using tomcat 5, this supports JSP 2.0 so you will not experience |
this problem. |
'' |
|
!!Database Specific [#6] |
At line 140 changed 1 line. |
!!Application Server Specific [#6] |
!!Application Server Specific [#7] |
At line 150 changed 1 line. |
!!Continuous Integration [#7] |
!!Continuous Integration [#8] |
At line 154 changed 1 line. |
!!Hibernate Specific Questions [#8] |
!!Hibernate Specific Questions [#9] |
At line 182 changed 1 line. |
!!Archived Questions (no longer relevant) [#9] |
!!Archived Questions (no longer relevant) [#10] |