Issue with DataTable, Chrome and RC1 & RC2 under Linux

UI Components for JSF
Post Reply
Veit
Posts: 14
Joined: 20 Jul 2010, 15:00

18 Nov 2010, 17:36

Hello,

i have a DataTable with a RowSelectListener. It works fine with IE8 and Fifo 3.6 but under Chrome it doesn't fire the event.
It works fine with 2.1 M1 ...i've used it for several weeks with no problems.
Here is the code:

XHTML

Code: Select all

        <h:form>
          <!-- Tabelle -->
          <p:dataTable var="item" value="#{itemListBackingBean.items}" 
                       paginator="true" rows="17" selectionMode="single"
                       selection="#{itemListBackingBean.selectedItem}"
                       rowSelectListener="#{itemListBackingBean.navigateToSelection}"
                       update="display" errorMessage="#{lang.tableErrorMsg}"
                       emptyMessage="#{lang.tableEmptyMsg}"
                       loadingMessage="#{lang.tableLoadMsg}">
            
            <p:column filterBy="#{item.title}">
              <f:facet name="header">
                <h:outputText value="#{lang.qf_itemTitle}"/>
              </f:facet>
              <h:outputText value="#{item.title}" />
            </p:column>

            <p:column filterBy="#{item.cityName}">
              <f:facet name="header">
                <h:outputText value="#{lang.qf_itemCityName}" />
              </f:facet>
              <h:outputText value="#{item.cityName}" />
            </p:column>

            <p:column sortBy="#{item.price}"  filterBy="#{item.price}">
              <f:facet name="header">
                <h:outputText value="#{lang.qf_itemPrice}" />
              </f:facet>
              <h:outputText value="#{item.price}" />
            </p:column>

          </p:dataTable>
        </h:form>
Bean:

Code: Select all

	public String navigateToSelection(SelectEvent event)
	{
		return "/site/content/item/detail.xhtml?faces-redirect=true";
	}
Thanks for your help.

Veit
Posts: 14
Joined: 20 Jul 2010, 15:00

18 Nov 2010, 17:40

Sorry for the repost. Look at this thread

http://primefaces.prime.com.tr/forum/vi ... f=3&t=6045

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 43 guests