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 129940 - Visual web JSF- Image and Labels are not showing when binding using property files
Summary: Visual web JSF- Image and Labels are not showing when binding using property ...
Status: CLOSED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Winston Prakash
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-12 17:44 UTC by nchmouli
Modified: 2008-03-25 08:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot (175.43 KB, image/jpeg)
2008-03-14 06:02 UTC, nchmouli
Details
JSF Source file (1.15 KB, text/xml)
2008-03-14 06:04 UTC, nchmouli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nchmouli 2008-03-12 17:44:22 UTC
When woodstock image or labels are binding using the property files its not rendering in the design time (run time 
working fine), its an issue in NB6.1 Beta and not in NB6.0.1 release.
Comment 1 Peter Zavadsky 2008-03-12 18:37:10 UTC
Hi, could you, please, specify what is not rendered, the property or the entire component?  I suspect it is the result
of the binding which is suppressed by default. Passing there.
If it is something else, please provide more info (steps, log file) and assign back. Thanks.
Comment 2 Winston Prakash 2008-03-13 14:59:08 UTC
What you are seeing is because of this enhancement

http://wiki.netbeans.org/OnDemandBindingAttribute

If you want binding for a particular component, right click
and select create binding.
Comment 3 nchmouli 2008-03-14 06:02:54 UTC
Created attachment 58368 [details]
Screen shot
Comment 4 nchmouli 2008-03-14 06:04:28 UTC
Created attachment 58370 [details]
JSF Source file
Comment 5 nchmouli 2008-03-14 06:17:55 UTC
Hi, I have attached the screen shot and JSF source file. here are the steps that I am doing.

1) Dragging image component in JSF design.
2) Dragging Load Bundle and mapping to Bundle.property file with var name as 'bundleProp'.
3) Created "IMG1=/resources/1.JPG" property in Bundle.property file.
4) For the image components 'url' property i am binding #{bundleProp.IMG1}.

Issue:

Image will be shown in the design time itself In 6.0.1 when you do the same steps as above. BUT in 6.1 Beta its not 
showing in the design time. when I run the project its working fine.

Please let me know if you need any more info or if i am doing wrong.

Regards,
Chandra.
Comment 6 Winston Prakash 2008-03-14 15:02:04 UTC
I see, this is a different issue. I'll take a look at it.
Comment 7 Winston Prakash 2008-03-14 15:18:36 UTC
Yes, I'm able to reproduce the issue. I'll take a look at it.
Comment 8 Winston Prakash 2008-03-14 16:02:20 UTC
Fixed now. It was a stupid mistake. I turned off the Designtime Variable resolving during performance analysis time and
forgot to turn it back on.

Committing 1 file to repository for JSF Components Design-Time Base:
        /Users/winstonp/netbeans/main/visualweb.jsfsupport.designtime/conf/faces-config.xml
Comment 9 Winston Prakash 2008-03-14 20:06:57 UTC
Marking as fixed to be veeified.
Comment 10 _ krystyna 2008-03-14 21:40:13 UTC
Verified in hudson zip build
NetBeans IDE Dev (Build 20080314171418)
Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19
System: Windows XP version 5.1 
Comment 11 nchmouli 2008-03-25 08:31:15 UTC
Verified the fix against devbuild 20080325 and its working fine. closing the issue.