On Thu, 11 Mar 2010, Michael O'Cleirigh wrote:
Hi Michael,
> The content of the tooltip should be a panel. The panel's model can
> contain the List<Integer> of the increases you want offered and then
> it can use a repeater or ListView to render each option. If the
> links were AjaxLink subclasses you could set their model to be the
> particular Integer they represented and then within the
> onClick(final AjaxRequestTarget target) method handle the necessary
> changes to your totals.
I'm still confused. My main page looks like this:
<html>
<span wicket:id="tooltip"> Click on me, and a tooltip will show up
</span>
</html>
class MainPage extends WebPage {
final Label tooltipHolder = new Label("tooltip", "asdf");
add(tooltipHolder);
tooltipHolder.setOutputMarkupId(true);
tooltipHolder.add( new QTipBehaviour( new TooltipPanel(??? ));
}
So I don't have hany markup-id for the panel. I could define it in the
html as a hidden div, but is there a way of without an additional div?
Thorsten
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]