incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Lessard (JIRA)" <>
Subject [jira] Closed: (ADFFACES-85) Add a new row skin selector for panelForm
Date Mon, 14 Aug 2006 16:14:14 GMT
     [ ]

Simon Lessard closed ADFFACES-85.

    Resolution: Fixed

Since the addition for the faces major renderer for panel form layout, this issue can be solved
using something like the following to insert spacing between inputs.

  padding-top: 8px;

  padding-top: 8px;

> Add a new row skin selector for panelForm
> -----------------------------------------
>                 Key: ADFFACES-85
>                 URL:
>             Project: MyFaces ADF-Faces
>          Issue Type: Improvement
>            Reporter: Simon Lessard
> Currently panelForm only supports three selectors:
> af|panelForm::body
> af|panelForm::cell
> af|panelForm::label-cell
> It would be nice for the user to be able to alter a complete row like to add spacing
between input fields. I suggest
> af|panelForm::entry or af|panelForm::content
> That being said, there's another issue with selectors of the panelForm component. Adding
spacing between various input fields is not as easy as it seems. With the current selector,
one could think that the following does the trick:
> af|panelForm::cell,
> af|panelForm::label-cell
> {
>   padding-top: 8px;
> }
> However, it is not perfect because of the way panelInputAndMessage are rendered. An input
with a message will generate markup looking like the following:
> <tr>
>   <td>Label</td>
>   <td><span style="width:25px;"/></td>
>   <td>Field</td>
> </tr>
> <tr>
>   <td colspan="2"></td>
>   <td><div>message</div></td>
> </tr>
> Since the message is on a different row, the af|panelForm::cell style is applied and
the message thus appears far from its field.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message