Hey guys!

I'm trying to use a repeater in the following code:

<author.html>
 <author.html>
<author.html>
<author.html>
 <author.html>
<author.html>
<author.html>
 <author.html>
<author.html>
<author.html>
 <author.html>
<author.html><a href="author.html"><div class="hasmenu icon iconauthor"
title="AUTHOR: POE, Edgar A." style="left:63%; top:23%"></div></a>


1. I couldn't really get the difference between ListView and RefreshingView

2. I found two approaches to write into the "title" property of the <div>
tag:

2a: AttributeModifier:
http://stackoverflow.com/questions/18521416/set-html-element-attribute-from-wicket-message
2b: AbstractBehavior:
http://www.mkyong.com/wicket/how-to-dynamic-add-attribute-to-a-html-tag-in-wicket/

Which is best considering I might want to link this "title" to a property
value?

3. this <div> might get more complex with a whole lot of subcomponents (ok
maybe three). Lets suppose another <div> and an <img>. What would be the
best strategy to repeat it as a whole block then?

let's say this is the intended exit:

<a href="author.html">
<div class="hasmenu icon iconauthor" title="AUTHOR: POE, Edgar A."
style="left:63%; top:23%">
 <div>POE, Edgar A.</div>
<img src=""></img>
</div>
</a>
<a href="author.html">
<div class="hasmenu icon iconauthor" title="AUTHOR: DOYLE, Arthur Conan"
style="left:23%; top:63%">
 <div>DOYLE, Arthur Conan</div>
<img src=""></img>
</div>
</a>

Thanks a lot in advance, any help is greatly appreciated.

Reply via email to