on 2007 Feb 09 1:39 PM
Hi all,
i'd like to know what is the different between the properties
<b>com.sap.portal.navigation.showHistory</b> and <b>com.sap.portal.navigation.showBread</b> that you can find in <i>portalapp.xml</i> belonging to <i>com.sap.portal.navigation.pagetoolbar.par</i>.
I have to display a breadcrumbs that show the path of the current iView from root and I don't want to show the history of my navigation.
for example:
<i>Home
Tab1 - Tab2 - Tab3 -</i>
If I navigate from "tab1" to "tab3" my breadcrumb shows
<i>Home --> Tab1 --> Tab3 </i>
but I have to display that changes in this way
Before
<i>Home --> Tab1 </i>
After
<i>Home --> Tab3 </i>
Thanks in advance,
Gianluca Barile.
Hi Gianluca,
The Portal breadcrumb is a history breadcrumb, it's not a structured list of where you are in the moment. To create this hierarchical structure you should work with the tag library. See External Facing Portal for details.
A good place to start is: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2453. [original link is broken] [original link is broken]
See below a code example of the breadcrumb you are looking for:
<%@ tagliburi="NavigationTagLibrary"prefix="nav"%>
<div id="breadcrumb">
<nav:iterateNavNodesInSelectedPath>
<nav:navNodeAnchornavigationMethod="byURL"/>
<nav:ifHasMoreIterations> | </nav:ifHasMoreIterations>
</nav:iterateNavNodesInSelectedPath>
</div>
Cheers,
Marcelo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gianluca,
the difference is primarily the UI; see http://help.sap.com/saphelp_ep60sp2/helpdata/en/8b/c2ca3e76d34e64b3ee0f612755da61/frameset.htm for details (the showHostory is for the dropdown list, the showBread for the breadcrumb element).
> but I have to display that changes in this way
There is no such control within the standard, but you could develop this by your own. Anyhow, the question is if it really makes sense, as your display list also can be read from the chosen navigation points...
Hope it helps
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.