Community
Participate
Working Groups
Composite component defined in the resources folder is not being recognized when used in a xhtml page. Steps: 1) In a new workspace, create a DWP with JSF 2.0 facet 2) Create index.xhtml under the WebContent fodler 3) Create resources\ezcomp folder under the WebContent folder 4) Create testComponnet.xhtml under resources\ezcomp folder 5) Open index.xhtml in the WPE 6) In the source view, in the html tag, type 'xmlns:ez=' and gesture for content assist. Expected: http://java.sun.com/jsf/composite/ezcomp Result: The namespace is not listed. Workaround: 1) Open the Tag Registry View 2) Select the current project 3) In the tree view, expand the "Facelt Tag Registry' node. Note that the namespace for the ezcomp library is not displayed. 4) Hit the refresh icon next to the project. Select Yes in the resulting dialog 5) The namespace for excomp is displayed
Created attachment 168606 [details] Adds tracking of resources folder when it is added and deleted
Created attachment 168607 [details] Test coverage for changes
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. Locating composite components is a key feature of the JSF 2.0 support in Helios. The use case in the description one likely path for the user to define a cusitm component. This bug will break that feature and hence is a stop-ship defect. * Is there a work-around? If so, why do you believe the work-around is insufficient? No reasonable workaround * How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? New Junit test to cover this use case is included * Give a brief technical overview. Who has reviewed this fix? See description. * What is the risk associated with this fix? low-medium
Patches applied to HEAD (3.2RC2).