Re: How to specify a inside the contrib:table
Posted by Nick Westgate <ni...@key-planning.co.jp>.
Hi Dwi.
> i already try and read the tapestrytable.war
I just wanted to make sure you got it working.
Having a tutorial that is also a working Tapestry app is very useful.
(It would be great if there were more of these ...)
> thnx for answering my question
Well, I didn't answer your question, but looking at the tutorial again,
it seems CSS isn't covered much. Only the class and rowsClass parameters
for the table component.
Look at the source for a Tapestry generated page with a table, and you'll
see that a table basically has this format:
<table class="MyClassParameter">
...
<tr class="MyRowsClassParameter">
<td class="MyColumnNameColumnValue">...</td>
...
The td class attributes are automatically generated from the names you give
to your columns. So to answer your question:
>>> <table>
>>> <tr>
>>> <td width="200">
>>> <td width="100">
>>> <tr>
>>> </table>
You need to define some CSS that sets widths using the class names for the
columns you have in your table, so in your .css file put e.g:
th.MyColumnNameColumnValue
{
width: 28px;
}
There are probably other ways to do it, and I'm no CSS whizz, but that works.
Cheers,
Nick.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to specify a inside the contrib:table
Posted by Dwi Ardi Irawan <dw...@nwa.iao.co.id>.
i really sorry about this....
i already try and read the tapestrytable.war
just a little miss understanding about how i implement it to my code ;-)
(my side fault..sorry)
but anyway...
thnx for answering my question
i will try to solve my own problem using the archives
NOTE : i would not ask if i'm not stuck, the reason why i'm asking you guys
because i need help after try googling and the other thing
from the web
that can help me (not because i'm too lazy to search from
the archive)
once again sorry....
Nick Westgate wrote:
> Hi Dwi.
>
> Both of the questions you have asked recently are coverered
> very nicely by John Reynolds TapestryTables.war tutorial.
>
> Now, in the other thread you said:
> > i have try TapestryTable.war
> > but it didn't work....
>
> Can you please explain that a bit more? What doesn't work?
> The tutorial should work fine, and will save time for everyone.
>
> Also, many questions for Table can be answered by searching
> the archives for this list.
>
> Cheers,
> Nick.
>
>
> Dwi Ardi Irawan wrote:
>> the problem is :
>> i have to set the different width for each column
>> how can i do this ????
>> for example
>> <table>
>> <tr>
>> <td width="200">
>> <td width="100">
>> <tr>
>> </table>
>>
>> could you help me ?
>>
>> Rui Pacheco wrote:
>>
>>> Try using css to set the table's properties.
>>>
>>> On 6/6/06, Dwi Ardi Irawan <dw...@nwa.iao.co.id> wrote:
>>>
>>>>
>>>> does anyone have any idea about this :
>>>> i'm trying to organize my table...(which is using contrib:table)
>>>> but i couldn't figure out to specify the <td width="??"> inside of the
>>>> table....
>>>>
>>>> any suggestion would be appreciated
>>>>
>>>> thnx
>>>>
>>>> http://dwiardiirawan.blogspot.com
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>>
>>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to specify a inside the contrib:table
Posted by Nick Westgate <ni...@key-planning.co.jp>.
Hi Dwi.
Both of the questions you have asked recently are coverered
very nicely by John Reynolds TapestryTables.war tutorial.
Now, in the other thread you said:
> i have try TapestryTable.war
> but it didn't work....
Can you please explain that a bit more? What doesn't work?
The tutorial should work fine, and will save time for everyone.
Also, many questions for Table can be answered by searching
the archives for this list.
Cheers,
Nick.
Dwi Ardi Irawan wrote:
> the problem is :
> i have to set the different width for each column
> how can i do this ????
> for example
> <table>
> <tr>
> <td width="200">
> <td width="100">
> <tr>
> </table>
>
> could you help me ?
>
> Rui Pacheco wrote:
>
>> Try using css to set the table's properties.
>>
>> On 6/6/06, Dwi Ardi Irawan <dw...@nwa.iao.co.id> wrote:
>>
>>>
>>> does anyone have any idea about this :
>>> i'm trying to organize my table...(which is using contrib:table)
>>> but i couldn't figure out to specify the <td width="??"> inside of the
>>> table....
>>>
>>> any suggestion would be appreciated
>>>
>>> thnx
>>>
>>> http://dwiardiirawan.blogspot.com
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>>
>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to specify a inside the contrib:table
Posted by Dwi Ardi Irawan <dw...@nwa.iao.co.id>.
thnx Rui,
will try it immedietly
http://dwiardiirawan.blogspot.com
Rui Pacheco wrote:
> http://weblogs.java.net/blog/johnreynolds/archive/2004/10/learn_by_teachi_1.html
>
>
> Check this out, it has a lot of usefull examples. I am not sure if it has
> exactly what you want, but it might get you on the right path.
>
> On 6/6/06, Dwi Ardi Irawan <dw...@nwa.iao.co.id> wrote:
>>
>> the problem is :
>> i have to set the different width for each column
>> how can i do this ????
>> for example
>> <table>
>> <tr>
>> <td width="200">
>> <td width="100">
>> <tr>
>> </table>
>>
>> could you help me ?
>>
>> Rui Pacheco wrote:
>> > Try using css to set the table's properties.
>> >
>> > On 6/6/06, Dwi Ardi Irawan <dw...@nwa.iao.co.id> wrote:
>> >>
>> >> does anyone have any idea about this :
>> >> i'm trying to organize my table...(which is using contrib:table)
>> >> but i couldn't figure out to specify the <td width="??"> inside of
>> the
>> >> table....
>> >>
>> >> any suggestion would be appreciated
>> >>
>> >> thnx
>> >>
>> >> http://dwiardiirawan.blogspot.com
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> >> For additional commands, e-mail: users-help@tapestry.apache.org
>> >>
>> >>
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to specify a inside the contrib:table
Posted by Rui Pacheco <ru...@gmail.com>.
http://weblogs.java.net/blog/johnreynolds/archive/2004/10/learn_by_teachi_1.html
Check this out, it has a lot of usefull examples. I am not sure if it has
exactly what you want, but it might get you on the right path.
On 6/6/06, Dwi Ardi Irawan <dw...@nwa.iao.co.id> wrote:
>
> the problem is :
> i have to set the different width for each column
> how can i do this ????
> for example
> <table>
> <tr>
> <td width="200">
> <td width="100">
> <tr>
> </table>
>
> could you help me ?
>
> Rui Pacheco wrote:
> > Try using css to set the table's properties.
> >
> > On 6/6/06, Dwi Ardi Irawan <dw...@nwa.iao.co.id> wrote:
> >>
> >> does anyone have any idea about this :
> >> i'm trying to organize my table...(which is using contrib:table)
> >> but i couldn't figure out to specify the <td width="??"> inside of the
> >> table....
> >>
> >> any suggestion would be appreciated
> >>
> >> thnx
> >>
> >> http://dwiardiirawan.blogspot.com
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> >> For additional commands, e-mail: users-help@tapestry.apache.org
> >>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Cumprimentos,
Rui Pacheco
Re: How to specify a inside the contrib:table
Posted by Dwi Ardi Irawan <dw...@nwa.iao.co.id>.
the problem is :
i have to set the different width for each column
how can i do this ????
for example
<table>
<tr>
<td width="200">
<td width="100">
<tr>
</table>
could you help me ?
Rui Pacheco wrote:
> Try using css to set the table's properties.
>
> On 6/6/06, Dwi Ardi Irawan <dw...@nwa.iao.co.id> wrote:
>>
>> does anyone have any idea about this :
>> i'm trying to organize my table...(which is using contrib:table)
>> but i couldn't figure out to specify the <td width="??"> inside of the
>> table....
>>
>> any suggestion would be appreciated
>>
>> thnx
>>
>> http://dwiardiirawan.blogspot.com
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: How to specify a inside the contrib:table
Posted by Rui Pacheco <ru...@gmail.com>.
Try using css to set the table's properties.
On 6/6/06, Dwi Ardi Irawan <dw...@nwa.iao.co.id> wrote:
>
> does anyone have any idea about this :
> i'm trying to organize my table...(which is using contrib:table)
> but i couldn't figure out to specify the <td width="??"> inside of the
> table....
>
> any suggestion would be appreciated
>
> thnx
>
> http://dwiardiirawan.blogspot.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Cumprimentos,
Rui Pacheco
| | | | | | |