-
Notifications
You must be signed in to change notification settings - Fork 55
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
Discrepancy of client-ID, prependID and findComponent #573
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented |
|
see https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1153
Creating a form with prependId="false" will lead to client-IDs of child components of this form where the
path to be passed to findComponent() being different then the client-ID.
This leads to confusion, especially now with compositecomponents and f:ajax where referencing
components outside of the same namingcontainer will be used more often.
This could for example be solved by making the form not behave like a namingcontainer in
findComponent() if prependId == false.
Environment
Operating System: All
Platform: All
URL: https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1153
Affected Versions
[2.1]
The text was updated successfully, but these errors were encountered: