Author: msorokin
Date: 2009-08-27 14:40:31 -0400 (Thu, 27 Aug 2009)
New Revision: 15368
Modified:
branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/contextMenu.xml
Log:
https://jira.jboss.org/jira/browse/RF-5768
updated
Modified:
branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/contextMenu.xml
===================================================================
---
branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/contextMenu.xml 2009-08-27
18:15:59 UTC (rev 15367)
+++
branches/community/3.3.X/docs/photo_album_app_guide/en/src/main/docbook/includes/contextMenu.xml 2009-08-27
18:40:31 UTC (rev 15368)
@@ -6,10 +6,44 @@
<para>Context menu is made for the following UI controls:</para>
<itemizedlist>
- <listitem><para>Album</para></listitem>
- <listitem><para>Image</para></listitem>
- <listitem><para>Self</para></listitem>
- <listitem><para>User</para></listitem>
+ <listitem>
+ <para><property>Album</property> menu item in navigation menu/Album
thumbnail</para>
+<figure>
+ <title>Context Menu for </title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/cm_album.png"/>
+ </imageobject>
+ </mediaobject>
+</figure>
+
+
+ </listitem>
+ <listitem><para>Image thumbnail</para>
+
+
+ <figure>
+ <title>Image thumbnail context menu</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/cm_image.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ </listitem>
+
+ <listitem><para><property>Shelf</property> menu item in
navigation menu</para>
+ <figure>
+ <title>Context Menu for Shelf menu item </title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/cm_shelf.png"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ </listitem>
+
</itemizedlist>
<para>
Let's have a look at the context menu for single image is constructed.
@@ -87,7 +121,7 @@
...]]></programlisting>
- <para>The key attribute of <emphasis
role="bold"><property><contextMenu></property></emphasis>
is
<emphasis><property>"attachTo"</property></emphasis>
that specifies for which control the context menu is displayed. As you can see this
attribute has <code>#{mediaOutput}</code> as its value(<code>
attachTo="#{mediaOutput}"</code> so this way the id of the current image
is passed to <emphasis
role="bold"><property><rich:contexMenu></property></emphasis>
and this is how it know what photo is affected by user actions. </para>
+ <para>The key attribute of <emphasis
role="bold"><property><contextMenu></property></emphasis>
is
<emphasis><property>"attachTo"</property></emphasis>
that specifies for which control the context menu is displayed. As you can see this
attribute has <code>#{mediaOutput}</code> as its value(<code>
attachTo="#{mediaOutput}"</code> so this way the id of the current image
is passed to <emphasis
role="bold"><property><rich:contexMenu></property></emphasis>
and this is how it knows what photo is affected by user actions. </para>
</section>