This content has been marked as final.
Show 4 replies
-
1. Re: Richfaces4 components are not displayed
ppitonak Nov 9, 2012 6:11 AM (in response to polofan)Hi Peter,
I cannot see attached picture, could you please fix that?
Regards,
Palo
-
2. Re: Richfaces4 components are not displayed
polofan Nov 9, 2012 8:18 AM (in response to ppitonak) -
3. Re: Richfaces4 components are not displayed
ppitonak Nov 9, 2012 9:17 AM (in response to polofan)Can you see any JavaScript/missing resources errors in browser console? Do you have <h:head> in your xhtml file?
You copied code from Showcase, please try code below.
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:rich="http://richfaces.org/rich" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:head/> <h:body> <rich:tabPanel switchType="client"> <rich:tab header="tab1">tab1</rich:tab> <rich:tab header="tab2">tab2</rich:tab> </rich:tabPanel> </h:body> </html>
-
4. Re: Richfaces4 components are not displayed
polofan Nov 10, 2012 3:13 AM (in response to ppitonak)ah yes you were right! I had an <ui:composition> tag around the panel like in the code of the showcase example. Without this tag it works, thank you all