Issue Details (XML | Word | Printable)

Key: JAVASERVERFACES_SPEC_PUBLIC-539
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Ed Burns
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
javaserverfaces-spec-public

UIComponent.getNamingContainer() and prependId

Created: 02/Apr/09 02:54 AM   Updated: 24/Jan/14 08:55 PM   Resolved: 24/Jan/14 08:55 PM
Component/s: Components/Renderers
Affects Version/s: 2.2 Sprint 8
Fix Version/s: 2.2

Time Tracking:
Not Specified

Environment:

Operating System: All
Platform: Macintosh


Issuezilla Id: 539
Status Whiteboard:

cat2 javadoc size_small importance_small

Tags:
Participants: Ed Burns, Hanspeter Duennenberger and rogerk


 Description  « Hide

The current spec for the new method UIComponent.getNamingContainer() does not take into account
whether or not the naming container has a prependId=false attribute. It would be nice to have another
method on UIComponent that does take this attribute into account.



Ed Burns added a comment - 24/Sep/09 09:13 AM

Move to unscheduled target milestone


Ed Burns added a comment - 24/Nov/09 07:48 AM

Prepare to delete "spec" subcomponent.


rogerk added a comment - 05/Mar/10 07:45 AM

cat2


Ed Burns added a comment - 17/Mar/10 02:01 PM

javadoc


Ed Burns added a comment - 15/May/10 07:54 AM

These are targeted at 2.1.


rogerk added a comment - 18/Jun/10 03:01 AM

triage


Ed Burns added a comment - 22/Jun/10 09:04 PM

rogerk


rogerk added a comment - 27/Oct/10 12:22 PM

triage - api


rogerk added a comment - 16/Nov/10 12:28 PM

triage


Hanspeter Duennenberger added a comment - 12/Aug/11 08:43 PM

my 2 cents:

UIComponent.getNamingContainer() must deliver closest ancestor NamingContainer independent of prependId true or false. It's the matter of the NamingContainer with prependId attribute to handle that right, no matter for any component looking up closest ancestor NamingContainer.

But it might be nice to have a method UIComponent.getUniqueIdVendor() - which would return closest ancestor UniqueIdVendor that does not have prependId set to false. That could replace UniqueIdVendor lookups in several TagHandler and components.