Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jaber C. Mourad
icefaces portlet trouble in rendering tabs
July 15, 2010 6:09 AM
Answer

Jaber C. Mourad

Rank: Junior Member

Posts: 89

Join Date: February 19, 2010

Recent Posts

Hi,

I'm trying to solve an issue in a portlet build with icefaces 1.8.2 on liferay 6.0.2.

All works perfectly but tabs render is exploded, with grey space between different parts of tab.

I attach a screen shot.

The code :
 1<ice:portlet xmlns="http://www.w3.org/1999/xhtml"
 2             xmlns:ui="http://java.sun.com/jsf/facelets"
 3             xmlns:ice="http://www.icesoft.com/icefaces/component"
 4             >
 5   <ice:outputStyle href="/xmlhttp/css/rime/rime-portlet.css" />
 6   <ice:form >
 7         <ice:panelTabSet>
 8            <ice:panelTab label="tab1">
 9               <ice:outputText value="Body Personnes"/>
10            </ice:panelTab>
11            <ice:panelTab label="tab2">
12                 <ice:outputText value="Body Other"/>
13            </ice:panelTab>
14         </ice:panelTabSet>
15   </ice:form>
16</ice:portlet>


Is there something wrong with it ?

Regards
Attachment

Attachments: lf6_tabs.png (3.4k)
Nitin Sharma
RE: icefaces portlet trouble in rendering tabs
August 3, 2010 1:54 PM
Answer

Nitin Sharma

Rank: New Member

Posts: 7

Join Date: March 26, 2009

Recent Posts

Did you get any solution for this?
Jaber C. Mourad
RE: icefaces portlet trouble in rendering tabs
September 13, 2010 5:31 AM
Answer

Jaber C. Mourad

Rank: Junior Member

Posts: 89

Join Date: February 19, 2010

Recent Posts

Unfortunately not yet emoticon

During that time, I migrate to lf 6.0.5, but nothing better !

Have you got the same problem or any idea to solve that issue ?

Regards
Salvador Lopez
RE: icefaces portlet trouble in rendering tabs
September 15, 2010 1:57 PM
Answer

Salvador Lopez

Rank: New Member

Posts: 1

Join Date: June 21, 2010

Recent Posts

Hi , i was having exactly the same problem but using icefaces with facelets, i was not using portlets but the problem was exactly the same, i found a workarround at the icefaces forums,

http://www.icefaces.org/JForum/posts/list/11293.page

code below caused problems

1<ice:outputDeclaration doctypeRoot="HTML"
2     doctypePublic="-//W3C//DTD XHTML 1.0 Strict//EN"
3     doctypeSystem="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />


code below worked fine for me

1
2<ice:outputDeclaration doctypeRoot="HTML"                       doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"                        doctypeSystem="http://www.w3.org/TR/html4/loose.dtd" />


hope it helps
William Gosse
RE: icefaces portlet trouble in rendering tabs
September 17, 2010 8:54 AM
Answer

William Gosse

Rank: Expert

Posts: 276

Join Date: July 4, 2010

Recent Posts

I tried this but it doesn't seem to fix this issue in a portlet
Jaber C. Mourad
RE: icefaces portlet trouble in rendering tabs
October 18, 2010 6:40 AM
Answer

Jaber C. Mourad

Rank: Junior Member

Posts: 89

Join Date: February 19, 2010

Recent Posts

Hi,

It is normal because it is main template which control document type so you need to modify the template if you want to modify headers of the full page...

I think that issue is due to the html5 doctype in liferay, I had some issues when switching from xhtml to html5 with an other web site...

I haven't test to going back to xhtml or html 4, but for that i need to create a new template !

Regards
Olli Puljula
RE: icefaces portlet trouble in rendering tabs
January 29, 2011 6:07 PM
Answer

Olli Puljula

Rank: New Member

Posts: 7

Join Date: May 11, 2010

Recent Posts

See this hotfix.
Jan Eerdekens
RE: icefaces portlet trouble in rendering tabs
February 18, 2011 2:13 AM
Answer

Jan Eerdekens

Rank: New Member

Posts: 15

Join Date: January 20, 2011

Recent Posts

Setting "display: none" on the elements you mention only partly solve the problem for me. It rectifies the 'exploded' state of the tabs, but I'm still missing the top line of the tab content.
Jan Eerdekens
RE: icefaces portlet trouble in rendering tabs
February 18, 2011 5:50 AM
Answer

Jan Eerdekens

Rank: New Member

Posts: 15

Join Date: January 20, 2011

Recent Posts

This set of CSS overrides does the trick for me (it is not 100%, but close enough):

 1
 2.LftTop, .MidTop, .RtTop {
 3    height: 2px;
 4}
 5
 6.LftTop img, .MidTop img, .RtTop img, .LftBtm img, .MidBtm img, .RtBtm img {
 7    display: none;
 8}
 9
10table.icePnlTbSet {
11    width: auto;
12}
13table.icePnlTbSet table {
14    width: 100%;
15}
16
17.icePnlTb {
18    border-bottom: 1px solid #ABABAB;
19}
20
21.icePnlTb .icePnlTbOff .MidMid a, .icePnlTb .icePnlTbOn .MidMid a, .icePnlTb .icePnlTbOver .MidMid a {
22    padding-top: 0;
23}
Florian Huber
RE: icefaces portlet trouble in rendering tabs
June 9, 2011 8:07 AM
Answer

Florian Huber

Rank: Junior Member

Posts: 29

Join Date: March 23, 2011

Recent Posts

thanks ;)