<?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 Re: Tabs for folder with content view : problem with button &amp;quot;New Document&amp;quot; in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326764#M13765</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The only possible solution in 5.6 is to create a user action in Studio bound to an automation chain to call the operation "User Interface &amp;gt; Show Create document page".
It requires to have one action per doc type you want to be able to create.&lt;/P&gt;
&lt;P&gt;The reason for the impossibility to use the usual new and import file buttons is because they are not "actions". This is a known issue:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXP-9433"&gt;https://jira.nuxeo.com/browse/NXP-9433&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully this is will be corrected in 5.7&lt;/P&gt;</description>
    <pubDate>Tue, 12 Feb 2013 11:05:58 GMT</pubDate>
    <dc:creator>Fred_Vadon</dc:creator>
    <dc:date>2013-02-12T11:05:58Z</dc:date>
    <item>
      <title>Tabs for folder with content view : problem with button "New Document"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326762#M13763</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I create in Studio a new tab for display a folder.&lt;/P&gt;
&lt;P&gt;In this tab, I want all documents of this folder and, to right, the meta-data of the folder.
All is ok, but I can't have the button "Create new document". I test with "Custom Actions" but it doesn't work.&lt;/P&gt;
&lt;P&gt;Here a picture :&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://connect.hyland.com/upfiles/Capture_copie_1.jpg" alt="alt text" /&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 17:15:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326762#M13763</guid>
      <dc:creator>delphine_</dc:creator>
      <dc:date>2013-01-24T17:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tabs for folder with content view : problem with button "New Document"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326763#M13764</link>
      <description>&lt;P&gt;anyone to help me ?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2013 14:25:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326763#M13764</guid>
      <dc:creator>delphine_</dc:creator>
      <dc:date>2013-02-01T14:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Tabs for folder with content view : problem with button "New Document"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326764#M13765</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The only possible solution in 5.6 is to create a user action in Studio bound to an automation chain to call the operation "User Interface &amp;gt; Show Create document page".
It requires to have one action per doc type you want to be able to create.&lt;/P&gt;
&lt;P&gt;The reason for the impossibility to use the usual new and import file buttons is because they are not "actions". This is a known issue:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://jira.nuxeo.com/browse/NXP-9433"&gt;https://jira.nuxeo.com/browse/NXP-9433&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Hopefully this is will be corrected in 5.7&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2013 11:05:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326764#M13765</guid>
      <dc:creator>Fred_Vadon</dc:creator>
      <dc:date>2013-02-12T11:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Tabs for folder with content view : problem with button "New Document"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326765#M13766</link>
      <description>&lt;P&gt;It will&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2013 19:33:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326765#M13766</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-02-19T19:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Tabs for folder with content view : problem with button "New Document"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326766#M13767</link>
      <description>&lt;P&gt;Thanks for the answer.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2013 17:44:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326766#M13767</guid>
      <dc:creator>delphine_</dc:creator>
      <dc:date>2013-02-25T17:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Tabs for folder with content view : problem with button "New Document"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326767#M13768</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2013 14:53:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326767#M13768</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-02-26T14:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Tabs for folder with content view : problem with button "New Document"</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326768#M13769</link>
      <description>&lt;P&gt;As an alternative, you can use a custom widget template with the following code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;div class="action_bar"
  xmlns:h="http://java.sun.com/jsf/html"
  xmlns:nxh="http://nuxeo.org/nxweb/html"
  xmlns:f="http://java.sun.com/jsf/core"
  xmlns:ui="http://java.sun.com/jsf/facelets"
  xmlns:nxu="http://nuxeo.org/nxweb/util"
  xmlns:nxl="http://nuxeo.org/nxforms/layout"
  xmlns:c="http://java.sun.com/jstl/core"&amp;gt;

  &amp;lt;ui:include src="/select_document_type.xhtml"/&amp;gt;
  &amp;lt;ui:include src="/create_file.xhtml"/&amp;gt;

  &amp;lt;h:form id="documentActionSubviewUpperListForm"&amp;gt;
    &amp;lt;nxu:set var="actions"
      value="#{webActions.getActionsList('SUBVIEW_UPPER_LIST')}"
      cache="true"&amp;gt;
      &amp;lt;c:if test="#{!empty actions}"&amp;gt;
        &amp;lt;div class="action_bar"&amp;gt;
          &amp;lt;nxu:dataList layout="unorderedList"
            var="action"
            value="#{actions}"
            id="documentActionSubviewUpperListTable"&amp;gt;
            &amp;lt;nxh:commandLink action="#{action.getLink()}"
              id="documentActionSubviewUpperListLink"
              immediate="#{action.immediate}"
              onclick="#{action.confirm}"&amp;gt;
              &amp;lt;h:graphicImage value="#{action.icon}"
                rendered="#{not empty action.icon}" /&amp;gt;
              &amp;lt;h:outputText value="#{messages[action.label]}" /&amp;gt;
            &amp;lt;/nxh:commandLink&amp;gt;
          &amp;lt;/nxu:dataList&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/c:if&amp;gt;
    &amp;lt;/nxu:set&amp;gt;
    &amp;lt;nxu:set var="actions"
      value="#{webActions.getActionsList('SUBVIEW_UPPER_LIST_HREF')}"
      cache="true"&amp;gt;
      &amp;lt;c:if test="#{!empty actions}"&amp;gt;
        &amp;lt;div class="action_bar"&amp;gt;
          &amp;lt;nxu:dataList layout="unorderedList"
            var="action"
            value="#{actions}"&amp;gt;
            &amp;lt;a href="#{action.getLink()}"&amp;gt;
              &amp;lt;h:graphicImage value="#{action.icon}"
                rendered="#{not empty action.icon}" /&amp;gt;
              &amp;lt;h:outputText value="#{messages[action.label]}" /&amp;gt;
            &amp;lt;/a&amp;gt;
          &amp;lt;/nxu:dataList&amp;gt;
        &amp;lt;/div&amp;gt;
      &amp;lt;/c:if&amp;gt;
    &amp;lt;/nxu:set&amp;gt;
  &amp;lt;/h:form&amp;gt;

&amp;lt;/div&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that this workaround may stop working as expected on 5.7, where you'll just have to display actions with the category "folder actions".&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2013 18:50:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/tabs-for-folder-with-content-view-problem-with-button-quot-new/m-p/326768#M13769</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2013-05-13T18:50:04Z</dc:date>
    </item>
  </channel>
</rss>

