Breadcrumbs are starving me!

Dear Forum,
This post is about the ADF Breadcrumbs control. I am finding a lot of things wrong with it. It could be that I just don't understand it, or that it is specifically designed for ADF framework applications - and not for ADF Faces applications - but I though I should vent on the off chance there is a benevolent breadcrumbs expet out there.
The control seems brilliant at first brush but I am really having a hard time implementing it so that it does what I need it to do.
For example. First of all, the Label property does not read my message bundle (if you are using just JSF message bundles). You can't say: #{menu.FileOpen}" and expect to get anything back. You have to use literal strings.
But that's not my biggest problem. Here's my issue. I have a site that uses Polymorphism to describe the hierarchical entities in my site. I have Research Institutions that have as children one or more Research Departments; but they could also have Colleges/Divisions below them. A College/Division is made up of one or more Research Departments. You either have RI's that have colleges/divisions that have RD's, or you have RD's directly as a child of the RI - depending upon the school. You with me? I hope so!
So, here's my problem. When I use Breadcrumbs to view a Research Institution - everything is fine. because it is the top level of the entity hierachy. I have a parent ItemNode under to the root and the control behaves beautifully. Okay, so now I (as a user) have a choice, I can either click on either a Research Department, or a College Division as a child of the Research Institution (depending upon the type of Research Institution). The screen should show either the College/Division or the RD depending upon the type of RI.
The issue is, you have to put the destination somewhere in the XML file that describes the hierarchy. I can put the menu destination as a child of the RI for both the College/Division and the RD, but then you would lose the College/Division breadcrumbi if clicked on the Research Department from the main screen. I could put the showRD node underneath the College/Division node so that you had the following XML hierarchy:
showRI --> showCollDiv --> showRD
However, if I do this, and there is no College/Division, I get a stack trace.
What I want to be able to do is have the action method of the XML menu file be evaluated at runtime so that I an put something like this:
action="#{userInfoBean.currentCD eq null ? 'showRI' : 'showCD'} - where the output is a JSF destination.
Having the breadcrumbs being able to at runtime determine where to go would be a very good feature.
Can you do this? Am I in a pickle?
Best regards,
Nigel

Hi,
sounds like an interesting enhancement. For the time being, can you try something like
<af:breadCrumbs var="foo" value="#{menuModel.model}">
<f:facet name="nodeStamp">
<af:switcher defaultFacet="facet1" facetName="#{userInfoBean.currentCD eq null ? 'facet1' : 'facet2'}">
<f:facet name="facet1">
<af:commandNavigationItem text="#{foo.label}"
action="action1"/>
</f:facet>
<f:facet name="facet2">
<af:commandNavigationItem text="#{foo.label}"
action="action2"/>
</f:facet>
</af:switcher>
</f:facet>
</af:breadCrumbs>
Haven't tried this approach, so its just an idea of mine
Frank

