Hi Yuri,

the problem is: the full layout is calculated on the server, so the
server needs to know the clients size.

in the example/addessbook you can see how to solve this. The start.jsp
is just to get the size into the PageState.

Regards,
 Volker

2006/12/18, Yuri Ivanov <[EMAIL PROTECTED]>:




Hello,

I have simple layout task. I need to make a login dialog box in the center
of the browser screen.  The problem that initial size of the page I need to
set in px, and it's not good.

I have tried to set page width and height to 100%, but it doesn't work.

  <tc:page width="100%" height="100%">

  <!-- width="1000px" height="700px" -->

    <f:facet name="layout">

      <tc:gridLayout rows="30%;fixed;30%" columns="30%;*;30%"  />

    </f:facet>

      <tc:cell spanX="1" spanY="2"/>

…



What is the best solution of this simple layout task?





Thanks,

Yuri Ivanov.


Reply via email to