> or if you want a layout which reflects the actual size of your
> browserwindow
> [...]
> <managed-property>
> <property-name>clientWidth</property-name>
> <value>800</value>
> </managed-property>
> <managed-property>
> <property-name>clientHeight</property-name>
> <value>600</value>
> </managed-property>
> </managed-bean>
Er... so these clientX properties define the screen resolution and the
browser window size is retrieved based on that information somehow? But
so there's no way to generate a page _totally_ dynamically, independent
of screen resolution as well?
No, these are the initial values used for layout calculation, starting
without setting reasonable initial values will results in a 0x0 px
sized layout for the first view.
This values are not the screen resolution but the expected utilisable
clientSize. If you use this approach, the actual browser size is
transmitted to the server on every submit and used as layout
calculation base for the next rendered page.
In short the GridLayoutManager works like this:
Get the inner space of the parent component, calculate the space for
the children based on the constraints rows and columns.
Regards
Volker