Bug 209356 - Advanced tab on properties view should have Nillable option
Summary: Advanced tab on properties view should have Nillable option
Status: CLOSED FIXED
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xsd (show other bugs)
Version: 2.0.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M5   Edit
Assignee: Keith Chong CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2007-11-09 11:40 EST by David Carver CLA
Modified: 2008-02-04 12:38 EST (History)
2 users (show)

See Also:


Attachments
Add Nillable as Advance option for Elements (3.49 KB, patch)
2007-11-10 23:44 EST, David Carver CLA
no flags Details | Diff
Updated - Add Nillable as an Advanced Option (4.61 KB, patch)
2007-11-11 09:00 EST, David Carver CLA
no flags Details | Diff
Updated patch (7.10 KB, patch)
2008-01-09 20:13 EST, Keith Chong CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Carver CLA 2007-11-09 11:40:10 EST
When using the graphical designer, the advanced tab on the properties view should have an option to set the nillable attribute of an <xsd:element> tag.   It currently has all other options, except for the nillable option.

This might be a good candidate for bugday.
Comment 1 David Carver CLA 2007-11-10 23:44:48 EST
Created attachment 82615 [details]
Add Nillable as Advance option for Elements

Adds an option to the Advanced Tab of the properties view for the XSD Editor to allow setting the nillable attribute of an element.   Valid values are empty, true, false.
Comment 2 David Carver CLA 2007-11-11 09:00:36 EST
Created attachment 82618 [details]
Updated - Add Nillable as an Advanced Option

Tweaks the nillable as Advanced option, to only allow it on global elements or elements that are defined locally with @name instead of @ref.
Comment 3 Keith Chong CLA 2007-11-11 17:11:33 EST
Thanks for the patch David.  I'll target this for M4.
Comment 4 Keith Chong CLA 2008-01-09 20:12:17 EST
Hi David, sorry, this one fell through the cracks.  I made some m minor modifications and have just released the changes for WTP3.0M5.
Comment 5 Keith Chong CLA 2008-01-09 20:13:14 EST
Created attachment 86525 [details]
Updated patch
Comment 6 Keith Chong CLA 2008-01-31 17:59:20 EST
Verified in M5 build I20080131054908
Comment 7 David Carver CLA 2008-02-02 19:14:44 EST
Thanks, Keith.
Comment 8 Valentin Baciu CLA 2008-02-04 12:38:08 EST
Closing.