Bugs item #857615, was opened at 2003-12-10 06:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
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&amp;d-12582-
s=0&amp;pattern=nodeEmplacementLevelPattern&amp;d-
12582-o=2">Niveau hierarchique</a></th>
<th>
<a href="occupationparc.do?
nodeEmplacementLevel=3&amp;d-12582-
s=1&amp;pattern=nodeEmplacementLevelPattern&amp;d-
12582-o=2">Total</a></th>
<th>
<a href="occupationparc.do?
nodeEmplacementLevel=3&amp;d-12582-
s=2&amp;pattern=nodeEmplacementLevelPattern&amp;d-
12582-o=2">Occup&eacute;es</a></th>
<th>
<a href="occupationparc.do?
nodeEmplacementLevel=3&amp;d-12582-
s=3&amp;pattern=nodeEmplacementLevelPattern&amp;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&amp;d-12582-
s=0&amp;pattern=nodeEmplacementLevelPattern&amp;d-
12582-o=2">Niveau hierarchique</a></th>
<th>
<a 
href="http://localhost:8080/exploitation/occupationparc.
do?nodeEmplacementLevel=3&amp;d-12582-
s=1&amp;pattern=nodeEmplacementLevelPattern&amp;d-
12582-o=2">Total</a></th>
<th>
<a 
href="http://localhost:8080/exploitation/occupationparc.
do?nodeEmplacementLevel=3&amp;d-12582-
s=2&amp;pattern=nodeEmplacementLevelPattern&amp;d-
12582-o=2">Occupées</a></th>
<th>
<a 
href="http://localhost:8080/exploitation/occupationparc.
do?nodeEmplacementLevel=3&amp;d-12582-
s=3&amp;pattern=nodeEmplacementLevelPattern&amp;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>




----------------------------------------------------------------------

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

Reply via email to