[
https://issues.apache.org/jira/browse/ADFFACES-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Weßendorf updated ADFFACES-85:
---------------------------------------
Fix Version/s: 1.0.0-incubating-core
Affects Version/s: 1.0.0-incubating-core
> Add a new row skin selector for panelForm
> -----------------------------------------
>
> Key: ADFFACES-85
> URL: https://issues.apache.org/jira/browse/ADFFACES-85
> Project: MyFaces ADF-Faces
> Issue Type: Improvement
> Affects Versions: 1.0.0-incubating-core
> Reporter: Simon Lessard
> Fix For: 1.0.0-incubating-core
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.