[ http://jira.nuxeo.org/browse/NXP-398?page=comments#action_15595 ]
Jean-Marc Orliaguet commented on NXP-398:
-----------------------------------------
I guess that if you want the tree view and clipboard to always be visible, it
should be written as:
<cell>
<!-- tree view -->
<fragment type="generic fragment" />
<!-- clip board -->
<fragment type="generic fragment" />
<!-- calendar -->
<fragment type="generic fragment" perspectives="view_calendar" />
</cell>
then what the following does, is that /view_calendar.xhtml switches to the
'view_calendar' perspective
<view id="/view_calendar.xhtml">
<perspective>view_calendar</perspective>
</view>
so if the calendar is always visible then there is a bug ...
> Problem with pespectives (or with me)
> --------------------------------------
>
> Key: NXP-398
> URL: http://jira.nuxeo.org/browse/NXP-398
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Bug
> Security Level: External(All people)
> Components: Web Foundations
> Environment: Eclipse Windows
> Reporter: Andreas Kalogeropoulos
> Assigned To: Jean-Marc Orliaguet
>
> 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".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets