Hi..

I have a list of images. I display the entire list in the page by using
Trinidad iterator.
The image can be display properly. I try to tomahawk popup in that link on
mouse over to display a description and a command link.
The popup page is display properly but the problem is, the content in the
popup always display the first image content. 
This is the sample code:

<tr:iterator var="imageunit" value="#{MyBean.imageUnitDataList}">
   <trh:cellFormat halign="center"  >
      <tr:commandLink  action="#{ imageunit.goToImageData}" >
          <t:popup styleClass="popup" closePopupOnExitingElement="false"
closePopupOnExitingPopup="true"
              displayAtDistanceX="10" displayAtDistanceY="5">
                     <tr:image  source="#{ imageunit.imagePath}"
inlineStyle="border-style: none ;"/>
                <f:facet name="popup" >
                    <tr:panelGroupLayout layout="vertical" >
                        <tr:outputText value="#{ imageunit.descriptionText}"
/>
                        <tr:commandLink text="Larger Resolution"
action="#{imageunit.goToLargerSize}"/>
                    </tr:panelGroupLayout>
               </f:facet>
           </t:popup>
      </tr:commandLink>
   </trh:cellFormat >
</tr:iterator>

Assume there is more than 1 data in my imageUnitDataList(java.util.List), if
I move my mouse pointer to any of the image, it always display the first
image data.
Any idea what’s wrong in my code? Anything that I miss in my code?
My environment: tomahawk 1.1.7 snapshot, Trinidad 1.0.1. 
Unfortunately, I can’t upgrade my Trinidad to version 1.0.5 for some
reasons. I know that there is a new element called panelPopup since Trinidad
1.0.2 but I can’t use it.

Any idea?

Thank you

Regards,


Pdt

-- 
View this message in context: 
http://www.nabble.com/Tomahawk-popup-problem-tp15153176p15153176.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to