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.

Bug 94392 - The component disappears from visual page designer when rendered and bound to the bean property.
Summary: The component disappears from visual page designer when rendered and bound to...
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: Winston Prakash
Depends on:
Reported: 2007-02-05 15:26 UTC by bugbridge
Modified: 2007-04-30 19:19 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-05 15:26:01 UTC
Original status: 1-Dispatched; Suggested Status: NEW

Original Target Release: mako_dev; Suggested Target Milestone : Dev

Original submitter: sjangity

This was produced on update 7.

This bug is been posted from the following forum thread.

When I bind property ???rendered??? of a component to a bean???s property , the
component disappears from visual page designer. This makes us hard to see where
the component located on the page and very difficult to layout other components
relative to the one with property ???rendered??? set.

I suggest that these components should be visible at designing stage so we can
lay out other components easily..

xxx@xxxx 2005-04-21 11:49:49 GMT
*** (#1 of 1): 2005-04-21 04:49:49 PDT xxx@xxxx

This is because when the VB expression is evaluated, Insync creates a new
instance of Boolean and returns the value. The default value is false, and so
rendered gets set to false, which makes component become unrendered in the designer.
*** (#1 of 1): 2005-10-09 21:11:00 PDT xxx@xxxx
Comment 1 Peter Zavadsky 2007-03-22 19:07:57 UTC
This is an enhancement.

And also involving more than the designer. First it needs to be solved in the
model somehow, i.e. also to 'jsf render' the componets, which are invisible
Passing to insync first to think about that.

At this moment designer paints only what it gets from the models, and it doesn't
get the invisible components.
Comment 2 _ sandipchitale 2007-03-23 21:43:41 UTC
This could be handled by components design time by showing a ghost rendering 
of the component when the rendered is set to false (?)
Comment 3 Winston Prakash 2007-04-30 19:19:58 UTC
These requires lots changes in the designtime renderer. Changing this to
Enhancement and marking it for future