Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
115
tabView f:verbatim and facelets
posted

Hi,

I am trying to use tabView in the following manner

<ig:tabView>
    <ig:tabItem>
        <f:verbatim>
            <div style = "background-color:red;">
                <h:outputText/>
                <ig:checkBox/>
            </div>
        </f:verbatim>
    </ig:tabItem>
</ig:tabView>

Note: All  necessary attributes are given proper values.

Here tab appears properly with the div but the components dont appear(h:outputText and ig:checkBox )

And then i looked at the web tab samples in Infragistics site.

Tried the below version

<ig:tabView>
    <ig:tabItem>
              <f:verbatim>
            <div style = "background-color:red;">
            </f:verbatim>

            <h:outputText/>
            <ig:checkBox/>
           
             <f:verbatim>
             </div>        
            </f:verbatim>
    </ig:tabItem>
</ig:tabView>

But this also doesn't work, because Facelets expect the page to follow proper XML standards.

We get error from the SAX parser saying the div is not having /div in proper place.

How can we achieve the output in JSF facelets environment ?

Thanks

Parents Reply Children
No Data