Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-398

Problem with pespectives (or with me)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Web Common
    • Environment:
      Eclipse Windows

      Description

      i added this in nxthemes-setup :
      <cell>
      <!-- tree view -->
      <fragment type="generic fragment" perspectives="default" />
      <!-- clip board -->
      <fragment type="generic fragment" perspectives="default" />
      <!-- calendar -->
      <fragment type="generic fragment" perspectives="view_calendar" />
      </cell>
      ....
      <widget element="page/section[2]/cell[1]/fragment[3]">
      <view>nuxeo5 calendar actions</view>
      </widget>

      and this on ThemesExtension :
      <view name="nuxeo5 calendar actions">
      <format-type>widget</format-type>
      <class>org.nuxeo.theme.jsf.views.JSFView</class>
      <template>incl/user_calendar.xhtml</template>
      <resource>scriptaculous.js</resource>
      </view>
      ...
      <view id="/view_calendar.xhtml">
      <perspective>view_calendar</perspective>
      </view>
      ...
      <!-- perspectives -->
      <extension target="org.nuxeo.theme.services.ThemeService"
      point="perspectives">
      <perspective name="view_calendar">
      <title>Calendar management mode</title>
      </perspective>
      </extension>

      "/user_calendar.xhtml" only containing a String for test ...

      Problem is i can see this test String everywhere , when i expected to see only when i i call "view_calendar.xhtml".
      However i see my two default widget (tree and clipboard) dissapear when i call "view_calendar.xhtml".

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: