[Wix] RadioButton与ListItem的属性要改掉了
2004-12-18 13:56
525 查看
Schema Break: ListItem/RadioButton change
It was pointed out to me (a while ago, I"ve just been delaying this email
for a while) that the RadioButton element is not consistent with the rest of
the schema. In fact, it was still following the WiX v1 syntax which is
really old. It is also one of the areas where a few ugly bugs live because
of the old schema format. The ListItem element was better but still
slightly off.
The changes will have ListItem and RadioButton elements used to look like
this:
<RadioButton X="10" Y="5" Width="380" Height="18"
Text="{\Tahoma10}C&omplete">Complete</RadioButton>
And will now look like:
<RadioButton Value="Complete" X="10" Y="5" Width="380" Height="18"
Text="{\Tahoma10}C&omplete"/>
Or:
<RadioButton Value="Complete" X="10" Y="5" Width="380"
Height="18"><Text>{\Tahoma10}C&omplete </Text></RadioButton>
For ListItem"s the Id attribute name is changing to Value. I plan to check
this change in tonight (along with many other bug fixes) and the next
release of the WiX toolset will accept the old syntax but display warnings
about the deprecated syntax. A future build (next year) will remove the old
syntax completely.
Hopefully, this will be the last schema change (but don"t get your hopes too
high).
virtually,
Rob Mensching
http://blogs.msdn.com/robmen
http://wix.sourceforge.net
让人郁闷的是:<ListItem Id="a">
它会有警告:ID将被Value取代,但写成<ListItem Value="a" >,它又说ID是必须的,加上ID又会有警告。
上面英文说下一个版本将会把警告拿掉。等待ing
It was pointed out to me (a while ago, I"ve just been delaying this email
for a while) that the RadioButton element is not consistent with the rest of
the schema. In fact, it was still following the WiX v1 syntax which is
really old. It is also one of the areas where a few ugly bugs live because
of the old schema format. The ListItem element was better but still
slightly off.
The changes will have ListItem and RadioButton elements used to look like
this:
<RadioButton X="10" Y="5" Width="380" Height="18"
Text="{\Tahoma10}C&omplete">Complete</RadioButton>
And will now look like:
<RadioButton Value="Complete" X="10" Y="5" Width="380" Height="18"
Text="{\Tahoma10}C&omplete"/>
Or:
<RadioButton Value="Complete" X="10" Y="5" Width="380"
Height="18"><Text>{\Tahoma10}C&omplete </Text></RadioButton>
For ListItem"s the Id attribute name is changing to Value. I plan to check
this change in tonight (along with many other bug fixes) and the next
release of the WiX toolset will accept the old syntax but display warnings
about the deprecated syntax. A future build (next year) will remove the old
syntax completely.
Hopefully, this will be the last schema change (but don"t get your hopes too
high).
virtually,
Rob Mensching
http://blogs.msdn.com/robmen
http://wix.sourceforge.net
让人郁闷的是:<ListItem Id="a">
它会有警告:ID将被Value取代,但写成<ListItem Value="a" >,它又说ID是必须的,加上ID又会有警告。
上面英文说下一个版本将会把警告拿掉。等待ing
相关文章推荐
- 关于List<>的Item属性
- <foreach collection="list" item="item" index="index" open="" close="" separator=";">属性的含义
- TypeError: Error #1010: 术语尚未定义,并且无任何属性。at mx.controls::List/createItemRenderer()[E:\dev\4.0.0\framew
- DropDownList中ListItem的扩展属性
- listitems.ListItemCollectionPosition属性为空
- item属性总结
- android listview综合使用示例_结合数据库操作和listitem单击长按等事件处理
- [转]烦人的BeforePropertie----BeforeProperties,AfterProperties,properties.ListItem
- android系统自带的适配布局activity_list_item
- 服务器端ListItem生成前导空格方法小结
- 关于iOS从iPod取出来的音乐MPMediaItemPropertyAssetURL属性为空问题
- Android onItemLongClick+onCreateContextMenu实现长按ListItem弹出不同菜单
- SharePoint中ListItem更新的一个需要注意的地方
- android中 关于listitem 获得焦点时,改变其背景
- Java对List中的中文属性按照拼音排序
- Spring中使用Map、Set、List、数组、属性集合的注入方法配置文件
- Android Menu中main.xml里item条目属性解析
- Android中Listview点击item不变颜色及设置listselector 无效的解决方案
- 使CheckBoxList的Attributes属性生效(修改微软的一个bug)
- 为何使用EL表达式能够访问valueStack中对象的属性、采用OGNL表达式创建List/Map集合对象