|
I think that nested tables are not the solution
because a nested table is (I think) a way to show a list of beans with an
attribute that is a List itself, and what I need to do is just show a large
attribute of my beans in another row just to have a better presentation... I
think that the best way would be something like this:
<display:table>
<display:row>
<display:column>1</display:column>
<display:column>2</display:column>
<display:column>3</display:column>
<display:column>4</display:column>
</display:row>
<display:row>
<display:column>5 </display:column>
</display:table>
...but, as the display-tag doesn�t allow to set rows, I'm thinking that
maybe we can find another way to do this... don�t you?
Raul Herranz (from Spain)
----- Original Message -----
Sent: Wednesday, July 07, 2004 4:11
PM
Subject: Re: RES: [displaytag-user] first
question in the list
Currently, displayTag only
contains a "ColumnDecorator". There is no "RowDecorator". Also,
the semantics of displayTag require the developer to indicate the property
that will be used to populate a column, with the expectatation that each row
in the table is homogeneous.
The
only thing that I think might help would be to change the orientation of the
view and use nested tables:
http://www.displaytag.org/example-nestedtables.jsp.
Dennis
Andr� Felipe Matos de
Carvalho <[EMAIL PROTECTED]> Sent by:
[EMAIL PROTECTED]
07/07/2004 10:10 AM
|
Please respond
to [EMAIL PROTECTED] |
|
|
To
| "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
|
|
cc
|
|
|
Subject
| RES: [displaytag-user]
first question in the list |
|
What I think is that you want to print a new line (an
intermediate line) AFTER EACH ROW, and that this line can access some data
from the bean of the last row.
You should look for a decorator that
permits you to do something after each row is printed. But I dont know
how....
Good luck and let us know if you succeed, ok?
Andr�
Felipe
Hi there! I'm new at this list, and I have become
a member because I have been testing display tag and I have a question
about it... Well, as my english is not as good as I'd like, I
think that you are going to understand better my requirements if you take a
look to the following images. In those images you can see the way I'm
displaying some info using display tag and the way that I'd like it to be
displayed... my question is: is it possible to display the info in this
way? Actual:
---------------------------------------------------- | a1
| a2 | a3 | a4 | a5
| ---------------------------------------------------- |
b1 | b2 | b3 | b4 | b5
| ---------------------------------------------------- |
c1 | c2 | c3 | c4 | c5
| ----------------------------------------------------
Required: ------------------------------------------ |
a1 | a2 | a3 | a4 |
------------------------------------------ |
a5
|
------------------------------------------ | b1 |
b2 | b3 | b4 |
------------------------------------------ |
b5
|
------------------------------------------ | c1 |
c2 | c3 | c4 |
------------------------------------------ |
c5
|
------------------------------------------ Thanks in
advance! Raul (from Spain)
------------------------------------------------------- This
SF.Net email sponsored by Black Hat Briefings & Training. Attend Black
Hat Briefings & Training, Las Vegas July 24-29 - digital self defense,
top technical experts, no vendor pitches, unmatched networking
opportunities. Visit
www.blackhat.com _______________________________________________ displaytag-user
mailing
list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user
|
- Re: RES: [displaytag-user] first question in the lis... Raúl Herranz Serrano
-