No such thing as a small change | |
PerlMonks |
Re^3: CGI table problemsby pKai (Priest) |
on Nov 10, 2006 at 10:54 UTC ( [id://583318]=note: print w/replies, xml ) | Need Help?? |
Fixing a syntax error (missing ");" in the renderPartReadView line, substituting the embedded sub calls by their string representation, I got a table like
I'm still not sure where your problem resides. Assuming for now that renderPartListView returns an arrayref, and rather then seeing something like this:
you would more like this:
??? Well, it can be done… but is likely to obscure your programm even further. "Easiest" way I see (in the sense that you only make 1 local change) is introducing another table [:-/] for the left part, as in:
To achieve that, replace the call to renderPartListView with the following: $cgi->table( map{ $cgi->Tr($cgi->td($_) ) } @{renderPartListView($cgi)} )
In Section
Seekers of Perl Wisdom
|
|