users@javaserverfaces.java.net

Re: getting X,Y cordinate of h:graphicImage

From: Nishant <katoch.nishant_at_gmail.com>
Date: Thu, 14 Jun 2007 17:23:55 -0700 (PDT)

Thanks for the reply.

Could the reason for getting x and y co-ordinates as 1,1 be the use of
buffer and and datalist

------ACTUAL SCENARIO----------
<t:buffer into="#{table}">
      <t:dataList id="data1" forceId="true" var="studio"
value="#{studioList.studioAllList}" layout="simple" rows="12">
                    <a4j:commandLink id="imgVideo">
                          <h:graphicImage id="Imgpic" url="img/#{
studio.image}"
onmouseover="drawImage2(this.offsetLeft,this.offsetTop)"/>
                  </a4j:commandLink>
     </t:dataList>
</t:buffer>
<h:outputText value="#{table}" escape="false"/>
-----------------------------

Thanks,
Nishant
-- 
View this message in context: http://www.nabble.com/getting-X%2CY-cordinate-of-h%3AgraphicImage-tf3924006.html#a11131252
Sent from the javaserverfaces users mailing list archive at Nabble.com.