This content has been marked as final.
Show 10 replies
-
1. Re: ModelPanel and fieldset
ilya_shaikovsky Apr 17, 2009 5:08 AM (in response to ipraveenjain)<ui:inlcude>
what about this unclosed tag and without src? ;) -
2. Re: ModelPanel and fieldset
ipraveenjain Apr 17, 2009 5:36 AM (in response to ipraveenjain)forget about <ui:include> tag , it is not using
-
3. Re: ModelPanel and fieldset
ilya_shaikovsky Apr 17, 2009 5:39 AM (in response to ipraveenjain)please paste full modal panel code one more time. And use please code forum tag in order to make it clear.
-
4. Re: ModelPanel and fieldset
ipraveenjain Apr 17, 2009 5:48 AM (in response to ipraveenjain)hi below is code
<fieldset><legend>Example</legend> <t:selectOneRadio id="sor134" value="SI" layout="pageDirection" style="font-weight:bold; background-color:#99CCFF;"> <f:selectItem id="si1134" itemLabel="Samsung2" itemValue="sa" /> <f:selectItem id="si2134" itemLabel="Link" itemValue="lo" /> <f:selectItem id="si3134" itemLabel="Logitech" itemValue="lg" /> <f:selectItem id="si4134" itemLabel="BenQ" itemValue="bq" itemDisabled="true" /> </t:selectOneRadio> </fieldset>
-
5. Re: ModelPanel and fieldset
ilya_shaikovsky Apr 17, 2009 7:32 AM (in response to ipraveenjain)checked within demosite. fileldset included fine to modal and all the nested content rendered inside fine. JSF RI + Facelets + RF 3.3.1 snapshot.
-
6. Re: ModelPanel and fieldset
ipraveenjain Apr 17, 2009 7:53 AM (in response to ipraveenjain)this is my modelpanel
<rich:modalPanel id="panelNewUser" width="550" height="400" styleClass="wizardModalPanel" resizeable="false"> <f:facet name="header"> <h:panelGroup> <h:outputText value="GridBank User Wizard"></h:outputText> </h:panelGroup> </f:facet> <f:facet name="controls"> <h:panelGroup> <h:graphicImage value="/images/modal/close.png" style="cursor:pointer" id="hideUserWizard" /> <rich:componentControl for="panelNewUser" attachTo="hideUserWizard" operation="hide" event="onclick" /> </h:panelGroup> </f:facet> <jsp:include page="/pages/wizards/NewUserWizard.jsp" /> </rich:modalPanel>
and this is my included page<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%> <%@ taglib uri="http://www.zkoss.org/jsf/zul" prefix="z"%> <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%> <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%> <t:panelGrid columns="1" style="background: #757575;" rendered="#{mainBind.createPoolWizard.slideIndex == 7}"> <t:column> <h:selectBooleanCheckbox id="shrd"></h:selectBooleanCheckbox> <h:outputLabel value="Shredding Management"></h:outputLabel> </t:column> <t:column> <h:selectBooleanCheckbox id="def"></h:selectBooleanCheckbox> <h:outputLabel value="Defragmentation Management"></h:outputLabel> </t:column> <fieldset><legend>Quota Management</legend> <input type="checkbox"> <label>Apply the whole storage Virtual pool Maximum storage capacity as this pool's permitted quota limit</label> <br /> <label>Permitted maximum user quota (GB)</label> <input type="text"> </fieldset> <br /> <t:column> <t:outputLabel value="Remaining pool capacity before alert is raised"></t:outputLabel> <t:inputText value="{remcap}"></t:inputText> <t:outputText value="%"></t:outputText> </t:column> </t:panelGrid>
if i use
<t:outputLabel> or <t:inputText> in place of and <input--> tag
they will appear outside the frame.
i dont know why and how to sove the issue. -
7. Re: ModelPanel and fieldset
ilya_shaikovsky Apr 17, 2009 8:09 AM (in response to ipraveenjain)wrap the fieldset with f:verbatim.
-
8. Re: ModelPanel and fieldset
ilya_shaikovsky Apr 17, 2009 8:10 AM (in response to ipraveenjain)in any way it isn't related to modal panel anyhow.
-
9. Re: ModelPanel and fieldset
ipraveenjain Apr 17, 2009 8:19 AM (in response to ipraveenjain)thanks
it solves my problem.
what does <f:verbatim> do?
and where i can use it? -
10. Re: ModelPanel and fieldset
ilya_shaikovsky Apr 17, 2009 8:41 AM (in response to ipraveenjain)I have no problem because of facelets using. In JSP plain html should be wrapped to verbatim to avoid such problems.