myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (TOMAHAWK-1554) CollapsiblePanel CSS Question
Date Fri, 18 Mar 2011 00:14:29 GMT

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

Leonardo Uribe updated TOMAHAWK-1554:
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.11-SNAPSHOT
         Assignee: Leonardo Uribe
           Status: Resolved  (was: Patch Available)

I added 4 new properties as suggested:

indicatorStyleClass
indicatorStyle
titleStyleClass
titleStyle

It is a very simple task to do with myfaces builder plugin. And replaced the bad code with
the usage of those properties. Thanks to Oliver Bayer for provide these hints.

> CollapsiblePanel CSS Question
> -----------------------------
>
>                 Key: TOMAHAWK-1554
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1554
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>    Affects Versions: 1.1.11-SNAPSHOT
>         Environment: Win XP, MyFaces 2.0.3-Snapshot, Tomahahwk20-1.1.11-Snapshot
>            Reporter: Oliver Bayer
>            Assignee: Leonardo Uribe
>             Fix For: 1.1.11-SNAPSHOT
>
>         Attachments: patch.txt
>
>
> Hi,
> I'm using the collapsiblepanel component inside a h:form see the following code
> <t:collapsiblePanel id="aNewId" title="a title" style="margin-left: 30px;">
> <p>lorem ipsum</p>
> </t:collapsiblePanel>
> It get's rendered as follows:
> <div style="margin-left: 30px;" title="a title">
> <a href...>
>    <span style="margin-left: 30px;">&gt;</span>
>    <span style="margin-left: 30px;">a title</span>
> </a>
> </div>
> Why get the both span-tags the margin-left style too? Because the div has this style
already and the first span has now a margin-left of 60px while the third span has a margin-left
of 90px.
> How can i achieve it that the margin-left style is applied only to the surrounding div?
Is this a bug or did I misconfigured sth?
> Greets Oli

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message