Another question: how do i manage it to get a box or smth else centered
on the page. I'm thinking of a Login/Password Box simply centered on the
page
A simple login page could look like this:
<f:view>
<tc:page label="${title}" id="page" width="1010" height="636">
<f:facet name="layout">
<tc:gridLayout rows="1*;fixed;1*" columns="1*;400px;1*"/>
</f:facet>
<tc:cell spanX="3"/>
<tc:cell/>
<tc:box label="Intraday Power Trading">
<f:facet name="layout">
<tc:gridLayout/>
</f:facet>
<tx:in id="j_username" label="User ID"/>
<tx:in id="j_password" password="true" label="Password"/>
<tc:panel>
<f:facet name="layout">
<tc:gridLayout columns="1*;100px"/>
</f:facet>
<tc:cell/>
<tc:button defaultCommand="true" label="Login" action="overview"/>
</tc:panel>
</tc:box>
<tc:cell/>
<tc:cell spanX="3"/>
</tc:page>
</f:view>
Currently there is only gridLayout you would normally use.
Regards,
Arvid