Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
JSF Portlet forms failing to save on linux
Hi
I am using Liferay 7.1 ga1
I created JSF Project
using primefaces 6.2.
The project is working fine and saving
records in localhost.
I tried to shift application on test
server on Linux using WinSCP and Putty.
The project is deployed
successfully and displaying data from database.
When i enter
new record it doesn't save that and always go back to main page when i
click Save Button.
Client side validations are also not
displaying when i submit empty form. these all issues came when i put
the project on live server.
I also attached a file having two
picture one is captured on live server and another one is on
localhost
picture of localhost showing age input as 2.7 that is
calculated from bean on method call by selecting date.
but live
server doesn't do the above thing. other picture show the input
empty.
Kindly give some solution to this.
Thanks
Attachments:
Hi Ehtisham,
Without more information, we can only guess at
what the problem is. That being said, this sounds like some kind of
classpath issue where javax.validation.* API classes are
not on the classpath and validation is failing silently because of it
(for example: LPS-84428, LPS-85295, LPS-84579).
However, we need more information such as:
- Liferay Fix Pack version (for both remote and localhost).
- Liferay App Server name and version (for both remote and localhost).
- The simplest sample portlet that reproduces the issue.
- Kyle