Thanks for the reply, but is there an example for AttributeAppender?
I checked the java Doc but still can't figure out how to use it inside a
ListView
it just appends it inside the list view container:
<wicket:container colspan="2" wicket:id="categoryListView">
if I put s wicket:id inside the <td colspan="2"> i get an error because
of the <a href. .. > after it , I get:
Expected close tag for '<td colspan="2" wicket:id="col">' Possible
attempt to embed component(s) '<a href="#" wicket:id="categoryHref">' in
the body of this component which discards its body
Sami
Vit Rozkovec wrote:
Hallo,
you can do with AttributeModifier or AttributeAppender.
Vitek
Sami wrote:
Hello,
I have been trying to control the colspan in a table but no luck :(
any one has an example of how to do it?
code:
-------------------------------------------------
<tr>
<td colspan="2"><a href="#" wicket:id="categoryHref"><span
wicket:id="categoryName">[Category]</span></a></td>
<wicket:enclosure child="Info">
<td align="center" nowrap><span
wicket:id="Info">[Info]</span></td>
<td align="center"><span
wicket:id="Type">[Type]</span></td>
<td align="center"><span
wicket:id="Date">[Date]</span></td>
</wicket:enclosure>
</tr>
-------------------------------------------------
I want to control the number in the colspan markup?
I tried <td colspan="#" wicket:id="colNum"> but didnt work.
Many thanks
Sami
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]