|
I think that the solution of create a subclass of
TableDecorator is not a bad idea for the moment... I'm going to try this...
And if I have time, I will try to implement this
functionality as I thought in the first moment (with the use of 'row' tags)...
Because, Dennis, just think for a moment: everything that you can do with
displaytag you can do with jsp/scriptlet in a easy way, but displaytag allows
you (and me, and everybody) to do a lot of things (pagination or order, by
example) in a more simple way, and this is why someone has spend his time to
develop it, so if we can improve display tag, it will be great for everybody,
don�t you think?
Thanks everybody!
Ra�l (from Spain)
----- Original Message -----
Sent: Wednesday, July 07, 2004 5:07
PM
Subject: Re: RES: [displaytag-user] first
question in the list
You could get the source and
_try_ to implement this type of functionality, but is it worth the effort to
pursue this?
displayTag is a nice
solution out of the box, but you could probably do what you want to do a LOT
quicker with some jsp/scriplet code and 1 or more other tags. I ran into
a similiar situation a couple of weeks ago and I had to abandon displayTag and
spend a couple of hours rolling my own solution.
Dennis
Ra�l Herranz Serrano
<[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED]
07/07/2004 10:29 AM
|
Please respond
to [EMAIL PROTECTED] |
|
|
To
| <[EMAIL PROTECTED]>
|
|
cc
|
|
|
Subject
| Re: RES:
[displaytag-user] first question in the
list |
|
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:row> </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 ----- From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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
|