myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning Noeth (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Updated] (TOBAGO-1709) Duplicated IDs when using 'labelLayout=segmentLeft' or 'labelLayout=segmentRight'
Date Mon, 13 Mar 2017 13:11:42 GMT

     [ https://issues.apache.org/jira/browse/TOBAGO-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Henning Noeth updated TOBAGO-1709:
----------------------------------
    Status: Patch Available  (was: Open)

> Duplicated IDs when using 'labelLayout=segmentLeft' or 'labelLayout=segmentRight'
> ---------------------------------------------------------------------------------
>
>                 Key: TOBAGO-1709
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1709
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>            Reporter: Henning Noeth
>            Assignee: Henning Noeth
>         Attachments: TOBAGO_1709_Duplicated_IDs_when_using__labelLayout_segmentLeft__or__labelLayout_segmentRig.patch
>
>
> The following code produce duplicated IDs on the rendered DIV. It doesn't matter if an
ID is set.
> {code:xml}<tc:segmentLayout extraSmall="6;6">
>   <tc:in id="inputOne" label="Input" labelLayout="segmentLeft"/>
>   <tc:in id="inputTwo" label="Input" labelLayout="segmentRight"/>
> </tc:segmentLayout>{code}
> The rendered result for 'inputOne' is:
> {code:xml}<div class="tobago-segmentLayout row" id="page:mainForm:j_id_1x">
>   <div class="col-xs-6">
>     <div id="page:mainForm:inputOne" class="tobago-label-container form-group">
>       <label for="page:mainForm:inputOne" class="tobago-label col-form-label">Input</label>
>     </div>
>   </div>
>   <div class="col-xs-6">
>     <div id="page:mainForm:inputOne" class="tobago-label-container form-group">
>       <input type="text" name="page:mainForm:inputOne" id="page:mainForm:inputOne::field"
class="tobago-in form-control">
>     </div>
>   </div>
> ...
> </div>{code}
> The result for 'inputTwo' is very similar.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message