Instead of directly adding the DDC to the column, add a panel or fragment containing the DDC.
Martijn On 3/10/08, jnorris <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have implemented an AjaxFallbackDefaultDataTable and would like to put a > DropDownChoice in one of the columns to list values. For example in a table > of users a roles column would show the roles assigned to the user as a > dropdown list. I haven't been able to find any examples of doing this. If > anyone has already done something like this or has any suggestions on how to > do it, I'd appreciate the help. I tried to extend AbstractColumn but > couldn't get it to work due to cellItem.add( ddc ) throwing an exception > (Component cell must be applied to a tag of type 'select', not '' ). > > Thanks, > Jim > > > > -- > View this message in context: > http://www.nabble.com/AjaxFallbackDefaultDataTable-and-DropDownChoice-tp15950744p15950744.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] > > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.1 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.1 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
