1 Reply Latest reply on Apr 29, 2010 12:47 PM by Ilya Shaikovsky

    Add text note to image

    ZJ DA Newbie



      I want to use <rich:paint2d> to display an image (e.g jpg, bmp or gif).  When a use click on the image, I want to display a text box at the mouse point.  The user can type a short note in the box as a overlay and save the new image.


      Before I dig into the detail, could someone tell me if it is possible or not?




        • 1. Re: Add text note to image
          Ilya Shaikovsky Master

          it should be possible by using tootip. this


          <a4j:mediaOutput element="img" cacheable="false" session="true" id="image"
          createContent="#{mediaBean.paint}" value="#{mediaData}" mimeType="image/jpeg" >
          <rich:toolTip value="123123" for="image"></rich:toolTip>


          works for me.