I am new to web development. Not aware of JSTL. I am using JSP.
can u tell me what these
class="rowTitle" is?
<fmt:message key="${rowTitle}" --- what does this contain. is it an array of
all the row items infirst column?
I have to show one of the items in the first column in bold. Is it possible
to that?
Thanks.
From: Jorge Barroso <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: RE: [displaytag-user] table
Date: Wed, 30 Nov 2005 10:39:26 -0800 (PST)
This is how I implemented it in one of my tables.
The trick is to add a column for the row titles, and modify the cell
value
for each row iteration.
<display:table id="matrix" name="${matrices}" >
<c:choose>
<c:when test="${matrix_rowNum == 1}" >
<c:set var="rowTitle" value="title.key_row1" scope="page"
/>
</c:when>
<c:when test="${matrix_rowNum == 2}" >
<c:set var="rowTitle" value="title.key_row2" scope="page"
/>
</c:when>
<c:when test="${matrix_rowNum == 3}" >
<c:set var="rowTitle" value="title.key_row3" scope="page"
/>
</c:when>
</c:choose>
<display:column titleKey="title.empty.html" class="rowTitle">
<fmt:message key="${rowTitle}"/>
</display:column>
...data columns...
</display:table>
title.empty.html resolves to
-Jorge
fea jabi <[EMAIL PROTECTED]> wrote: can anyone help me with this? Is it
possible to do this using displaytag?
Thanks.
>From: "fea jabi"
>Reply-To: [email protected]
>To: [email protected]
>Subject: [displaytag-user] table
>Date: Tue, 29 Nov 2005 13:55:16 -0500
>
>Have 2 columns is my table.
>
> 1. ----- has no heading
> 2. Hrs ----- heading
>
>1. column has data
>Loans
>Deposits
>
>2. column has values that has to come from the action class.
>
>Table has to be as shown below.
>
> Hrs
>Loans
>Deposits
>
>What is the better way of doing this?
>only the 2nd column has to be prepopulated.
>
>
>Thanks.
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today - it's
FREE!
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log
>files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>displaytag-user mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/displaytag-user
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user
---------------------------------
Yahoo! Personals
Single? There's someone we'd like you to meet.
Lots of someones, actually. Try Yahoo! Personals
_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to
get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user