my component hirearchy 
   batchInfoContainer
        batchInfos  (listview)
           batchInfo(link)
              batchStatusImg 
              name
              date
html
<code>
                                                        <div 
style="width:100%;height:556;overflow:auto;"
wicket:id="batchInfoContainer">
                                                                <table  
border="1" width="100%" wicket:id="batchInfos">
                                                                                
        <tr wicket:id="batchInfo">
                                                                                
                                                <td width="15">
                                                                                
                                                         
                                                                                
                                                </td>
                                                                                
                                                <td  width="50">
                                                                                
                                                        <label 
wicket:id="name"></label>                
                                                                                
                                                </td>
                                                                                
                                                <td width="35">
                                                                                
                                                        <label 
wicket:id="date"></label>                
                                                                                
                                                </td>
                                                                                
        </tr>
                                                                </table>
                                                        </div>
  </code>
 
the code above works for onclick but the problem is i open a new table
inside   batchInfos  so i am  creating a new table for each listitem  which 
creates tables  with different sizes for each item, to avoid this  i tried
with div and span for batchinfos but onclick is not working , any ideas how
to resolve this i tried in both ie and firefox 

here is something what i want but this does not work

                                                                <div 
style="width:100%;height:556;overflow:auto;"
wicket:id="batchInfoContainer">
                                                                        <table> 
                                                                                
<tr wicket:id="batchInfos">
                                                                                
        <div wicket:id="batchInfo">
                                                                                
                                                        <td width="15">
                                                                                
                                                                 
                                                                                
                                                        </td>
                                                                                
                                                        <td  width="50">
                                                                                
                                                                <label 
wicket:id="name"></label>                
                                                                                
                                                        </td>
                                                                                
                                                        <td width="35">
                                                                                
                                                                <label 
wicket:id="date"></label>                
                                                                                
                                                        </td>
                                                                                
        </div>
                                                                                
</tr>
                                                                        </table>
                                                        </div>

-- 
View this message in context: 
http://www.nabble.com/on-click-on-a-link-in-a-listview--works-with-td-but-but-not-with-div-or-span-tp20474916p20474916.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to