New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SelectOneMenu: RowExpansion value lost #4446

Closed
Gaboros opened this Issue Jan 17, 2019 · 1 comment

Comments

Projects
None yet
3 participants
@Gaboros
Copy link

Gaboros commented Jan 17, 2019

This issue is similar to one I already reported and fixed but now for select one menu: #4138

If the SelectOneMenu is inside a RowExpension and the row is closed the submitted value will be lost on ajax process.

1) Environment

  • PrimeFaces version: 6.2
  • Does it work on the newest released PrimeFaces version? Version? no
  • Does it work on the newest sources in GitHub? no
  • Application server + version: Wildfly-11
  • Affected browsers: ALL

2) Expected behavior

The value should be submitted.

3) Actual behavior

The submitted value will be changed to default ("")

4) Steps to reproduce

  • Select something from an SelectOneMenu which is inside a RowExpension.
  • Close the RowExpension.
  • Process the form.
  • Open the RowExpension.
  • The SelectOneMenu will be empty.
@melloware

This comment has been minimized.

Copy link
Contributor

melloware commented Jan 17, 2019

Nice debugging and fix. I think your changes clean up the code nicely too.

tandraschko added a commit that referenced this issue Jan 17, 2019

@tandraschko tandraschko added the defect label Jan 17, 2019

@tandraschko tandraschko added this to the 7.0 milestone Jan 17, 2019

Gaboros added a commit to Gaboros/primefaces that referenced this issue Feb 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment