This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Original status: 1-Dispatched; Suggested Status: NEW Description: Currently hyperlink can accept static text and image as its children. To reproduce: 1. drag and drop a hyperlink from basic section in palette window to the design window. 2. drag and drop a static text from basic section in palette window into the hyperlink. 3. drag and drop a image from basic section in palette window into the hyperlink. observe that both static text and image components are accepted as hyperlink's children.
The component works as designed. Hyperlink can accept text and image as children. In facet, the TLD docs from Project Woodstock has an example that shows hyperlink does support those children. Example 3: Using the body of a hyperlink to render text This example shows how to use other components as children of the hyperlink tag. <webuijsf:hyperlink id="hyperlinktest3" url="http://www.sun.com"> <webuijsf:image url="myyahoo.gif" /> <webuijsf:staticText text="more text" /> </webuijsf:hyperlink>