primefaces

JSF + jQuery: how to achieve StackOverFlow collapsible comment box

I am creating a Comment-Reply system, similar to stackoverflow and I wonder how to implement it using JSF + jQuery. I have a dataTable, each row have a link and a textBox, and once I click a link, only the textbox on that same row appear, and put focus on that textbox. <h:form id="userComment"> <p:dataTable value="bean.comments"> ...

Using dataTable Primefaces

Hello, I am using the dataTable object of primefaces to display some data and I am having some problems to realize something : I display first a table with only 1 column and I want to display another table filled with data depending on what the user selected on the first one. For that, when the user selects a row in the first table, I...

Dynamically Generate Tabs with PrimeFaces

Hi I would like to iterate over a list of person-object and show the data in a tab per person. I tried: <p:tabView> <ui:repeat ...> <p:tab title="#{expression}> </ui:repeat> </p:tabView> This is not working. Any help appreciated Marcel ...

Ecplise autocomplete primefaces tags

I am using Eclipse to work with PrimeFaces like this: <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:p="http://primefaces.prime.com.tr/ui" template="/template/ui.xhtml"> I saw Bozho question and a...