Sylvain Wallez wrote:
Luca Morandini wrote:
Well, but I should be able to change the image's src attribute
dynamically, wich is not allowed in action widget... right ?
Yes you can, as the image src is in the form template. Of course you
have to use a dynamic template (e.g. JXTG):
<ft:action id="map">
<fi:styling type="image" src="images/${image_name}.jpg"/>
</ft:action>
Sure, but I'd rather avoid using dynamic templates for otherwise static
forms... morever, setting the image source from a action-handler flow
script would be more elegant.
Regards,
--------------------
Luca Morandini
www.lucamorandini.it
--------------------