cancel
Showing results for 
Search instead for 
Did you mean: 

Understanding custom pages navigation issue

spl
Champ in-the-making
Champ in-the-making
Hi.

I have some custom pages that stays (maybe a WDK habit) in (from the root context) :
/custom
/custom/jsp/browse
/custom/jsp/dialog
/custom/jsp/parts
/custom/jsp/sidebar

This is from my client custom client config :

<config evaluator="node-type" condition="ome:folder">
<navigation>
<override from-view-id="/jsp/browse/browse.jsp" to-view-id="/custom/jsp/browse/browse.jsp" />
<override from-outcome="browse" to-view-id="/custom/jsp/browse/browse.jsp" />
<override from-outcome="showSpaceDetails" to-view-id="/custom/jsp/dialog/space-details.jsp" />
</navigation>
</config>

My custom pages are 99% or even copies of originals from the /jsp folder.

At use time, when i get to my custom pages some links seems like "broken" :
- add content
- invite users
- manage users
- import
- export
- …….

In that case, no errors, the same page reloads.

Others like :
- remove
- send mail to users
- ……

are working.

I am logged in as admin.

Thanks for helping.
2 REPLIES 2

gavinc
Champ in-the-making
Champ in-the-making
This is because there a bunch of JSF style navigation rules present (not all parts of the application have been converted to the dialog/wizard framework so the JSF navigation rules are still used).

These rules are based off of the /browse/browse.jsp path. You'll therefore need to duplicate all of these for your new page i.e. /jsp/custom/browse/browse.jsp i presume. The file you need is faces-config-navigation.xml in WEB-INF

Have a look at http://wiki.alfresco.com/wiki/Packaging_And_Deploying_Extensions for ways to override this file in your app.

spl
Champ in-the-making
Champ in-the-making
I was just wondering about this empty faces-config-custom.xml !
Thanks very much.