tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew McAuliffe (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Created: (TAPESTRY-845) contrib:TableColumns can only have center aligned column headers
Date Tue, 24 Jan 2006 01:45:11 GMT
contrib:TableColumns can only have center aligned column headers
----------------------------------------------------------------

         Key: TAPESTRY-845
         URL: http://issues.apache.org/jira/browse/TAPESTRY-845
     Project: Tapestry
        Type: Bug
  Components: Contrib  
    Versions: 4.0, 4.1, 4.0.1    
    Reporter: Drew McAuliffe


Table columns cannot in any way be altered to change alignment. The default alignment is centered,
due to this code in the render component ("SimpleTableColumnComponent"):

<table border=0 cellspacing=0 cellpadding=0 align="center">

Because of this, you can't use CSS to modify the alignment. I have to manually change the
code in the Tapestry source and rebuild to allow anything other than center-aligned columns.

Some (on the mailing lists) have suggested using a different renderer, but that doesn't appear
possible without writing a lot of custom renderer code (basically, replace the entire SimpleTableXX
component family just to replace one part of it). All to replace something that should be
CSS-controllable anyway. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message