Open GoogleCodeExporter opened 8 years ago
问题:附件类型(type="attach")时,对#index#没有做转换 文件:js/dwz.database.js 函数:initSuffix 修改前:$(':input, a.btnLook', this).each(function().... 修改后:$(':input, a.btnLook,a.btnAttach', this).each(function().... 如下代码: <table class="list nowrap itemDetail" addButton="新建行" width="100%"> <thead> <tr> <th type="lookup" width="55" name="items[#index#].org.name" lookupUrl="${testLookup}" postField="keywords" size fieldClass="required">lookup测试</th> <th type="attach" width="55" name="items[#index#].attach.upload id="items[#index#].attach.groupid" lookupPk="groupid" lookupGroup="[#index#].attach" lookupUrl="${testUpload}" postField="keywords" readonly="true"> 附件测试 </th> <th type="del" width="60">操作</th> </tr> </thead> 上述代码,生成的HTML如下: <a class="btnLook" title="查找带回" lookuppk="id" lookupgroup="items[13].org" href="http://localhost:8080/testLookup.action">查找带回</a> <a title="查找带回" height="350" width="660" lookuppk="groupid" lookupgroup="items[#index#].attach" href="http://localhost:8080/testUpload.action" class="btnAttach">查找带回</a>
Original issue reported on code.google.com by binliu0...@gmail.com on 30 Jul 2012 at 12:55
binliu0...@gmail.com
Original issue reported on code.google.com by
binliu0...@gmail.com
on 30 Jul 2012 at 12:55