Similar Messages

  • Missing Breadcrumbs Caused by Similar File Names

    Using RH9
    Producing both WebHelp and HTML Help (with missing breadcrumbs the same in both)
    Using only the SSL option to generate the breadcrumbs
    As in some previously posted cases, a few topics in a large project are missing breadcrumbs. There are no quotation marks or other unsual characters in the file names or titles. I was able to narrow down one error to something I could fix in a test project.
    In the following HHC entries, the breadcrumbs were missing from the "General Ledger Processing Recap (AM72)" topic when the help was generated. (Everything after the second item is a bookmarked TOC entry, with no breadcrumbs expected, but I left those items in the example in case they make a difference.)
    <item name="General Ledger Options" link="SYSOVER\General_Ledger_Options.htm">
    <item name="General Ledger Processing Recap (AM72)" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm">
      <item name="What is a General Ledger Processing Recap?" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#What_is_a_General_Ledger1">
      </item>
      <item name="Benefits of Using the General Ledger Processing Recap (AM72)" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Benefits_of_Using_the">
       <item name="User-Defined Recap Report" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#User_Defined_Recap_Report1">
       </item>
       <item name="Ease of Defining Interface Data" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Ease_of_Defining">
       </item>
       <item name="Operations Balancing" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Operations_Balancing1">
       </item>
      </item>
      <item name="Components of the General Ledger Processing Recap (AM72)" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Components_of_the">
       <item name="Section" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Section">
       </item>
       <item name="Line" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Line">
       </item>
       <item name="Item" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Item">
       </item>
      </item>
      <item name="Defining the General Ledger Processing Recap (AM72)" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Defining_the_General">
       <item name="Completing Worksheets" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Completing_Worksheets">
       </item>
      </item>
      <item name="Defining the Recap" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Defining_the_Recap">
       <item name="Entering the Recap Definition Online" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Entering_the_Recap">
       </item>
      </item>
      <item name="Defining the Section" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Defining_the_Section">
      </item>
      <item name="Defining the Lines" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Defining_the_Lines">
       <item name="Valid Escrow Source Codes" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Valid_Escrow_Source_Codes">
       </item>
       <item name="Entering the Recap Line Definition Online" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Entering_the_Recap_Line">
       </item>
      </item>
      <item name="Verifying the Recap Definition" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Verifying_the_Recap">
      </item>
      <item name="Building the Recap Definition Files" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Building_the_Recap">
       <item name="Processing Recap Structure Validation Report" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Processing_Recap">
       </item>
       <item name="Printing the Report Structure Validation Report and the Sample General Ledger Processing Recap" link="SYSOVER\General_Ledger_Processing_Recap_AM72.htm#Printing_the_Report">
       </item>
      </item>
    </item>
    </item>
    But when I changed the file name of the parent topic from General_Ledger_Options.htm to GenLdgrOpt.htm, the breadcrumbs appeared correctly in the output for the parent and child topics.
    This stragegy for fixing the breadcrumb problem seems to be hit-or-miss. For example, I've tried the same approach to fix another topic and have had no success so far. Is there anything about how breadcrumbs are generated that would explain how renaming the file would fix the problem?

    Rick,
    I think you are right about the file name length being an important factor, but the cause doesn't seem to be as simple as a too-deep nesting level. I was able to fix the problem in another topic by shortening the file name of the topic that preceded it at the same level.
    The one hard case that remains is a topic that contains a lot of bookmarked subheadings. I found that if I cut that topic's number of subheading TOC entries to 33, the breadcrumbs for the topic worked, but with 34 TOC entries, they did not. My best guess is that there is a limitation of some kind on the internal aggregation of TOC information -- including information about siblings and children.
    By the way, I also tried inserting breadcrumb placeholders, instead of automatically generating them. That caused RoboHelp to crash (instead of just failing to add breadcrumbs to the offending topic). When I removed the placeholder from the bad topic, it worked OK with the other topics.

  • Breadcrumb in BSP is not working when application is called inside Portal.

    Dear All,
                We have implemented SAP Learning Solution by integrating it with SAP EP 7.0.
    We called the BSP Application HCM_LEARNING inside portal  using BSP iView template.
    The problem we are facing is, the breadcrumbs in the BSP application "HCM_LEARNING"  is working fine when it is called as a standalone application. But the same is not working when it is called inside portal framework page.
    Enterprise Portal breadcrumbs are working fine.
    How could we resolve this.?
    Regards,
    Eben Joyson.

    this is the radio button
    <af:selectOneRadio value="#{bindings.Gender1.inputValue}"
                                                     label="#{bindings.Gender1.label}"
                                                     required="#{bindings.Gender1.hints.mandatory}"
                                                     shortDesc="#{bindings.Gender1.hints.tooltip}"
                                                     id="sor5">
                <f:selectItems value="#{bindings.Gender1.items}" id="si7"/>
              </af:selectOneRadio>
    i use this sample
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADF_Insider_Essentials/ADF_Insider_Essential_YesNoRadio/ADF_Insider_Essential_YesNoRadio.html

  • Why are my iTunes sections broken?

    As you can see in the picture, the sections are mislabeld and there are random strings rather that actual names. For instance, Music is listed as TV Shows in the left sidebar. Does anyone now the issue? The window ui buttons are also missing, and any popup windows have the wrong titles. I'm running the latest version of iTunes on Snow Leopard 10.6.8. There were no notable console logs on itunes startup.

    I do not know how Mac OS X handles pipes.
    I know that Tru64 UNIX used local network sockets.  That means it acquired kernel buffers from the networking packet pool.
    Again, I do not know what Mac OS X uses as the underlying layer in the kernel.
    But I think it is a similar resource restriction in the kernel that is affecting your pipes.  I'm guessing maybe GitX was doing something that needed the same kernel buffer resource, and as a result your pipes are starved for buffers.
    I know that is a wishy-washy explanation.

  • Use of the Back button in DBI (vs use of Breadcrumbs)

    I have received the following query from a Customer :
    "The use of the 'breadcrumb' as opposed to the browser 'Back' button. Having used DBI myself, the temptation to use the Back button instead of the breadcrumb is hard to resist! What happens if Back button or the breadcrumbs are used inconsistently? What will the impact be to the displayed data etc?"
    I've tried to find an "official" answer to their question, but, despite searching the latest DBI User Guide (and the associated supplement) for the phrases "Back button" and "breadcrumb", I can find no official mention of the issue. I recollect (vaguely) hearing that the application can "lose context" if the Back button is used indiscriminately. Is there an "official ruling" on whether we advise our Customers to avoid using the Back button ?

    Not sure of the offical stance on this. Once, I found data mismatch issue while using the browser back button in DBI. Suggest them to use the Breadcrumbs for navigation than the back button. Thanks.

  • PHP, MySQL, Breadcrumbs and URL Parameters

    I'm working with several InterAKT extensions to buid a
    dynamic site. I have everything working except for Breadcrumbs --
    which are actually working except that I need to change the URL
    parameter which they are passing WITHOUT altering the recordset
    (which breaks the functionality).
    The site is constructed to include friendly URLS, so although
    all pages are loaded by PK of their category, I've used CONCAT()
    and REPLACE() along with Server-Side Includes from my Table (SSI
    from InterAKT) to generate my URLS.
    Example:
    category_ctg TABLE
    id_ctg name_ctg
    1 Jelly Beans
    2 Vanilla Nut Crunch Bar
    etc.
    For my dynamic menus and my hyperlinks, I pull from the db
    like this:
    SELECT *, CONCAT(REPLACE(name_ctg, ' ', '-'), '?id_ctg=',
    id_ctg) AS newurl FROM category_ctg
    This gives me a URL of
    index.php/Vanilla-Nut-Crunch-Bar?id_ctg=2
    (I also pull from the name_ctg field for my page titles and menu
    names, etc., without the CONCAT() so they read without the '-')
    But, with MX Breadcrumbs I'm limited to the way the php is
    hard-coded in terms of which fields are included: (id_ctg,
    id_parent_ctg and name_ctg) because the breadcrumbs are generated
    from a recordset.inc.php file.
    I can succesfully use the Breadcrumbs "out-of-the-box" and
    end up with this URL:
    index.php?id_ctg=2
    My code for above looks like this:
    <?php if ($totalRows_Breadcrumbs > 0) { // Show if
    recordset not empty ?>
    &gt; <a href="index.php?id_ctg=<?php echo
    $row_Breadcrumbs['id_ctg']; ?>"><?php echo
    $row_Breadcrumbs['name_ctg']; ?></a>
    <?php } // Show if recordset not empty ?>
    and while it works, it's loading a different URL than all my
    other menus and links.
    Alternatively, I can include the catgeory_ctg.name_ctg
    dynamic binding like this:
    <?php do { ?>
    <?php if ($totalRows_Breadcrumbs > 0) { // Show if
    recordset not empty ?>
    &gt; <a href="<?php echo
    $row_Breadcrumbs['name_ctg']; ?>?id_ctg=<?php echo
    $row_Breadcrumbs['id_ctg']; ?>"><?php echo
    $row_Breadcrumbs['name_ctg']; ?></a>
    <?php } // Show if recordset not empty ?>
    <?php } while ($row_Breadcrumbs =
    mysql_fetch_assoc($Breadcrumbs)); ?>
    which gives me a URL of:
    index.php/Vanilla%20Nut%20Crunch%20Bar?id_ctg=9
    Since I can't use CONCAT() value within my script and I can't
    have "%20" in my URLs, I'm trying to find a way of turning my URL
    into:
    index.php/Vanilla-Nut-Crunch-Bar?id_ctg=2
    Is there a way to include the CONCAT() function in the PHP
    script that's generating the URL?
    I've tried using variables in the header to call for a
    consistent URL, without any luck.
    Please keep in mind that my strong suit is design and that my
    working knowledge of PHP and MySQL are limited to what I can
    understand and re-create. I've been pulling out my hair for days on
    this, so some guidance would be
    greatly appreciated.

    The code generated by the Dreamweaver recordset navigation bar automatically adds any existing variables to the end of the query string. The following code (just above the DOCTYPE) comes from a recordset navigation bar on one of my pages:
    $queryString_listAuthors = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_listAuthors") == false &&
            stristr($param, "totalRows_listAuthors") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_listAuthors = "&" . htmlentities(implode("&", $newParams));
    $queryString_listAuthors = sprintf("&totalRows_listAuthors=%d%s", $totalRows_listAuthors, $queryString_listAuthors);
    I haven't tested this, but to eliminate the extra variables in the query string, comment out the whole of the if statement like this:
    $queryString_listAuthors = "";
    if (!empty($_SERVER['QUERY_STRING'])) {
      $params = explode("&", $_SERVER['QUERY_STRING']);
      $newParams = array();
      foreach ($params as $param) {
        if (stristr($param, "pageNum_listAuthors") == false &&
            stristr($param, "totalRows_listAuthors") == false) {
          array_push($newParams, $param);
      if (count($newParams) != 0) {
        $queryString_listAuthors = "&" . htmlentities(implode("&", $newParams));
    $queryString_listAuthors = sprintf("&totalRows_listAuthors=%d%s", $totalRows_listAuthors, $queryString_listAuthors);
    You will need to do that for each of your recordset navigation bars.

  • Breadcrumbs not compatible with multiple instances of a topic in TOC; any solution?

    My master page places a breadcrumb on every page in my project.
    When I add a topic to the TOC in two or more places, and I compile the project and click the second or the nth instance of said topic in the TOC, the TOC always "jumps" to the first instance. I cannot look at the second or the nth instance of that topic in the TOC. (Of course, the text is identical in all n places, but I want to TOC to stay in the branch that the user expects to be.) BUT IF I TAKE THE BREADCRUMB OUT of the master page, the multiple instances of a topic behave perfectly. If I cannot use breadcrumbs, I'll have a huge problem. Can this be fixed?

    Hi there
    My guess is that the breadcrumbs are a red herring. Normally what causes the bizarre jumping around is the fact that the project has been configured to synchronize the TOC with the displayed topic.
    One way past this is to never link more than once to a topic in the TOC. Of course, this causes an issue if you need more than one TOC entry point into the topic, no? So there are a couple of ways past it.
    Use redirect pages that point to the desired topic. This way the Redirect page synchronizes with the TOC and you still see the topic.
    Use an Inline Frame (IFRAME) to display the topic inside another page. Similar to the Redirect technique, but instead of loading another page, you present a page with a window that displays the topic.
    Hopefully something here either helps directly or sparks a thought that does.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Breadcrumbs Home Page Name option is not working

    I'm using RoboHelp 9 and Microsoft HTML Help is set as my Primary Layout. In the Properties dialog box for this layout, I select the "Add Breadcrumbs Links" check box. I do not have breadcrumbs in any of my master pages. I then open the Breadcrumbs Options dialog box and select "Top" from the Home Page Name drop-down list. The breadcrumbs appear correctly in the Preview window (Top > Topic1). I click OK, and then save and generate my layout. It compiles correctly, and the breadcrumbs are placed correctly and working, but instead of using "Top" as the Home Page Name that I selected, they use "Home" (Home > Topic1). What am I doing wrong? Thanks!

    I believe this is a previously identified bug.
    The more people who report a bug or request a feature, the more likely it is to be actioned. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Display drop down in the breadcrumbs region

    How can I display a drop down in the breadcrumbs region on opposite side of the breadcrumb entry? I have played with Displayed and element properties of the drop down but did not made any difference. The Drop down is displaying right below the breadcrumb entry. Any help is greatly appreciated.

    Hi,
    Try:
    1 - Create an HTML region in "Page Template Region Position 1" and set it to Column 2
    2 - In the "Region HTML table cell attributes" setting, put: align=right
    3 - Put your select list in this new region and set the Label Alignment to Right and the Horizontal/Vertical Alignment to Right
    As long as your breadcrumbs are in the region position, they will be on the left and your select list will be on the right as setting the new region to Column 2 splits the row into two cells and the remaining settings above just ensure that everything is displayed to the right of the second column.
    Andy

  • Chm breadcrumbs color blue after upgrading from RH8 to RH9

    RH9, 9.0.1.232
    My project uses breadcrumbs that are generated during compiling. In RH8, the breadcrumbs would be the a.link/a.visited/a.hover color, the links would be underlined, and the topic name + greater than characters would be black. Now, the links are not underlined anymore, and the topic name +  greater than characters have changed to blue, which looks rather ugly  with the styles I use.
    RH8
    RH9
    I have tried using topic style while setting p.breadcrumbs and a.breadcrumbs to red, or not using topic style and setting the color to green (just to make sure the setting had any effect and to distinguish where the color came from). Alas, the blue stays put.
    Inserting the breadcrumbs in the masterpage works as expected. Below two different breadcrumbs are generated, the bottom one one from the master page and the top one during compile:
    The above has been generated with the following settings:
    p.breadcrumbs { color: #ff0000;}
    A.breadcrumbs { color: #ff0000;}
    A:link {
        color: #000000;
        font-weight: normal;
        font-style: normal;
    A:visited {
        color: #808080;
        font-weight: normal;
        font-style: normal;
    A:hover {
        x-on-hover: fontchange(color=#f5841f);
        color: #f5841f;
    Please note that the direct formatting is set to green AND left aligned, neither of which is used in the output. Please also note that blue does not occur anywhere in my settings (css nor direct formatting).
    Where does the blue come from?? And more importantly, how do I get rid of it?? I'd rather not fix something with master pages that wasn't broken in RH8 to begin with. And even if I'm forced to, I still want to know where the blue came from :-)

    Yep, Dutch. But our Windows installation and programs are the English variants.
    <script type="text/javascript" language="javascript">var strHref = document.location.href;
    var bc1=0;
    var n1 = strHref.toLowerCase().indexOf("642b3b9347ca42c9b00b820c00c373fa=");
    if(n1 != -1)
    bc1 = strHref.substring(n1+33);
    document.location.href = strHref.substring(0, n1);
    </script>
    <style title="hcp" type="text/css">
    <!--
    a.hcp1 { font-size:10pt;
    font-style:normal;
    color:rgb(0, 0, 255);
    text-decoration:none;
    text-align:right; }
    span.hcp2 { word-spacing:normal;
    font:6.0pt "Times New Roman"; }
    img.hcp3 { border:none; }
    -->
    </style>
    </head>
    <body>
    <p style="font-family: ; font-size: 10pt;  font-style:normal; color: rgb(0, 0, 255); text-decoration:none; text-align: right"> <a href="../../Introduction/Reference/Welcome.htm" class="hcp1">Home</a> > <a href="Mounting_the_X_Changer.htm" class="hcp1">Installation</a> > <a href="Configuring_the_barcode_reader_software.htm" class="hcp1">Configuring the Software</a> > Calibrating the barcode reader</p>
    <p style="text-align:right;" class="breadcrumbs"><a class="breadcrumbs" href="../../Introduction/Reference/Welcome.htm">Home</a> &gt; <a href="Mounting_the_X_Changer.htm">Installation</a> &gt; <a href="Configuring_the_barcode_reader_software.htm">Configuring the Software</a> &gt; Calibrating the barcode reader</p>
    Strange that in the 2nd line (the master page line) the gray specifically takes over from the red, so the css link properties override the breadcrumbs properties (whether the p.breadcrumbs is placed above or below the a.link). In the web help the reverse is true: the whole line becomes red.
    Same goes for the first line (generated during compile): the gray takes over from the blue that is specifically inserted as in-line formatting.
    In the web help the opposite occurs (as you can see from the screenshot in my previous post): the whole line becomes red (or green).

  • How to add other Links on Right side of Breadcrumb Region

    Hi,
    I want to display some other links like Help, Search, etc... to the extreme right side in the Breadcrumb Menu Region. Left side will have the same default breadcrumb stuff.. like Home -> Emp -> ..
    Any idea if we have to customize the Region Position 1 (default position for Breadcrumb) to acheive this and how..
    Thanks,
    Deepak

    Hi Jari,
    I have tried that.
    I have created a HTML Region, display point - Region Position 1 (same as for Breadcrumb region).... but it's coming in the next line..
    Actually I need to display links on the right side in the same Breadcrumb region in which normal breadcrumbs are dispalyed on the left side..
    something like
       Home -> Dept -> Emp                                                  Help | Searchso breadcrumbs are displayed on the left side as usual and the links I want to display on the right side.
    I am using Theme 13 - Classic Blue
    Thanks,
    Deepak

  • Breadcrumbs in JHeadstart 10.1.2.1

    Dear JHeadstart Team,
    Following the instructions found in chapter 5 of the JHeadstart Developer's Guide I have tried to influence the generation of breadcrumbs in UIX pages generated with JHeadstart 10.1.2.1. The situation I have generated and then post-generation modified is like this. I have a table overview (say, Departments) with an Edit button (Edit Department). I then made a change to have a button that allows to search (Search Department) an existing record before clicking the create button (Create Department). Basically I replaced the create button in the second UIX page to go to the Search page and added a create button in the Search page that leads back to the second page but now in create mode.
    This introduces some unwanted behaviour with the breadcrumbs stack. From the user's point of view, a breadcrumbs list <overview> <edit> <search> <create> is expected. But when clicking the Create button, the breadcrumbs stack is rolled back and the Edit label is modified into Create.
    In order to circumvent this behaviour, I have added
    <set-property property="rollbackBreadcrumbStack" value="false"/>
    to the appropriate actions in struts-config.xml which means that clicking the create button will not rollback the breadcrumbs stack and leave Edit there and add Create after Search. So far so hoopy.
    But this means that ANY action that is related to the Edit/Create action will add another breadcrumb to the stack. When the Edit breadcrumb is clicked after clicking the Create button, another Edit breadcrumb is added to the stack. Moreover, when sorting a table (e.g. a detail table that is shown on the same page as Edit) several times, several additional breadcrumbs are added to the stack.
    I noticed there are separate entries for the Edit and Create labels in the resource bundle of our application and the JHeadstart Developer's Guide mentions this as well (page 5-60). Is there any way of treating Edit and Create separately without creating mile long breadcrumb stacks? If not, are there any plans to make this possible? It will probably very difficult to explain this behaviour to future users of our application you see.
    Thanks in advance,
    Wouter van Reeven
    AMIS

    Wouter,
    Basically, your problem with the breadcrumb mechanism is that there always is only one breadcrumb per DataAction, OR one breadcrumb per "set of" DataActions that have the same "breadcrumbKey" property (so 1:1 or 1:n), but not multiple breadcrumbs for one action (n:1). The first possible solution I gave was to overcome your problem by creating two DataPage, one for New and one for Edit, so that two separate breadcrumbs, one for each DataPage, could be put on the stack. If I understand correctly you did create the second DataPage but used the breadcrumbKey property to have them share a single breadcrumb, while the whole reason for creating a second DataPage was so it could have its own, separate breadcrumb.
    I will put the EL expressions idea on our Enhancements list, but I don't think we will put it in any time soon. We prioritize on a "how many developers will benefit, and how often" basis. Furthermore, my gut feeling is that there will be a lot of "small stuff" to deal with, especially with rolling back, when multiple breadcrumbs in the stack could have originated from a single DataPage.
    It is very possible to create your own BreadcrumbManager, by extending the JhsActionServlet and overriding this method:
    protected boolean processBreadcrumbs(HttpServletRequest request, ActionMapping mapping, ActionForward forward)
    BreadcrumbManager manager = BreadcrumbManager.getBreadcrumbManager(....);
    return manager.processBreadcrumbs(request,mapping,forward);
    You can copy or subclass the three classes in the JhsRuntime that deal with breadcrumbs (they can all be found in the package oracle.jheadstart.util.breadcrumbs, and use your own version instead.
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • Breadcrumbs: Master Page vs. SSL

    I am exploring the option of inserting breadcrumbs as a master page placeholder. But I have noticed that the placeholder version of the breadcrumbs does not offer the same parameters as in SSL. Options for top/bottom and right/center/left are missing.
    I would rather retain more control over this - and the option to make future changes with the more complete parameters in the SSL. However, I don't know if there is some compelling reason to do it in master pages, something that I might not have knowledge of now as I learn these features?
    Any insights would be appreciated.
    Thanks,
    Douglas

    Hi all
    Jeff is correct. When Breadcrumbs are added via the Single Source Layout recipe, they are added to each and every HTML topic. Because you are doing this on a global basis, you see the options for placement.
    When adding them via a Master Page, you are free to insert the placeholder wherever you like on the Master Page. So there is no need to provide placement options as the placement is determined by where you insert the placeholder. Additonally, if using the Master Page method, you may be more choosy about exactly which topics receive the breadcrumbs.
    Cheers... Rick

  • Breadcrumbs on Merged Projects

    Has anybody run into an issue with breadcrumbs in the
    merged merged projects? Our WebHelp is structured as a
    master project with a number of other projects merged into it:
    master.xpj:
    - project1
    - project2
    ----project2.1 (merged into project2)
    - project3, etc
    The breadcrumb works fine for the first two levels:
    Home
    (master) >
    project1 > topic in project1
    We run into the issue on the third level (project2.1):
    Home
    (master)
    undefined
    Home
    (project2) >
    project2 >
    project2.1 > topic in project2.1
    Any way around the undefined part?

    quote:
    Originally posted by:
    Peter Grainge
    Take a look inside the output files. I believe the
    breadcrumbs are hard coded on generation so maybe a find and
    replace would fix it?
    Hi, Peter, thanks for the response. It doesn't apprear that
    the breadcrumbs are hard coded. From what I can tell, the output
    files call the AddMasterBreadcrumbs JavaScript function from the
    whtopic.js file and pass the link information into it. In either
    case, we have a great number of files, and a find and replace
    option would probably not be feasible.
    Still looking for an alternative...

  • Why Are My Unix Pipes Broken?

    Things all over my system have been hanging lately. After some work trying to isolate the problem it seems that after piping some amout of characters the pipe hangs. Initially the magic number of characters was 127 but now it seems to be around 150.
    I created a file, test.txt, consisting of the 'a' character 127 time plus a newline. In terminal I run `cat test.txt` and it works as expected but if I run `cat test.txt | cat` it hangs and I have to Ctrl-C to stop it. If I delete the newline it works correctly but if I replace it with another 'a' it hangs as before.
    I've tried it on other compters and they all work fine so it must be something specific to my machine. I'm just out of ideas of things to try and am looking for help.
    Thanks,
    David

    I do not know how Mac OS X handles pipes.
    I know that Tru64 UNIX used local network sockets.  That means it acquired kernel buffers from the networking packet pool.
    Again, I do not know what Mac OS X uses as the underlying layer in the kernel.
    But I think it is a similar resource restriction in the kernel that is affecting your pipes.  I'm guessing maybe GitX was doing something that needed the same kernel buffer resource, and as a result your pipes are starved for buffers.
    I know that is a wishy-washy explanation.

Maybe you are looking for

  • Error message: "Disk is too slow or System Overload."

    When I try to record from the line-in on my MacBook Pro (2.16GHz, 2GB RAM, 100GB 7200rpm HD), I get after some time (that can range from a few seconds to a few minutes) the error message: "CoreAudio: Disk is too slow or System Overeload. (-10010)". T

  • How to setup my Palm 700wx to connect to the Internet from your computer with the USB

    http://i35.tinypic.com/znx2yw.gif Can I surf using my pda web browser on my 700wx without using my cellular phone for ISP connection? If so, does anyone on here might know how to set this up on a 700wx palm? Thanks again. Message Edited by deeptester

  • Kernel panic on OS X 10.8.3

    Hi, anyone can help me figure out what is happening and what I should do about it? Interval Since Last Panic Report:  982926 sec Panics Since Last Report:          1 Anonymous UUID:                    B38D3258-68B8-BF59-2F8E-2BE95E675809 Thu Jun 13 1

  • What do I do if it says "This is not your main iCloud ID" ?

    I want to set "Find my Iphone" in my Mac but iCloud just lets me set my mail, contacts and calendars because it says "This is not your main iCloud ID" ? What can I do?

  • Create encrypted password for nsmb.conf

    I'd like to store my password in encrypted form in ~/Library/Preferences/nsmb.conf like so: [myserver] address=myserver.com [myserver:user] password=encryptedpasswordhere Unfortunately, I cannot find a tool to create an encrypted password - smbutil d