You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Simon Lessard (JIRA)" <ad...@incubator.apache.org> on 2006/07/21 13:46:13 UTC

[jira] Created: (ADFFACES-85) Add a new row skin selector for panelForm

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

        

[jira] Closed: (ADFFACES-85) Add a new row skin selector for panelForm

Posted by "Simon Lessard (JIRA)" <ad...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/ADFFACES-85?page=all ]

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.

af|panelFormLayout::label-cell
{
  padding-top: 8px;
}

af|panelFormLayout::content-cell
{
  padding-top: 8px;
}

> 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

        

[jira] Updated: (ADFFACES-85) Add a new row skin selector for panelForm

Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
     [ 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.