incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Lessard (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Created: (ADFFACES-85) Add a new row skin selector for panelForm
Date Fri, 21 Jul 2006 13:46:13 GMT
Add a new row skin selector for panelForm
-----------------------------------------

                 Key: ADFFACES-85
                 URL: http://issues.apache.org/jira/browse/ADFFACES-85
             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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message