Custom Navigation - pt tags
We are developing completely custom Navigation that is included in Header Portlet - in G6. To accomodate branding etc. I have to set url directly to pages (not communities). I have tried to pass pageID var - no success. What am I doing wrong? I try to use Adaptive pt Tags - no success.Let's say I have pages - Home, About us, Contact etc
Why don't you try using the pt:openerlink tag. There's documentation online. It lets you open an Portal object (such as a community or mypage) by referencing it's object and class IDs.
-- Don
Similar Messages
-
Hi,
We would like to add left side custom navigation in Oracle Webcenter Interaction (ALUI 6.5 version) portal pages. We know the portal offers us to add navigation at the top of the page by adding header. Is there a way we can add left side navigation coverting some space on the left the whole page?
Thanks.Yep, it is definitely possible.
Through code you have access to communities, pages, sub-communities and related communities.
You need to create a portlet either remotely (.net/java) or through Publisher, code the navigation within it, then set your experience definition "Navigation Options" to "Portlet Ready Navigation" - but only change that once you are content with your portlet navigation as this will wipe out the out of the box nav and you might not be able to access certain things. I don't recommend changing this setting on your admin accounts experience definition out of safety.
Let us know if there is anything in particular you are trying to do.
I recently made a blog post about a new navigation that we are using. We replaced our combo of header and left column navigation with just header navigation and so far folks seem to prefer it. Here is the post:
http://xuexideshengsuo.blogspot.com/2010/12/oracle-webcenter-interaction-page.html
Here is some starter code that might help.
This gets all of the communities a person has added (or that are mandatory) and adds them to the commmenu array.
Then it loops through that array and spits out a link for each one.
<pt:ptdata.mycommunitiesdata pt:id="commmenu"/>
<pt:logic.foreach pt:data="commmenu" pt:var="element">
<pt:core.html pt:tag="a" href="$element.url"><pt:logic.value pt:value="$element.title" /></pt:core.html>
</pt:logic.foreach>
This gets all of the pages a person has access to for the community they are currently on and then displays them.
<pt:ptdata.currcommunitypagesdata pt:id="commmenu"/>
<pt:logic.foreach pt:data="commmenu" pt:var="commpg">
<pt:core.html pt:tag="a" href="$commpg.url"><pt:logic.value pt:value="$commpg.title"/></pt:core.html>
</pt:logic.foreach>
user577794 wrote:
Hi,
We would like to add left side custom navigation in Oracle Webcenter Interaction (ALUI 6.5 version) portal pages. We know the portal offers us to add navigation at the top of the page by adding header. Is there a way we can add left side navigation coverting some space on the left the whole page?
Thanks. -
What are the ways to develop custom navigation in ALUI?
Hi,
Is there any way to develop custom navigation other then using
UI Customization installer , Liquid Skin and Adpative Tags.
With Regards
DheerajYes, you can as suggested in previous post. The key is that:
1) You can disable standard portal navigation (part of Exp Def)
2) Develop your own PORTLET that will implement custom navigation.
Depends of what you need your portlet may be implemented as header, canvas or regular portlet.
For example, you may choose to go with regular portlet if you already have a lot of legacy code that have to drive this navigation. Yes, this way has drawbacks and looks more like exception.
Edited by Bryazgin at 05/21/2008 3:18 AM -
How to create custom navigations
Hi
I want to create a custome navigation with some link like detailed navigation. When i click on links my iviews has to change. How to do this?
Regards
Ravi Shankar BHi,
If you want to create your own detailed navigation, then you should use navigation tablibs to do that, check this to know more:
EFP: Working with the new Taglibs - Part 3
EFP: Navigation and Framework Tag Libraries
If this is not what you want, explain the usecase clearly.
Regards,
Praveen Gudapati -
Adding custom navigation rules results in strange behavior
Hello,
We'd like to add navigation rules to our application. To avoid post-JHeadstart-generation-steps we created an extra faces-config-custom.xml file which contains the navigation rules. When adding this file to the web.xml and run the aplication we encounter strange behavior
- Errors are shown in duplicate
- 'Transaction completed' messages are not shown
Try adding the underneath faces-config-custom.xml to a standard HR demo project and you will get the same behavior.
(1) What is the reason of this strange behavior?
(2) How can we add custom navigation rules, without having to do post creation steps?
Regards Leon
[faces-config-custom.xml]
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
"http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config xmlns="http://java.sun.com/JSF/Configuration">
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>BezwaarVerzoeken</from-outcome>
<to-view-id>/pages/inboeken/BezwaarVerzoeken.jspx</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>LosseOpdrachten</from-outcome>
<to-view-id>/pages/inboeken/LosseOpdrachten.jspx</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
[Add faces-config-custom.xml to web.xml]
<context-param>
<param-name>javax.faces.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config-custom.xml,...Leon,
When you perform a drag and drop operation, JDeveloper adds the following lines to the faces-config.xml:
<lifecycle>
<phase-listener>
Oracle.adf.controller.faces.lifecycle.ADFPhaselistener
</phase-listener>
</lifecycle>
However, JHeadstart uses its own subclass of ADFPhaselistener, and defines the lifecycle element in JhsCommon-beans.xml. Due to a bug in ADF, ADF does not look for the lifecycle element in other files than faces-config, and adds its own element in faces-config.xml If you remove these lines, everything works fine again.
To prevent this from happening again, you can move the following entry from JhsCommon-beans.xml to faces-config.xml:
<lifecycle> <phase-listener>oracle.jheadstart.controller.jsf.lifecycle.JhsADFPhaseListener</phase-listener>
</lifecycle>
And then make a custom template for JhsCommon-beans.vm where you remove this entry.
Steven Davelaar,
JHeadstart team. -
Adding custom navigation to the script
One of the scripts which I am preparing at the moment is giving me some problems.
This script has 5 nodes. In the first three, a new user account is created, and in the 3rd node I get a special user ID (it can be found in the pages html source).
Then the 4th node navigates to an absolutely unrelated page, and the user ID I get from node 3 is used to construct the address for node 4. And node 5 just does more work on that page which I navigate to in node 4.
As such, I have to use a custom navigation here, which can be implemented, if I am not mistaken, with provided the e-Load Navigation Editor. I do all the steps mentioned in the manual, and it all seems clear and well described. But when I try to run run that node 4 I get something like
http://mysiteaddress/clever.page?&sp={{UserId[3]_#_Uo2k0k4g0000hk464a1h0000000}}&sp=en
i.e. the substitution in the address with that custom variable somehow fails, and I get the regular expression code as the output instead of the processed expression. UserId[3] is the variable defined on step 3, which contains the id I mentioned.
Anyone knows what could be the problem here?
I know how to do that with PI, but I would like to try and use the Navigation Editor first.Can you try this "session.serverVariables.VARIABLENAME"
-
T.code FKMT: the customizing navigation to create new variants ...
Hi All,
with reference to t.code FKMT (Account Assignment Model) could anyone show me the customizing navigation to create new variants in the screen template (from menù: seetings/screen template) ?
Thanks
Gandalfplease check
http://sap.ittoolbox.com/groups/technical-functional/sap-acct/screen-template-define-in-tcode-fkmt-2375586
http://iris.tennessee.edu/BPP/FI/Finance%20&%20Controlling/FI_GL_FKMT_FI%20acct%20assnmt%20model%20mgmt.doc.
hopes it helps
Edited by: Jose Lastra on Oct 26, 2008 1:01 PM -
Could anyone show me the customizing navigation for Manual Accruals?
Hi All,
Could anyone show me the customizing navigation for Manual Accruals?
ThanksHi,
These tow links are very use full not only for manual accrual but also new ear of Accrual Engine.
https://websmp110.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700006312672006E
https://websmp110.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000264642007E
Regards
Javed -
Hi All,
T.code O7Z3: could anyone show me the custom. navigation on the t.code O7Z3?
I've SAP ECC 6.0
Thanks
GandaldHi,
SPRO --> IMG --> Financial Accounting(New) --> Account Receivables and Account Payables --> Vendor Accounts --> Line items --> Display Line items --> Display Line items without ALV --> Define Line Layout (O7Z3).
Hope this helps..
Regards,
Praisty -
Create Search Custom Navigation Link
Good day everyone.
I' am trying to add custom navigation link under main search box - like everything, people and others in search center site
After searching a little bit a have found that you need to create a custom page
For example this is a default page for Document Navigation
<%@ Page Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Reference VirtualPath="~TemplatePageUrl" %> <%@ Reference VirtualPath="~masterurl/custom.master" %><%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"><head>
<!--[if gte mso 9]><SharePoint:CTFieldRefs runat=server Prefix="mso:" FieldList="FileLeafRef,Comments,PublishingStartDate,PublishingExpirationDate,PublishingContactEmail,PublishingContactName,PublishingContactPicture,PublishingPageLayout,PublishingVariationGroupID,PublishingVariationRelationshipLinkFieldID,PublishingRollupImage,Audience,PublishingIsFurlPage,PublishingPageImage,PublishingPageContent,SummaryLinks,SummaryLinks2,SeoBrowserTitle,SeoMetaDescription,SeoKeywords,RobotsNoIndex"><xml>
<mso:CustomDocumentProperties>
<mso:PublishingContact msdt:dt="string">1073741823</mso:PublishingContact>
<mso:PublishingIsFurlPage msdt:dt="string">0</mso:PublishingIsFurlPage>
<mso:display_urn_x003a_schemas-microsoft-com_x003a_office_x003a_office_x0023_PublishingContact msdt:dt="string">Системная учетная запись</mso:display_urn_x003a_schemas-microsoft-com_x003a_office_x003a_office_x0023_PublishingContact>
<mso:PublishingContactPicture msdt:dt="string"></mso:PublishingContactPicture>
<mso:RobotsNoIndex msdt:dt="string">0</mso:RobotsNoIndex>
<mso:PublishingContactName msdt:dt="string"></mso:PublishingContactName>
<mso:ContentTypeId msdt:dt="string">0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390064DEA0F50FC8C147B0B6EA0636C4A7D4008344988E12D6E64F96A115ED92A7F228</mso:ContentTypeId>
<mso:PublishingPageLayoutName msdt:dt="string">SearchResults.aspx</mso:PublishingPageLayoutName>
<mso:Comments msdt:dt="string"></mso:Comments>
<mso:PublishingContactEmail msdt:dt="string"></mso:PublishingContactEmail>
<mso:PublishingPageLayout msdt:dt="string">http://mip-portal/_catalogs/masterpage/SearchResults.aspx, Search Results</mso:PublishingPageLayout>
<mso:RequiresRouting msdt:dt="string">False</mso:RequiresRouting>
</mso:CustomDocumentProperties>
</xml></SharePoint:CTFieldRefs><![endif]-->
<title>share</title></head>
Are there some manuals how to create a custom pages like this?
Thanks in advanceYou mean like this?
http://richardstk.com/2013/05/03/create-a-search-tab-in-sharepoint-2013/ -
Custom navigation service - 2 questions
Hi,
I have made a custom navigation service based on the PDK navigation connector example.
It comes in two flavours, both XML data and database data based.
The DB variant is far more flexible, however, when the service is loaded, the JNDI name for the datasource cannot be retrieved.
Question 1: Could this be the custom navigation service is loaded before the JNDI/JDBC service is loaded, and if so, is there a way to set the startup order?
The XML variant needs maintanance (updating the XML), and therefore refreshing/restarting the service.
However, when restarting the service, the new XML isn't loaded into the server, but it seems to use the old (cached?) version.
Question 2: Is there a way to force the service to use the updated XML file?
Hope someone can come up with a solution for either of these questions.
A workable solution will be rewarded with a can of beerHi,
(1) If your service calls to another service, you must do the call in the afterInit() method, because you do not know what service will be initialized first.
(2) Are you using SP14 or greater? In this cache, there is a navigation cache, and the nodes will come from the navigation cache, which will not change.
(3) How and when do you read the XML? Perhaps the XML is not getting read in subsequent registrations.
Hope this helps.
Daniel -
Create a Custom Navigation Path / Custom Hierarchy in IDT
Hi,
I have a Bex query and hierarchy built on Navigational attributes (In other words Flat Hierarchy) but my users dont like the way hierarchy is set up when we execute the report. Bex query is built on MP. For example, In the Bex query designer I can see my Product dimension and in that dimension I can see various characteristics / nNav attributes which are used to display flat hierarchy in the report when executed.
I know we can customize the hierarchy in IDT as a custom navigation path.
My question is that Is it possible to use Bex query as a source for universe in IDT and then achieve this customize hierarchy objective OR Can I directly use the Bex query for Webi interface and still customize the hierarchy like Custom Navigation path.
Can I see my Navigational attributes of Bex query in the universe (IDT) OR Webi as dimension so I can use them for custom navigation path.
We are using BOBJ 4.1 SP 1
Thank you
NIHi,
you can build a Universe on a BEx Query to leverage the OLAP functionalities. You can create a relational Universe on top of a BEx Query but this is not really recommended.
I would highly recommended you connect WebI directly to your BEx Query using the BICS interface. With the BICS interface we support more BEx Elements as via the relational Universe.
Regards
-Seb. -
Hi all,
I am trying to implement a custom "for loop tag". But it seems to me that there is a type conversion problem. I've tried many ways to fixed it but I still cannot get it to work. I've dug through my books, searched the internet and this forum but I can't found anythig useful. I am really lost now! Can anyone help me with this? Many many many thanks!!
loopTag.jsp
<%@ taglib prefix="myTag" uri="/WEB-INF/myTag.tld" %>
<% int num=5; %>
<myTag:loop index="i" count="<%=num%>">
body1here: i expr: <%=i%> i property: <jsp:getProperty name="i" property="value"/> <br>
</myTag:loop>
myTag.tld
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>simple</shortname>
<tag>
<name>loop</name>
<tagclass>myTag.LoopTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>for loop</info>
<attribute>
<name>index</name>
<required>true</required>
</attribute>
<attribute>
<name>count</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
LoopTag.java
package myTag;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.util.Hashtable;
import java.io.Writer;
import java.io.IOException;
public class LoopTag extends BodyTagSupport {
String index;
int count;
int i=0;
public void setIndex(String index){
this.index=index;
public void setCount(String count){
this.count=Integer.parseInt(count);
public int doStartTag() throws JspException {
return EVAL_BODY_TAG;
public void doInitBody() throws JspException {
pageContext.setAttribute(index, i);
i++;
public int doAfterBody() throws JspException {
try {
if (i >= count) {
bodyContent.writeOut(bodyContent.getEnclosingWriter());
return SKIP_BODY;
else{
pageContext.setAttribute(index, i);
i++;
return EVAL_BODY_TAG;
catch (IOException ex) {
throw new JspTagException(ex.toString());
Error message:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 4 in the jsp file: /loopTag.jsp
Generated servlet error:
The method setCount(String) in the type LoopTag is not applicable for the arguments (int)
An error occurred at line: 5 in the jsp file: /loopTag.jsp
Generated servlet error:
i cannot be resolved
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.11 logs.I took the custom for-loop one step further and now it can be nested with in other for-loop.
Hope this is the last time I have to reinvent the wheel. Now I REALLY apprecate JSTL!!
loopTag.jsp
<%@ taglib prefix="myTag" uri="/WEB-INF/myTag.tld" %>
<% int row = 5; %>
<% int col = 5; %>
<table border=0>
<myTag:loop index="i" count="<%= row %>">
<tr>
<myTag:loop index="j" count="<%= col %>">
<td>index: i=<myTag:printIndex parentLevel="2" /> j=<myTag:printIndex parentLevel="1" />, <br></td>
</myTag:loop>
</tr>
</myTag:loop>
</table>
myTag.tld
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>simple</shortname>
<tag>
<name>loop</name>
<tagclass>myTag.LoopTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>for loop</info>
<attribute>
<name>index</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>count</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>printIndex</name>
<tagclass>myTag.LoopPrintTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>for loop print</info>
<attribute>
<name>parentLevel</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>
LoopTag.java
package myTag;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.util.Hashtable;
import java.io.Writer;
import java.io.IOException;
public class LoopTag extends BodyTagSupport {
String index;
int count;
int i=0;
public void setIndex(String index){
this.index=index;
public String getIndex(){
return String.valueOf(pageContext.getAttribute(index));
public void setCount(int count){
this.count=count;
public int doStartTag() throws JspException {
i = 0;
return EVAL_BODY_TAG;
public void doInitBody() throws JspException {
pageContext.setAttribute(index, i);
i++;
public int doAfterBody() throws JspException {
try {
if (i >= count) {
bodyContent.writeOut(bodyContent.getEnclosingWriter());
return SKIP_BODY;
else{
pageContext.setAttribute(index, i);
i++;
return EVAL_BODY_TAG;
catch (IOException ex) {
throw new JspTagException(ex.toString());
LoopPrintTag.java
package myTag;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.io.*;
import javax.servlet.*;
public class LoopPrintTag extends BodyTagSupport {
private int parentLevel = 1;
public int doStartTag() throws JspTagException {
LoopTag parent = (LoopTag)findAncestorWithClass(this, LoopTag.class);
for(int i=1; i<parentLevel; i++){
parent = (LoopTag)findAncestorWithClass(parent, LoopTag.class);
if (parent == null) {
throw new JspTagException("print not inside loop");
else{
try {
JspWriter out = pageContext.getOut();
out.print(parent.getIndex());
} catch(IOException ioe) {
System.out.println("Error in printTag: " + ioe);
return(SKIP_BODY);
public void setParentLevel(int _parentLevel){
if(_parentLevel > 0){
parentLevel = _parentLevel;
Output:
index: i=0 j=0, index: i=0 j=1, index: i=0 j=2, index: i=0 j=3, index: i=0 j=4,
index: i=1 j=0, index: i=1 j=1, index: i=1 j=2, index: i=1 j=3, index: i=1 j=4,
index: i=2 j=0, index: i=2 j=1, index: i=2 j=2, index: i=2 j=3, index: i=2 j=4,
index: i=3 j=0, index: i=3 j=1, index: i=3 j=2, index: i=3 j=3, index: i=3 j=4,
index: i=4 j=0, index: i=4 j=1, index: i=4 j=2, index: i=4 j=3, index: i=4 j=4, -
The customizing navigation for V_T001F
Hi All,
could anyone show me the customizing navigation for V_T001F???
ThanksDear Rossi,
IMG --> Define Form Names for Correspondence Print
I hope this helps.
Mauri -
The customizing navigation for transaction type 165
Hi All,
Could anyone show me the customizing navigation for transaction type 165?
Thanks a lotHi,
transaction AO73:
CU:
-> Asset Accounting
-> Transactions
-> Acquisitions
-> Define Transaction Types for Acquisitions
regards Bernhard
Maybe you are looking for
-
I've tried using multiple cords to connect to a computer, I've tried multiple computers, I've tried resetting all my settings on my IPhone, I've reinstalled and redownloaded itunes, and I've completely updated my iPhone and iTunes. Nothing works. I'm
-
My steps (iPhone 4S): 1. Settings > Wi-Fi. 2. Tap on my wireless network. 3. Enter password. 4. Tap "Join". Result: A message comes up with zero delay, saying that it was unable to join the network. No further infromation is provided. 100% positive t
-
Why wont PS CS5 open NEF files from a Nikon D600
I have PS CS5 and I recently updated my camera to a Nikon D600. I shoot in RAW and when I tried to open photos to edit, PS said I needed to update my Camera Raw plugin. I found the most recent plugin for CS5 and photos still won't open What do I need
-
I can't extracts the records in list (grid)
DECLARE CURSOR CUR_FET IS SELECT * FROM item_reservation_temp; t_var item_reservation_temp.t%type; BEGIN GO_BLOCK('item_reservation'); FIRST_RECORD; OPEN CUR_FET; LOOP FETCH CUR_FET INTO T_VAR; EXIT WHEN CUR_FE
-
Hi all, As per my client requirement I have to write one validation like if postings should not happen more than the 2 days ago of current date. Eg if Posting date is 20.05.2011 system should not allow postings less than 2 days of 20.05.2011 means wh