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 250450 - Support writeable @ComputedProperty
Summary: Support writeable @ComputedProperty
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Html4j (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2015-02-16 15:32 UTC by Jaroslav Tulach
Modified: 2015-07-15 20:07 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Introducing @ComputedProperty(write="methodName") (16.30 KB, patch)
2015-07-03 06:35 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2015-02-16 15:32:45 UTC
knockout.js supports writeable properties
http://knockoutjs.com/documentation/computed-writable.html
but the HTML/Java API @ 1.1 is silent about this possibility. @ComputedProperty always generate read-only property.
Comment 1 Jaroslav Tulach 2015-07-03 06:35:49 UTC
Created attachment 154470 [details]
Introducing @ComputedProperty(write="methodName")
Comment 2 Jaroslav Tulach 2015-07-14 04:51:17 UTC
Unless there are objections I integrate the change tomorrow.
Comment 3 Jaroslav Tulach 2015-07-15 20:07:49 UTC
Integrated as http://hg.netbeans.org/html4j/rev/5ce0aab2c03c and ready to become part of 1.2 release.