hello
hello I try to change an image of a4j:mediaOutput by a4j:support that is in rich:inputNumberSlider
But it seems to be not working.
here is the jsf code:
<rich:inputNumberSlider id="zoom_slide" maxValue="20" minValue="-2" value="#{haritaBean1.zoom_scale}" valueChangeListener="#{haritaBean1.valueChangeListener_zoomslide}" >
<a4j:support event="onchange" reRender="harita1" /> </rich:inputNumberSlider>
...
<a4j:mediaOutput id="harita1" element="img" mimeType="image/png" createContent="#{haritaBean1.drawMap}" style="width: 500px ; height:500px "
onmousemove="koord_move(event);" onclick="koord_click(event); document.forms['harita'].submit(); return(false);">
</a4j:mediaOutput>
what is that I am doing wrong ?
how can I refresh the image ?
regards
Hello,
Please take a look: http://livedemo.exadel.com/richfaces-demo/richfaces/paint2D.jsf?c=paint2d&tab=usage