Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4671755
By: savoym

I am trying to insert another line in my display:table row.  I have read on
other posts here that I can do that by overriding the finishRow() method in
the TableDecorator class.

I copied the TableDecorator class in the Java Resources: src directory of my
web project and placed it under the same package name as that which is in the
displaytag 1.1.1.jar file.

I modified the finishRow() method as follows:

public String finishRow()
    {
        RequisitionSearchResults reqSearch =
(RequisitionSearchResults)this.currentRowObject;
        if (reqSearch.getItemDescr() == null) {
                return null;
        }else {
                return "<tr><td></td><td colspan='11'>" + 
reqSearch.getItemDescr()
+ "</td></tr>";
        }
    }

My problem is that when I put a BREAK while debugging in the finishRow() method
of my new TableDecorator class I am never getting to the line where the BREAK
is.  My question is what did I do wrong?  When I bring up this page should the
page not hit the TableDecorator class where my break is?

PLEASE, ANY HELP would be greatly appreciated.  I've been trying to get 
displayTag
to work since last week and this is the last piece to be able to use this in
our project.

Ed Webb, if you're reading this, your response would be greatly appreciated
as I've been trying to follow your instructions on making this work.

Regards. 

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=249317

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to