<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic dialog navigation in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99658#M68923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering why this is not valid and what an alternative might be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;dialog:close:dialog:close&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;My current understanding, (which I wouldn't mind a better explanation on) is that by performing dialog:close I remove an item from a stack kept of pages navigated to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;P&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 May 2007 14:45:53 GMT</pubDate>
    <dc:creator>whippet</dc:creator>
    <dc:date>2007-05-10T14:45:53Z</dc:date>
    <item>
      <title>dialog navigation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99658#M68923</link>
      <description>Hi,I was wondering why this is not valid and what an alternative might be:dialog:close:dialog:closeMy current understanding, (which I wouldn't mind a better explanation on) is that by performing dialog:close I remove an item from a stack kept of pages navigated to.Thanks,P</description>
      <pubDate>Thu, 10 May 2007 14:45:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99658#M68923</guid>
      <dc:creator>whippet</dc:creator>
      <dc:date>2007-05-10T14:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: dialog navigation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99659#M68924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That code should work correctly, as the AlfrescoNavigationHandler has specific code to handle this statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I quickly tried it as follows: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- start in browse screen&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- open dialog space details&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- from there, open dialog import&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- click cancel, where I manually changed the outcome to "dialog:close:dialog:close".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I was correctly returned to the browse screen instead of the space details screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The syntax is "prefix&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utcome&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;verride", where override is only considered if outcome is "close".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The override itself can again be "prefix:close", and the navigation handling will restart to process this override.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that a dialog:close or wizard:close will only pop a page from the stack if no override is provided. If one is provided, the stack is emptied.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is a bit strange, as the double dialog:close statement requires the second dialog:close to pop a page, but at that point the stack is already emptied. So in my example, I was returned to the browse screen, but only because the second dialog:close found no page on the stack to return to, and defaulted to "browse".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2007 06:55:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99659#M68924</guid>
      <dc:creator>frederick</dc:creator>
      <dc:date>2007-05-11T06:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: dialog navigation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99660#M68925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your response. I have noticed however &lt;/SPAN&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;dialog:close:dialog:close &lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;? always take me back to the browse page and not back in sequentially order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hence if I navigated 3 or 4 pages away from the browse page it is taking me back to the browse page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I am doing something wrong ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also can you please give a little explanation as to the syntax being "prefix&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utcome&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;verride", where override is only considered if outcome is "close".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;W&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 11:11:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99660#M68925</guid>
      <dc:creator>whippet</dc:creator>
      <dc:date>2007-05-16T11:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: dialog navigation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99661#M68926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry if my post was not clear. What I meant in my last paragraph is that the dialog:close outcome empties the dialog stack if there's an override present. As a consequence, any subsequent dialog:close calls do not work, because they have no dialog to close anymore. The navigation then defaults to browse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eg. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"dialog:close:wizard:runAction" will work because wizard:runAction does not need anything from the view stack.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"dialog:close:dialog:close" will always go to browse because (the second) dialog:close needs the previous dialog from the view stack, which is empty by then.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This looks like a bug to me, so you may want to raise it in Jira.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The "prefix&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;utcome&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;verride" syntax is used by the wizard/dialog framework, and replaces regular outcomes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Prefix denotes the type, either 'wizard' or 'dialog'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Outcome is the actual outcome, like the name of the dialog or wizard to start, or 'close' to close the current one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Override is optional, and is only handled if the outcome was 'close'. It tells the navigationhandler to immediately execute another navigation after the dialog or wizard is closed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 06:53:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99661#M68926</guid>
      <dc:creator>frederick</dc:creator>
      <dc:date>2007-05-21T06:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: dialog navigation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99662#M68927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I couldn't have answered better myself, in fact in my &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?p=21121#21121" rel="nofollow noopener noreferrer"&gt;reply&lt;/A&gt;&lt;SPAN&gt; to your other thread i completely missed the fact the dialog framework clears the stack when you have an override &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Frederick is right though, this case should really be handled and raising a bug as he and I suggested is probably the best course of action.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 10:16:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99662#M68927</guid>
      <dc:creator>gavinc</dc:creator>
      <dc:date>2007-05-21T10:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: dialog navigation</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99663#M68928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you both for you responses and particularly Frederick's meticulous explanation - much appreciated. I will log this as a bug in JIRA.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 09:15:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dialog-navigation/m-p/99663#M68928</guid>
      <dc:creator>whippet</dc:creator>
      <dc:date>2007-05-22T09:15:28Z</dc:date>
    </item>
  </channel>
</rss>

