Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Closed Closed
Resolution: Works as designed
Priority: Major Major
Assignee: Manfred Riem
Reporter: luciano_deriu
Votes: 3
Watchers: 4

If you were logged in you would be able to see more operations.

Resources not loaded when using a dynamic ui:inlclude and rendered via ajax

Created: 01/Apr/11 01:05 PM   Updated: 09/Jan/14 05:13 PM   Resolved: 16/Oct/13 04:31 PM
Component/s: facelets
Affects Version/s: 2.1.0
Fix Version/s: 2.2.5

Time Tracking:
Not Specified

File Attachments: 1. Text File 20120202-1529-i_mojarra_2016_reproducer.patch (32 kB) 02/Feb/12 08:30 PM - Ed Burns
2. File message.tiff (118 kB) 02/Feb/12 05:26 PM - Ed Burns
3. Zip Archive (84 kB) 27/Apr/12 11:48 AM - jorelia
4. Zip Archive (50 kB) 14/Mar/12 11:32 AM - jorelia
5. File Test.war (5.81 MB) 01/Apr/11 01:05 PM - luciano_deriu


Windows 7, JBoss AS 6, Richfaces 4.0.0 Final, JSF2

Issue Links:

Status Whiteboard:

size_medium importance_large

Tags: JSF2 ajax dynamic resource_loading ui_Include
Participants: Ed Burns, gus.ehr, jorelia, luciano_deriu, Manfred Riem and rogerk

 Description  « Hide

I'm migrating my project from JSF 1.2 to JSF2.1 and I was using a <ui:include src="#{guiMB.viewID}" /> tag wrapped in a <a4j:outputPanel> tag (from RichFaces) and rendering the a4j:outputPanel via ajax. However in JSF2 this doesn't load the resources for the page i'm including.

So anything i include dynamically like this doesn't have any of the styling or javascript that should be loaded with it.

I have created a test project which demonstrates the issue so i'll attach for you to replicate the issue.