Multiple ditors inside a tabview

UI Components for JSF
Post Reply
scarsix06d
Posts: 18
Joined: 04 May 2011, 20:49

29 Oct 2011, 02:02

hi!!!

I'm trying to insert a editor in a diferent tabs views but I have a problem.

The first tab render fine, but the another tabs doesn't it... and renders it like a simple text area...


Code: Select all

				<p:tabView>
							<p:tab title="#{bundle['page.tr.seed.descriptionL']}">
								<div id="descriptionDiv" class="LV_invalid" />
								<p:outputPanel autoUpdate="true">
									<p:editor value="#{seedBean.seed.description}"
										widgetVar="desEditor" id="description" width="600" />
								</p:outputPanel>
							</p:tab>
							<p:tab title="#{bundle['page.tr.seed.contentL']}">
								<div id="contentDiv" class="LV_invalid" />
								<p:outputPanel autoUpdate="true" layout="block">
									<p:editor value="#{seedBean.seed.content}" 
										widgetVar="contEditor" id="content" width="600"/>
								</p:outputPanel>
							</p:tab>
							<p:tab title="#{bundle['page.tr.seed.methodologyL']}">
								<div id="methodologyDiv" class="LV_invalid" />
								<p:outputPanel autoUpdate="true" layout="block">
									<p:editor value="#{seedBean.seed.methodology}"
										widgetVar="metEditor" id="methodology" width="600"/>
								</p:outputPanel>
							</p:tab>
							<p:tab title="#{bundle['page.tr.seed.entryRequerimentsL']}">
								<div id="entryRequerimentsDiv" class="LV_invalid" />
								<p:outputPanel autoUpdate="true" layout="block">
									<p:editor value="#{seedBean.seed.entryRequeriments}"
										id="entryRequeriments" widgetVar="reqEditor"
										width="600" />
								</p:outputPanel>
							</p:tab>
						</p:tabView>

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests