pe:fluidGrid update only pe:fluidGridItem

Community Driven Extensions Project
Post Reply
vished
Posts: 478
Joined: 02 Feb 2014, 17:38

28 Sep 2021, 12:53

Hi,

I would like to update only the content for the current pe:fluidGridItem

Code: Select all

<pe:fluidGrid
								value="#{picAlbumForPortalShowController.picPictureList}"
								var="picPicture" fitWidth="true" hasImages="true">

								<pe:fluidGridItem>


									<div class="containerOverlayImage">

										<p:commandLink resetValues="true"
											actionListener="#{actionPicPicturePortalEditController.doOpen(picPicture)}"
											oncomplete="PF('detailPictureDialog').show()"
											update=":detailPictureDialogForm">

											<p:graphicImage name="no-photo-icon.png" library="images"
												styleClass="imageOverlay"
												style="#{sessionPicGalleryPortalController.galleryTemplateGeneral.pictureSetting.createCssCode(sessionPicGalleryPortalController.galleryTemplateGeneral.pictureSetting)} #{picPicture.tempSelected ? 'border: 5px solid' : ''}" />

										</p:commandLink>

										<div class="overlayForImage">
											<p:commandButton icon="fa fa-plus" immediate="true"
												process="@this" 
												update=":growl, @parent:@parent
												actionListener="#{picAlbumForPortalShowController.doChoosePicture(picPicture)}"/>
											<div class="EmptyBox5"></div>
										</div>

									</div>



								</pe:fluidGridItem>
But currently it seems it it updated the whole pe:fluidGridItem.
Any ideas?
PF 8.0

Melloware
Posts: 2878
Joined: 22 Apr 2013, 15:48

28 Sep 2021, 14:27

I don;t think its possible. The way FluidGrid is designed its for the whole grid to update. You could try putting p:outputPanel inside your fluidGridItem and updating that instead of the fluidGridItem?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 10.0.7 / PF Extensions 10.0.6

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests