MyException - 我的异常网
当前位置:我的异常网» Java Web开发 » flex组合java连接数据库

flex组合java连接数据库(2)

www.MyException.Cn  网友分享于:2013-12-23  浏览:23次

    <String> img/photos400/01007.jpg </String>      
    <String> img/photos400/01008.jpg </String>      
    <String> img/photos400/01009.jpg </String>      
    <String> img/photos400/01010.jpg </String>      
    <String> img/photos400/01012.jpg </String>      
    <String> img/photos400/01013.jpg </String>      
    <String> img/photos400/01014.jpg </String>      
    <String> img/photos400/01015.jpg </String>      
    <String> img/photos400/01016.jpg </String>      
    <String> img/photos400/01017.jpg </String>      
    <String> img/photos400/01018.jpg </String>      
    <String> img/photos400/01019.jpg </String>          
  </Array>

 
  <local:DisplayShelf   id= "shelf "     horizontalCenter= "0 "   verticalCenter= "0 "
    borderThickness= "10 "   borderColor= "#FFFFFF "   dataProvider= "{dataSet} "     enableHistory= "false "   width= "100% "/>

  <VBox   horizontalCenter= "0 "   bottom= "10 "
    horizontalAlign= "center "   verticalAlign= "middle "   >      

    <HBox>
      <Label   text= "Angle: "   />
      <HSlider   liveDragging= "true "   id= "angle "   minimum= "5 "   value= "35 "   maximum= "90 "   snapInterval= ".1 "   width= "400 "   />
    </HBox>

    <HBox>
      <Label   text= "Selection: "   />
      <HSlider   liveDragging= "true "   id= "sel "   minimum= "0 "   value= "0 "   maximum= "{shelf.dataProvider.length} "   snapInterval= "1 "   width= "400 "   />
    </HBox>

    <HBox>
      <Label   text= "pop: "   />
      <HSlider   liveDragging= "true "   id= "pop "   minimum= "0 "   value= ".43 "   maximum= "1 "   snapInterval= ".01 "   width= "400 "   />
    </HBox>

  </VBox>
</Application>


 

现在我想把上面的字符串改造成从数据库中读取,我改造的程序的部分代码如下:

<?xml   version= "1.0 "   encoding= "utf-8 "?>
<Application   xmlns:mx= "http://www.adobe.com/2006/mxml "   fontSize= "12 "  
  xmlns= "http://www.adobe.com/2006/mxml "  
  xmlns:local= "* "   height= "100% "   width= "100% "  
  layout= "absolute "  
  viewSourceURL= "index.html "  
  creationComplete= "initApp() "
  >

文章评论

软件开发程序错误异常ExceptionCopyright © 2009-2015 MyException 版权所有