cancel
Showing results for 
Search instead for 
Did you mean: 

Showing document summary

rama_honge
Champ in-the-making
Champ in-the-making
Currently document summary(popup panel) is shown when we click on the i icon(popup.gif) next to the document file name….
This is taking the details for the template file( node_summary_panel.ftl)

i want to show the summary, when the mouse is over the image icon. and the summary should be closed automatically when the mouse moves out of the icon…

Can anyone let me know how to do this…

This is how it is in the browse.jsp

<r:nodeInfo id="col10-info" value="#{r.id}">
<h:graphicImage id="col10-img" url="/images/icons/popup.gif" styleClass="popupImage" width="16" height="16" />
</r:nodeInfo>
2 REPLIES 2

ganglitian
Champ in-the-making
Champ in-the-making
maybe you can study something about JSF,then you will well know about "<h:graphicimage…../>


and by the way.I have questions to ask you….do you know how it can show the documnt summary when we click on the icon.I mean what class it use or someother thcnolege….where are those  class in and how to configurate it .now my purpose it make it to show .PSD image…do you konw to can achive it.

waiting for you reply..

xavier_rouviere
Champ in-the-making
Champ in-the-making
The code associate with "i icon " is define by :

   <component>
      <component-type>org.alfresco.faces.NodeInfo</component-type>
      <component-class>org.alfresco.web.ui.repo.component.UINodeInfo</component-class>
   </component>
in : faces-config-repo.xml

         out.write("<span onclick=\"AlfNodeInfoMgr.toggle('");
         out.write(noderef);
         out.write("',this);\">");
The type of the javascript AlfNodeInfoMgr object (create in the same class) is : Alfresco.PanelManager  and it's define in summary-info.js.
The toggle method call the [context]/ajax/invoke/… uri process by the ajaxServlet