update jar to primefaces 5 general problem

UI Components for JSF
tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

22 Aug 2014, 22:51

1) use code tags to format your code
2) the exception says that there must be a commandLInk with update="username" but i can't see it.
As i said, we can't help without the full code.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

samimvp
Posts: 9
Joined: 17 Aug 2011, 14:45
Location: Amman Jordan

23 Aug 2014, 00:22

tandraschko wrote:1) use code tags to format your code
2) the exception says that there must be a commandLInk with update="username" but i can't see it.
As i said, we can't help without the full code.

I solved the problem ,i unziped primefaces 5 sources , i comment the throw new Ex......
that throws the "Cannot find component with expression" and jar it again
and every thing is ok thanks :)

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

23 Aug 2014, 09:40

LOL
the exception will be throwed because you don't reference components correclty. If this exception won't be throwed and you reference components wrong, e.g. updates won't work.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

samimvp
Posts: 9
Joined: 17 Aug 2011, 14:45
Location: Amman Jordan

25 Aug 2014, 00:58

tandraschko wrote:LOL
the exception will be throwed because you don't reference components correclty. If this exception won't be throwed and you reference components wrong, e.g. updates won't work.
yes i know that the update will not work for the "wrong word" that does not have component and update will be ignored but the "correct word" that have component , the update will work correctly ,

plz to confirm

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

25 Aug 2014, 10:47

Maybe, i didn't try such a weird case because it's a development error which needs to be fixed.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

fer_nov
Posts: 1
Joined: 09 Jan 2014, 17:32

17 Feb 2015, 20:13

Please try to name the table so you can reference with ":"table.itemId
Those msgs are product of the validator bean reference

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 63 guests