From: Cornelius J. <cj...@vi...> - 2007-05-08 16:03:21
|
Hi Bruno you have to use a normal WOImage wrapped inside a AjaxUpdateContainer if you are using a form put it all inside a form and use an AjaxSubmitButton: par exemple using le snazzy syntax de inline: <wo:AjaxUpdateContainer id=localUpdateContainerID onRefreshComplete=onRefreshComplete> <wo:AjaxUpdateLink action=moveToHasNot updateContainerID=myUpdateContainer onClick=onClick> <wo:WOImage filename="minus_15.png" style="vertical-align: middle;"/> </wo> </wo> OR <wo:AjaxUpdateContainer id=localUpdateContainerID onRefreshComplete=onRefreshComplete> <wo:WOForm name=formID multipleSubmit=true> <wo:AjaxSubmitButton action=moveToHasNot button=false formName=formID updateContainerID=myUpdateContainer onClick=onClick> <wo:WOImage filename="minus_15.png" style="vertical-align: middle;"/> </wo> </wo> </wo> hth cornelius On 08.05.2007, at 17:50, WIESEN Bruno wrote: > Hello, > > I've got an very annoying problem...I use an AjaxUpdateContainer in > order to refresh a string containing information. > Under this component, I have a WOactiveImage binds to an action. > > The problem is that the action of the WOActiveImage is not available ! > When I click on the image, It displays the value of the String which > is in the container instead of performing the action. > > Any idea? > > Thanks. > > Bruno. |