[JBoss JIRA] (RF-13758) RF 4.5 with MyFaces, CSS not loaded
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13758?page=com.atlassian.jira.plugin.s... ]
Brian Leathem reopened RF-13758:
--------------------------------
> RF 4.5 with MyFaces, CSS not loaded
> -----------------------------------
>
> Key: RF-13758
> URL: https://issues.jboss.org/browse/RF-13758
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Matej Novotny
> Assignee: Michal Petrov
> Priority: Critical
> Labels: myfaces, needs-qe
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> When you use MyFaces as JSF implementation, RF fail to get CSS files hence the components are displayed as plain text.
> I tried this (among others) with simpleapp which I modified by adding a simple rich:panel. With Mojarra the css for panel was received and panel was displayed correctly. Then I modified pom.xml to use MyFaces. The app can be deployed but the panel is just a plain text and page contains no css for styling.
> This can be reproduced with Metamer/simpleapp/showcase.
> Please see steps to reproduce for reproducers with Metamer and simpleapp.
> Showcase reproducer is more complicated due to RF-13757.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 3 months
[JBoss JIRA] (RF-13758) RF 4.5 with MyFaces, CSS not loaded
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13758?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13758:
------------------------------------
Thanks for the anaylsis [~lfryc]. [~michpetrov] please proceed with checking whether an alternate solution can be found. I'll re-open this issue to better track the effort.
> RF 4.5 with MyFaces, CSS not loaded
> -----------------------------------
>
> Key: RF-13758
> URL: https://issues.jboss.org/browse/RF-13758
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Matej Novotny
> Assignee: Michal Petrov
> Priority: Critical
> Labels: myfaces, needs-qe
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> When you use MyFaces as JSF implementation, RF fail to get CSS files hence the components are displayed as plain text.
> I tried this (among others) with simpleapp which I modified by adding a simple rich:panel. With Mojarra the css for panel was received and panel was displayed correctly. Then I modified pom.xml to use MyFaces. The app can be deployed but the panel is just a plain text and page contains no css for styling.
> This can be reproduced with Metamer/simpleapp/showcase.
> Please see steps to reproduce for reproducers with Metamer and simpleapp.
> Showcase reproducer is more complicated due to RF-13757.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 3 months
[JBoss JIRA] (RF-11174) [rich:extendedDataTable] attribute "width" of columns should support percent values instead of only accepting px values
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-11174?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-11174:
------------------------------------
Thanks for the patch [~dmitry.olyenyov]! Have you checked that your patch works in all the corner cases, eg. scrolling, frozen columns, container resizing, etc.?
> [rich:extendedDataTable] attribute "width" of columns should support percent values instead of only accepting px values
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: RF-11174
> URL: https://issues.jboss.org/browse/RF-11174
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 4.0.0.Final
> Reporter: Rene O
> Fix For: 5-Tracking
>
> Attachments: width-fix-updated.diff, width-fix.diff
>
>
> Currently you can only define the width of a column inside the rich:extendedDataTable like this:
> <rich:column width="120px" ...
> But it should also be possible to define it like this:
> <rich:column width="30%" ...
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 3 months
[JBoss JIRA] (RF-13758) RF 4.5 with MyFaces, CSS not loaded
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13758?page=com.atlassian.jira.plugin.s... ]
Michal Petrov commented on RF-13758:
------------------------------------
The major issue is that resources are being served as {{URLResource}} instead of {{CompiledCSSResource}}, which I assume is the proper one for css/ecss files. (CompiledCSSResource is created if the resource isn't found by the mapping factory which is why I deleted that line).
With URLResource libraryName and resourceName are both null. Mojarra doesn't mind but MyFaces will mark "null" as a rendered resource and so no URLResource will be rendered after the first one. On top of that there is a bug in MyFaces where scripts are being entered into the stylesheet map (which shouldn't matter, except when the resourceName is null), so that makes all scripts render, but no stylesheets.
I guess it will work with just URLResources but currently those are marked as being rendered right after they're created - based on a resourceKey, so it doesn't affect the null values. I'll check if that can be changed.
> RF 4.5 with MyFaces, CSS not loaded
> -----------------------------------
>
> Key: RF-13758
> URL: https://issues.jboss.org/browse/RF-13758
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Matej Novotny
> Assignee: Michal Petrov
> Priority: Critical
> Labels: myfaces, needs-qe
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 4 hours
> Remaining Estimate: 4 hours
>
> When you use MyFaces as JSF implementation, RF fail to get CSS files hence the components are displayed as plain text.
> I tried this (among others) with simpleapp which I modified by adding a simple rich:panel. With Mojarra the css for panel was received and panel was displayed correctly. Then I modified pom.xml to use MyFaces. The app can be deployed but the panel is just a plain text and page contains no css for styling.
> This can be reproduced with Metamer/simpleapp/showcase.
> Please see steps to reproduce for reproducers with Metamer and simpleapp.
> Showcase reproducer is more complicated due to RF-13757.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 3 months
[JBoss JIRA] (RF-13761) Upgrade jQuery to 1.11.1+
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13761?page=com.atlassian.jira.plugin.s... ]
Michal Petrov resolved RF-13761.
--------------------------------
Resolution: Done
I've copied the browser detection from atmosphere to richfaces.js. We only use the detection for IE though, some of the checks might be outdated.
> Upgrade jQuery to 1.11.1+
> -------------------------
>
> Key: RF-13761
> URL: https://issues.jboss.org/browse/RF-13761
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Cody Lerum
> Assignee: Michal Petrov
> Fix For: 4.5.0.Beta1
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> RF should include a more recent version of jQuery for compatibility reasons.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 3 months