zoukankan      html  css  js  c++  java
  • [Wix] RadioButton与ListItem的属性要改掉了

     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&amp;omplete">Complete</RadioButton>
     
     And will now look like:
        
     <RadioButton Value="Complete" X="10" Y="5" Width="380" Height="18"
     Text="{\Tahoma10}C&amp;omplete"/>
        
     Or:
     
     <RadioButton Value="Complete" X="10" Y="5" Width="380"
     Height="18"><Text>{\Tahoma10}C&amp;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
     

  • 相关阅读:
    (九)MySQL用户和权限管理
    activemq修改admin密码
    zookeeper与activemq整合
    (十一)数组array
    (十)while和until循环
    (八)MySQL索引操作
    查看MySQL是否在运行
    MySQL的启动和关闭
    常用的Web服务器软件整理
    [CodeForce 801A] Vicious Keyboard
  • 原文地址:https://www.cnblogs.com/huqingyu/p/78770.html
Copyright © 2011-2022 走看看