From jira-events at lists.jboss.org Mon Nov 28 09:41:41 2011
Content-Type: multipart/mixed; boundary="===============9207638336593725029=="
MIME-Version: 1.0
From: =?utf-8?q?Luk=C3=A1=C5=A1_Fry=C4=8D_=28Commented=29_=28JIRA=29_=3Cjira-ev?=
=?utf-8?q?ents_at_lists=2Ejboss=2Eorg=3E?=
To: richfaces-issues at lists.jboss.org
Subject: [richfaces-issues] [JBoss JIRA] (RF-11694) RF4 : Bad rendering on
rich:dataTable inside ui:include enclosed in a rich:tabPanel
Date: Mon, 28 Nov 2011 09:41:41 -0500
Message-ID: <1582432131.46978.1322491301771.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com>
In-Reply-To: 187546568.8861.1321376800960.JavaMail.tomcat@jira02.app.mwc.hst.phx2.redhat.com
--===============9207638336593725029==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
[ https://issues.jboss.org/browse/RF-11694?page=3Dcom.atlassian.jira.pl=
ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12645970#com=
ment-12645970 ] =
Luk=C3=A1=C5=A1 Fry=C4=8D commented on RF-11694:
---------------------------------
Hi Jean, I think you are facing issues with ajax loaded components and thei=
r resources.
The problem is that {{rich:tab}}s are loading resources (CSS/JS) for compon=
ents in initial page, but due to JSF issues, they can't be loaded when thes=
e components aren't known in initial state of component tree.
This might be the case of components under dynamic {{c:forEach}}.
The workaround is to render resources to the initial page,
basically you need to get following links rendered to the page:
{code}
{code}
These are workarounds which I propose (haven't tried, please let me know wh=
ich works):
* use {{}} with {{style=3D"display:none"}} (also {{rendered=
=3D"false"}} could work)
* use {{}} and {{}}
* use aggregated (packed) resources feature (resources for all components w=
ill be rendered by default, see [1])
[1] http://docs.jboss.org/richfaces/4.1.X/4.1.0.CR1/Developer_Guide/en-US/h=
tml/chap-Developer_Guide-Advanced_features.html#sect-Developer_Guide-Advanc=
ed_features-Resource_loading_strategies
=
> RF4 : Bad rendering on rich:dataTable inside ui:include enclosed in a ric=
h:tabPanel
> -------------------------------------------------------------------------=
----------
>
> Key: RF-11694
> URL: https://issues.jboss.org/browse/RF-11694
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see) =
> Components: component-tables
> Affects Versions: 4.0.0.Final
> Environment: Websphere 8 - RAD 8 - JSF Mojorra 2.1.4 - Spring 3.0=
.6 Final - Use @Inject @Named @SessionScoped as annotations - Firefox 7.0.1=
- Windows 7 (6.1 sp1)
> Reporter: Jean ANDRE
> Fix For: 4.Future
>
> Attachments: After F5 Key.jpg, Newly dynamic tab.jpg, Screen at t=
he beginning....jpg
>
>
> The rich:dataTable is not rendering with CSS style when the dataTable is =
inside a separate file (ui:include src=3D....) during the ajax rendering on=
a dynamic insert of rich:tab.
> The error does not appear when the content of the include file is directl=
y moved inside the final page, I mean without ui:include.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrato=
rs: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
=
--===============9207638336593725029==--