> And wait a minute, is the container in fact the indicator?
Yes!
> > @Override
> > protected void onComponentTag(ComponentTag tag) {
> > super.onComponentTag(tag);
> > tag.put("src",urlFor(AbstractDefaultAjaxBehavior.INDICATOR));
> > }
>
> This part I didn't understand.
The html has just "<img src="#" border="0"
wicket:id="ajaxIndicator"/>" and that command will replace the src ->
Wicket's default indicator image.
> Wicket id is a different thing than the markup id. Probably
> you need to override getMarkupId() to return that id.
Ok. This is probably where I have messed up.
Say I have "<img src="#" border="0" wicket:id="ajaxIndicatorImage"/>"
in my HTML and an AjaxIndicatorContainer extends WebMarkupContainer
for it as previously.
Now, how do I set up the markup-id if it is not the same as wicket-id
:) ? Anyone has done this exact same thing before in a similar manner
and coud post code?
**
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]