You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Eng Lark Eric Tan <ne...@yahoo.com.hk> on 2005/09/15 05:21:55 UTC

Column Width of Block

Dear all,

    How can I fix the column width of
"contrib:TableView", contrib:TableRows?

    I've try using <span
jwcid="roleCodeColumnValue@Block" width="100"/> but
@Block do not allow informal parameter ?!

Best regards,
    Eric Tan


_______________________________________
 想即時收到新 email 通知?
 下載 Yahoo! Messenger http://messenger.yahoo.com.hk 

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


Re: Column Width of Block

Posted by Tomáš Drenčák <to...@gmail.com>.
You can use colgroup html tag and also col tag. It defines column
groups in table they widths, groups... Look at
http://www.w3.org/TR/REC-html40/struct/tables.html#edef-colgroup

<table>
<colgroup><col width=30><col width=40>
...

2005/9/15, Dan Adams <da...@ifactory.com>:
> have you tried styling the column with a css class? like if you have a
> column name 'person' I think class comes out as
> 'personColumnValue' (check the html source to be sure) then you can just
> do something like this is a stylesheet:
> 
> td.personColumnValue {
>   width: 40px;
> }
> 
> hope this helps.
> 
> On Thu, 2005-09-15 at 11:21 +0800, Eng Lark Eric Tan wrote:
> > Dear all,
> >
> >     How can I fix the column width of
> > "contrib:TableView", contrib:TableRows?
> >
> >     I've try using <span
> > jwcid="roleCodeColumnValue@Block" width="100"/> but
> > @Block do not allow informal parameter ?!
> >
> > Best regards,
> >     Eric Tan
> >
> >
> > _______________________________________
> >  想即時收到新 email 通知?
> >  下載 Yahoo! Messenger http://messenger.yahoo.com.hk
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> --
> Dan Adams
> Software Engineer
> Interactive Factory
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
>

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


Re: Column Width of Block

Posted by Dan Adams <da...@ifactory.com>.
have you tried styling the column with a css class? like if you have a
column name 'person' I think class comes out as
'personColumnValue' (check the html source to be sure) then you can just
do something like this is a stylesheet:

td.personColumnValue {
  width: 40px;
}

hope this helps.

On Thu, 2005-09-15 at 11:21 +0800, Eng Lark Eric Tan wrote:
> Dear all,
> 
>     How can I fix the column width of
> "contrib:TableView", contrib:TableRows?
> 
>     I've try using <span
> jwcid="roleCodeColumnValue@Block" width="100"/> but
> @Block do not allow informal parameter ?!
> 
> Best regards,
>     Eric Tan
> 
> 
> _______________________________________
>  想即時收到新 email 通知?
>  下載 Yahoo! Messenger http://messenger.yahoo.com.hk 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
-- 
Dan Adams
Software Engineer
Interactive Factory


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