-
1. Re: Image in SimpleTogglePanel label
ilya_shaikovsky Nov 28, 2007 8:15 AM (in response to kaviarasu)use f:facet with name = header
-
2. Re: Image in SimpleTogglePanel label
kaviarasu Nov 28, 2007 9:44 AM (in response to kaviarasu)<rich:simpleTogglePanel headerClass="myClass" opened="false" switchType="client" style=" width : 700px;">
<f:facet name="header">
<h:graphicImage value="img/ques.gif"></h:graphicImage>
<h:outputText value="#{f.threadTitle} by #{f.userId} on #{f.threadDate} "></h:outputText>
</f:facet>
<s:formattedText value="#{f.threadMessage}" />
</rich:simpleTogglePanel>
hi i tried like as u said but the value in output text is displaying but the image is not displaying
how to achive it
thank u regards
kavi arasu -
3. Re: Image in SimpleTogglePanel label
fmarwede Nov 28, 2007 10:58 AM (in response to kaviarasu)Try to put a div around the text and the image so you have only one direct child in your header.
-
4. Re: Image in SimpleTogglePanel label
kaviarasu Nov 29, 2007 12:36 AM (in response to kaviarasu)[img]D:\/mage_nM.PNG[/img]
Hi added the DIV tag but the resukt i got is just a line insted on the label<rich:simpleTogglePanel headerClass="myClass" opened="false" switchType="client" style=" width : 700px;"> <f:facet name="header"> <div> <h:graphicImage value="img/ques.gif"></h:graphicImage> <h:outputText value="#{f.threadTitle} by #{f.userId} on #{f.threadDate} "></h:outputText> </div> </f:facet> <s:formattedText value="#{f.threadMessage}" /> </rich:simpleTogglePanel>
-
5. Re: Image in SimpleTogglePanel label
ilya_shaikovsky Nov 29, 2007 10:04 AM (in response to kaviarasu)use JSF component(h:panelGroup) instead of html element.
-
6. Re: Image in SimpleTogglePanel label
kaviarasu Nov 30, 2007 12:18 AM (in response to kaviarasu)Thanks it worked
Regards
Kaviarasu -
7. Re: Image in SimpleTogglePanel label
kaviarasu Nov 30, 2007 12:18 AM (in response to kaviarasu)Thanks it worked
Regards
Kaviarasu