Hi

Be aware of a subtle bug in DisplayTag. If you have a column without a 
"property" - i.e you want to display somthing different like:

<display:column titleKey="status" sortable="true">
        <c:if test="${something.status==true}">
                <bean:message key="activ" bundle="core" />
        </c:if>
        <c:if test="${something.status!=true}">
                <bean:message key="unactiv" bundle="core" />
        </c:if>
</display:column>

then the use of "titleKey" will display nothing - You will have to use "title" 
and hard-code the value in your jsp. I am planning to debug through the 
displaytag source sometime this week and try to figur out what goes wrong here.

Hermod



-----Original Message-----
From: Angel Cervera Claudio [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 02, 2005 9:43 AM
To: Struts Users Mailing List
Subject: Re: Question on http://displaytag.sourceforge.net/


[EMAIL PROTECTED] wrote:

>Has anyone used the display tag library at http://displaytag.sourceforge.net/ 
>in a Struts application?
>
>If so what did you think of it?
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>  
>
No problems. Go all rigth.
Example:
<display:table name="${sessionScope.ZonaTrabajoRstdBusq}" 
requestURI="/zonaTrabajoPrincipalBuscar.do" id="resultadosID" 
width="100%" cellpadding="5" cellspacing="1" pagesize="20" export="true">
        <display:column title="Código"  media="all" ><c:out 
value="${resultadosID.codigo}" escapeXml="true"/></display:column >
        <display:column title="Nombre"  media="all" ><c:out 
value="${resultadosID.nombre}" escapeXml="true"/></display:column >
        <display:column title=""  media="html" ><div class="botonera"><a 
href="<html:rewrite 
action="/zonaTrabajoPrincipalBorrarDesdeTabla"/>?c=${resultadosID.idModelo}"><img
 
class="botonIrABorrar" alt="<bean:message 
key="ZonaTrabajoBusqueda.borrarDesdeTabla"/>" src="<html:rewrite 
page="/img/iIrABorrar.gif"/>"/></a><a href="javascript:gT('<html:rewrite 
action="/zonaTrabajoPrincipalIrAEditar"/>','${resultadosID.idModelo}');"><img 
class="botonIrAEdicion" alt="<bean:message 
key="ZonaTrabajoBusqueda.irAEditar"/>" src="<html:rewrite 
page="/img/iIrAEdicion.gif"/>"/></a></display:column >
</display:table>


-- 
Ángel Cervera Claudio
Freelance / desarrollos j2ee
web: http://www.acervera.com
tlf: 670819234 / 916058546
email: [EMAIL PROTECTED]
- Mensajería ---------------------
msn: [EMAIL PROTECTED]
yahoo: angelcervera
aol: angelcervera
jabber: angelcervera en jabber.org
google talk: angelcervera


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to