This content has been marked as final.
Show 2 replies
-
1. Re: Using datafilterslider
ilya_shaikovsky Aug 22, 2007 5:21 AM (in response to alexrozario)please explore the live demo example from the beginning.
-
2. Re: Using datafilterslider
alexrozario Aug 22, 2007 7:03 AM (in response to alexrozario)thank you ilya
thank you for your response.
I have tried that but i cant understand.
please help me.
i will post my coding here.
and please make me aware where i made mistake..<a4j:form id="form1" reRender="table-body" ignoreDupResponses="true" requestDelay="100"> <a4j:region id="stat1"> <a4j:outputPanel id="slider-body"> <rich:dataFilterSlider for="prodList" forValRef="makeList.list[pro.tblProductsCollection]" filterBy="getRating" manualInput="true" onSlide="true" onChange="true" storeResults="true" trackStyleClass="track" width="100px" styleClass="slider-container" startRange="0" endRange="10" increment="1" rangeStyleClass="range" trailer="true" trailerStyleClass="trailer" handleStyleClass="handle" handleValue="9" id="slider_rating"> </rich:dataFilterSlider> </a4j:outputPanel> <a4j:outputPanel id="table-body"> <rich:dataTable width="483" id="prodList" rows="10" columnClasses="col" value="#{makeList.list[pro.tblProductsCollection]}" var="category"> <h:column> <h:outputText value="#{category.productId}" /> </h:column> .. .. .. <h:column> <h:outputText value="#{category.rating}" /> </h:column> </rich:dataTable> </a4j:outputPanel> </a4j:region> </a4j:form>
Note : here i get list as an collection so i used makelist to convert them. and it works fine and displays the result. thats not a problem at all.
And in my session class i have a function which will make this list in the beginning itself@Begin(join=true) public void selectProduct() { if (id != null) { pro = em.find(TableProduct.class, id); }}
here the id is from the previous page and so it retrieves the product details and sends to the display page..
NOTE: Other than DataFilterSlider everything is works fine in my codings..
Can you please help me.
What should i do now.
please help me.
thank you,
by
Alex