I don't quite get what you're trying to achieve. A table inside a table cell? That shouldn't be a problem if you add/replace your components inside the table cell and not the row. But what I see in your markup is that you're nesting a div inside a tr - and that's not allowed. Maybe your browser gets confused with that one ...
miro wrote: > > 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> > > ----- Michael Sparer http://talk-on-tech.blogspot.com -- 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-tp20474916p20476991.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]
