Skip to content
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

submittedValue underspecified #434

Closed
eclipse-faces-bot opened this issue Aug 10, 2008 · 14 comments
Closed

submittedValue underspecified #434

eclipse-faces-bot opened this issue Aug 10, 2008 · 14 comments

Comments

@eclipse-faces-bot
Copy link

It seems the get/setSubmittedValue() of javax.faces.component.EditableValueHolder
doesn't prescribe a value in case the submitted value was empty. I encountered
this problem when trying to do a validation of a HtmlSelectOneMenu within the
validator of another component (to achieve a 'required' validation of the menu
depending on the value of the validated component).

The MyFaces implementation sets the value of the HtmlSelectOneMenu in this case
to a
NOTHING object from the org.apache.myfaces.shared_impl.renderkit.RendererUtils
class, which seems to be legal according to the specification.

However, if I have to check against this special value, my code isn't portable
between different JSF implementations. So I believe the specification has to
define how this case will be handled.

Environment

Operating System: All
Platform: All

Affected Versions

[2.0]

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Reported by olibecker

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Was assigned to javaserverfowner

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
kito75 said:
EGEasy5

Unless I'm mistaken, this really just requires tightening the spec.

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
Prepare to delete api subcomponent

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
cat1

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
lifecycle

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
javadoc

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
Fixed

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@edburns said:
These are valid 2.0 Rev a issues

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
rogerk said:
changelog

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
Marked as fixed on Monday, June 21st 2010, 9:49:52 am

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
@manfredriem said:
Closing resolved issue out

@eclipse-faces-bot
Copy link
Author

@glassfishrobot Commented
This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-434

@eclipse-faces-bot
Copy link
Author

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

No branches or pull requests

2 participants