[SOLVED] Validation messages and in-cell editing

UI Components for JSF
Post Reply
daniel.camargo
Posts: 24
Joined: 22 Oct 2010, 20:00

05 Jan 2011, 20:59

Hi,
I'm trying to display validation messages after checking an in-cell edition.

I've tried to use the dataTable update but it didn't work.

Any suggestion?
Last edited by daniel.camargo on 05 Jan 2011, 23:59, edited 1 time in total.
JSF2 - Primefaces-3.1.RC1

User avatar
tefron
Posts: 94
Joined: 15 Sep 2010, 23:54
Location: Canada
Contact:

05 Jan 2011, 23:36

Have you tried p:ajax updateÉ

i.e.:

Code: Select all

                            <p:column headerText="column name">
                                 <h:inputText value="#{rowItem['name']}" style="width:100%"  >
                                    <p:ajax update=":form1:messages" />
                                </h:inputText>
                            </p:column>
Tamir
PrimeFaces: primefaces-8.0
Mojara2.3
Netbeans8.2
wildfly-17.0.1.Final

daniel.camargo
Posts: 24
Joined: 22 Oct 2010, 20:00

06 Jan 2011, 00:01

I used the onRowEditUpdate property and it worked fine.

Thank you for your help!
JSF2 - Primefaces-3.1.RC1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 39 guests