Can you update and see whether the problem is still there? Eelco
On 5/28/07, Mats Norén <[EMAIL PROTECTED]> wrote: > I've got a small snag with images inside an ajaxlink: > > My template looks like this: > > <a wicket:id="previous" class="marginRight" href="#" > title="Bakåt"><img alt="" class="middle" > src="img/button_goBack.gif"></a> > > The generated output when the page loads for the first time: > > <a href="#" title="Bakåt" class="marginRight" onclick="var > wcall=wicketAjaxGet('../../../?wicket:interface=:4:form:previous::IBehaviorListener:0:3', > function() { }.bind(this), function() { }.bind(this));return !wcall;" > id="previous25"><img class="middle" > src="../../../img/button_goBack.gif" alt=""></a> > > Notice the src-attribute for the image. The image displays correctly. > When click the ajax-link the generated output looks slightly different: > > <a href="#" title="Bakåt" class="marginRight" onclick="var > wcall=wicketAjaxGet('../../../?wicket:interface=:4:form:previous::IBehaviorListener:0:3', > function() { }.bind(this), function() { }.bind(this));return !wcall;" > id="previous25"><img class="middle" src="img/button_goBack.gif" > alt=""></a> > > Notice the lack of "../../../" in the src-attribute for the image. > > I did an update this morning, for the first time in about two weeks, I > guess something has changed with the way resources are loaded? > > Any suggestions? > > Regards, > Mats > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user