You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Vinicius Carvalho <ja...@gmail.com> on 2006/08/10 23:48:12 UTC

Contrib:Table problems with layout

Hello there! *I've seen some discussions regarding this topic but
didn't find one that could help* I was having problems with the layout
of my table, but I was ignoring, thinking that might have been a tag
opened that I left open. Today I look it closer and found out that
seems to be a bug. My page uses a template with
renderbody/renderblock, it's something like this., really simple:

<html @shell>
<body @body>
<table>
<tr>
<td>//header goes here</td>
</tr>
<tr>
<td><span jwcid=@RenderBody/></td>
</tr>
</table>

That's it for the template. The page I insert the table has a table and a form:

<span jwcid="@MyLayout">
<span @Form>
<table> ...</table>
<br>
<table jwcid="contribTable"></table>
</span>
</span>

What's happening is that the contrib table is being displayed totally
out of place, on the right side of the page.
I've replaced the dynamic generated table by a static one, and It is
laid on the correct place.

Any ideas?

PS:Hope get some answers on this post (after so many empty :( ) :P

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


Re: Contrib:Table problems with layout

Posted by "hv @ Fashion Content" <in...@fashioncontent.com>.
mimetypes & DOCTYPES influence wether the browser goes in quirks mode or 
compliant mode.

When you serve a page using a web server it may get a diffrent mime type 
than the one you get if you show a file on your harddisk.

Test like for like when comparing starting out with identical files and 
modify them until you get rid of/first see the problem. Use Firefox with 
extra developer plugins, then you can see what mode the browser is using.

http://www.456bereastreet.com/ links to some really good books on CSS

Henrik

"Murray Collingwood" <mu...@focus-computing.com.au> skrev i en meddelelse 
news:44DC3BC8.1491.288E25C5@murray.focus-computing.com.au...
> This sounds like an HTML issue.
>
> Tapestry components are added into standard HTML, they do not generate any 
> different
> HTML than you have already specified.
>
> For example, you say the contribTable appears at the right of the page, 
> perhaps you are
> specifying widths on your static tables - maybe you need to add the width 
> parameter to your
> contribTable.
>
> Cheers
> mc
>
> On 10 Aug 2006 at 18:48, Vinicius Carvalho wrote:
>
>> Hello there! *I've seen some discussions regarding this topic but
>> didn't find one that could help* I was having problems with the layout
>> of my table, but I was ignoring, thinking that might have been a tag
>> opened that I left open. Today I look it closer and found out that
>> seems to be a bug. My page uses a template with
>> renderbody/renderblock, it's something like this., really simple:
>>
>> <html @shell>
>> <body @body>
>> <table>
>> <tr>
>> <td>//header goes here</td>
>> </tr>
>> <tr>
>> <td><span jwcid=@RenderBody/></td>
>> </tr>
>> </table>
>>
>> That's it for the template. The page I insert the table has a table and a 
>> form:
>>
>> <span jwcid="@MyLayout">
>> <span @Form>
>> <table> ...</table>
>> <br>
>> <table jwcid="contribTable"></table>
>> </span>
>> </span>
>>
>> What's happening is that the contrib table is being displayed totally
>> out of place, on the right side of the page.
>> I've replaced the dynamic generated table by a static one, and It is
>> laid on the correct place.
>>
>> Any ideas?
>>
>> PS:Hope get some answers on this post (after so many empty :( ) :P
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>
>
>
> FOCUS Computing - web design
> Mob: 0415 24 26 24
> murray@focus-computing.com.au
> http://www.focus-computing.com.au
>
>
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date: 9/08/2006
>
>
> ---------------------------------------------------------------------
> 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: Contrib:Table problems with layout

Posted by Murray Collingwood <mu...@focus-computing.com.au>.
This sounds like an HTML issue.

Tapestry components are added into standard HTML, they do not generate any different 
HTML than you have already specified.

For example, you say the contribTable appears at the right of the page, perhaps you are 
specifying widths on your static tables - maybe you need to add the width parameter to your 
contribTable.

Cheers
mc

On 10 Aug 2006 at 18:48, Vinicius Carvalho wrote:

> Hello there! *I've seen some discussions regarding this topic but
> didn't find one that could help* I was having problems with the layout
> of my table, but I was ignoring, thinking that might have been a tag
> opened that I left open. Today I look it closer and found out that
> seems to be a bug. My page uses a template with
> renderbody/renderblock, it's something like this., really simple:
> 
> <html @shell>
> <body @body>
> <table>
> <tr>
> <td>//header goes here</td>
> </tr>
> <tr>
> <td><span jwcid=@RenderBody/></td>
> </tr>
> </table>
> 
> That's it for the template. The page I insert the table has a table and a form:
> 
> <span jwcid="@MyLayout">
> <span @Form>
> <table> ...</table>
> <br>
> <table jwcid="contribTable"></table>
> </span>
> </span>
> 
> What's happening is that the contrib table is being displayed totally
> out of place, on the right side of the page.
> I've replaced the dynamic generated table by a static one, and It is
> laid on the correct place.
> 
> Any ideas?
> 
> PS:Hope get some answers on this post (after so many empty :( ) :P
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 



FOCUS Computing - web design
Mob: 0415 24 26 24
murray@focus-computing.com.au
http://www.focus-computing.com.au




-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.8/415 - Release Date: 9/08/2006


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