Bugs item #857615, was opened at 2003-12-10 15:54
Message generated for change (Comment added) made by fgiust
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=857615&group_id=73068
Category: main tag library
Group: v 1.0-b1
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: fabrizio giustina (fgiust)
Summary: basic.msg.empty_list rendering
Initial Comment:
This code:
<display:table name="<%=
Constants.PARCS_COLLECTION_KEY%>"
requestURI="occupationparc.do"
decorator="com.stva.exploitation.displaytag.TotalWrappe
r">
<display:setProperty
name="basic.msg.empty_list" value="<%=msgEmptyList %
>"/>
<display:column sortable="true"
property="label" title='<%=resources.getMessage
(locale, "prompt.NodeEmplacementLevel.level" )%>' />
<display:column sortable="true"
property="nbPlacesStd" title='<%=resources.getMessage
(locale, "prompt.parc.occupationParc.total")%>'/>
<display:column sortable="true"
property="occupied" title='<%=resources.getMessage
(locale, "prompt.parc.occupationParc.occupied")%>'/>
<display:column sortable="true"
property="remaining" title='<%=resources.getMessage
(locale, "prompt.parc.occupationParc.remaining")%>'/>
</display:table>
generate the HTML that IMHO incorrect:
<table>
<thead>
<tr>
<th>
<a href="occupationparc.do?
nodeEmplacementLevel=3&d-12582-
s=0&pattern=nodeEmplacementLevelPattern&d-
12582-o=2">Niveau hierarchique</a></th>
<th>
<a href="occupationparc.do?
nodeEmplacementLevel=3&d-12582-
s=1&pattern=nodeEmplacementLevelPattern&d-
12582-o=2">Total</a></th>
<th>
<a href="occupationparc.do?
nodeEmplacementLevel=3&d-12582-
s=2&pattern=nodeEmplacementLevelPattern&d-
12582-o=2">Occupées</a></th>
<th>
<a href="occupationparc.do?
nodeEmplacementLevel=3&d-12582-
s=3&pattern=nodeEmplacementLevelPattern&d-
12582-o=2">Restantes</a></th></tr></thead>
<tbody></tbody> <tr class="even empty">
<td colspan="5">Aucun emplacement de ce niveau ne
contient des informations correspondant aux criteres
voulus</td></tr></table>
there is nothing in the table body, and the last row is
not in the scope of <tbody/>
with such syntax the basic.msg.empty_list value is
rendered incorrectly in Netscape 7.01
Should be :
<table>
<thead>
<tr>
<th>
<a
href="http://localhost:8080/exploitation/occupationparc.
do?nodeEmplacementLevel=3&d-12582-
s=0&pattern=nodeEmplacementLevelPattern&d-
12582-o=2">Niveau hierarchique</a></th>
<th>
<a
href="http://localhost:8080/exploitation/occupationparc.
do?nodeEmplacementLevel=3&d-12582-
s=1&pattern=nodeEmplacementLevelPattern&d-
12582-o=2">Total</a></th>
<th>
<a
href="http://localhost:8080/exploitation/occupationparc.
do?nodeEmplacementLevel=3&d-12582-
s=2&pattern=nodeEmplacementLevelPattern&d-
12582-o=2">Occup�es</a></th>
<th>
<a
href="http://localhost:8080/exploitation/occupationparc.
do?nodeEmplacementLevel=3&d-12582-
s=3&pattern=nodeEmplacementLevelPattern&d-
12582-o=2">Restantes</a></th></tr></thead>
<tbody>
<tr>
<td colspan="5">Aucun emplacement de ce niveau ne
contient des informations correspondant aux criteres
voulus</td>
</tr>
</tbody>
</table>
----------------------------------------------------------------------
>Comment By: fabrizio giustina (fgiust)
Date: 2004-01-02 14:42
Message:
Logged In: YES
user_id=798060
fixed completely in b3. Tbody/colspan are ok and you can also
choose to skip the table output and display only the message
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=857615&group_id=73068
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel