Train stop icon display issue

I am using Jdeveloper 11.1.1.4.0
Is there any way we can set the icons for each train stop in a programmatic way in the <af:train> component ?
I have a custom train model class that extends TrainStopModel and provides getIcon() method.
When I tried to use the nodeStamp option, icons are getting displayed twice ( one line below another) in a horizontal layout
<af:train var="node" value="#{viewScope.StepTrain}" id="train">
<f:facet name="nodeStamp">
<af:commandNavigationItem
text="#{node.label}"
disabled="#{node.disabled}"
visited="#{node.visited}
icon="#{node.icon}"
id="commandNavigationItem"
/>
</f:facet>
</af:train>
And if I don't use the "nodeStamp", ADF is not displaying the custom icons at all.
Component document says this component offers alert icon customization. How can we use that ( i.e how to set the status of a train stop to error, warning etc.) ?

Hi,
I have implemented train bar functionality with icons for each train stop using navigationPane.
The sample can be found at: http://andrejusb.blogspot.in/2011/12/adf-train-apply-custom-train-stop-icons.html
Check if it works for you.
-Rathnam

Similar Messages

  • Change af|train::stop-icon-visited_hover in PS6

    Hi:
    I am using PS6. I want to change the train icon to be our custom icons.
    I found that I have problem getting rid of the background image in the css class: .af_train_stop-icon-unvisited:hover and .af_train_stop-icon-visited:hover
    I tried to select the style af|train::stop-icon-visited_hover on the demo page: (http://jdevadf.oracle.com/adf-richclient-demo/faces/components/skinningKeys/train.jspx?), but it does not seem to have any effect. Is it a bug? Thank you!

    Hi,
    the skinning documentation is quite clear on the skin selector:
    +"af|train::stop-icon-visited      +
    +To set the background image for a visited stop. Use pseudo-classes :hover and :active to customize look."+
    af|train::stop-icon-visited:hover not af|train::stop-icon-visited_hover
    Frank
    Btw.: PS6 is not yet available to public. This is a public customer facing forum. Apparently you are from Oracle and have access to internal builds. Can you stop posting questions about non-public bui`lds on this forum?

  • Icon Display Issue

    I am having an issue where my icons display as if their contrast was too high. The background, dock, .jpgs and movies all display normally but all the icons look as if a white filter where in front of them.
    What precipitated this problem was I ran an application that caused the contrast in Universal access to max out. I manually turned this down and everything else looks ok but the icons never went back to normal. It is only an issue on this account in my other accounts the icons display normally.
    I have updated video drivers. I have restarted my machine. I have check all the display properties and they look ok (monitor is calibrated and is using millions of colors).
    Is there some plist or set of preferences in a account that may control the display behavior of icons or items on the desktop? I am at a loss as to where I should proceed from here. Any help would be appreciated. Thanks
    G5   Mac OS X (10.4.3)   ATI X800 \ RAM 500 \ Apple Cinema 20"

    Anyone even have a guess ... ? Just looking for some ideas.

  • Capturing the event on clicking the af:train stop icon

    We are using an af:train as follows
    <fnd:applicationsPanel>
    <f:facet name="appsPanelTrain">
    <af:panelGroupLayout layout="horizontal" halign="center"
    id="panelGroupLayout2">
    <af:train value="#{controllerContext.currentViewPort.taskFlowContext.trainModel}"
    id="train1"/>
    </af:panelGroupLayout>
    </f:facet>
    </fnd:applicationsPanel>
    I see the train stops on top of my page as expected. I can skip the train stops by directly clicking on the stops on top of the page.
    Is there a way to capture the event of this click?

    This should help
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/97-deferred-trainstop-navigation-1528557.pdf

  • File Icons display issue

    I am using File.icon property to get the icon bitmap image of
    a file.
    File Icons are not displayed when the operating system
    display property setting is in 16-bit color mode or 24-bit color
    mode. When the display property setting is changed to 32-bit color
    mode file icons is displayed.
    System Configuration:
    Windows XP (SP2)
    1 GB RAM
    INTEL P4, 2.8 GHz Processor Speed.
    AIR Runtime 1.1
    Flash Player 9.0.115.
    Can any one explain that is there any issue with Flash Player
    or AIR runtime?

    It sounds like it may be a bug, which you can report via
    www.adobe.com/go/wish. Providing a sample would be helpful.

  • Train stop label wrapping issue?

    Hi,
    I have a vertical train in my page and it renders like the following:
    * Step 15 Update
    Service Request
    * Step 16 Create
    Test Manual Request
    * Step 18 Create
    New ITAS Softward Change Record
    What I want is that the text in each train node DOES NOT wrap, like this:
    * Step 15 Update Service Request
    * Step 16 Create Test Manual Request
    * Step 18 Create New ITAS Softward Change Record
    This train is inside this layout: panelAccordion=> panelStretchLayout:
    Here is the code snipplet:
    <af:panelAccordion id="pa1" styleClass="AFStretchWidth"
    discloseNone="true">
    <af:showDetailItem text="Flow Steps &amp; Parameter Assignments"
    id="sdi32">
    <af:panelStretchLayout id="pg115">
    <f:facet name="center">
    <af:group id="g7">
    <af:train var="node"
    value="#{viewScope.customTrainModel}"
    layout="vertical" id="train"
    rendered="true"
    styleClass="AFStretchWidth">
    <f:facet name="nodeStamp">
    <af:commandNavigationItem text="#{node.label}"
    action="openParamAssignPopup"
    immediate="#{viewScope.CustomTrainModel.immediate}"
    disabled="#{viewScope.CustomTrainModel.readOnly}"
    visited="#{viewScope.CustomTrainModel.visited}"
    id="commandNavigationItem"
    windowHeight="#{session_resourceProfile.popupHeight}"
    windowWidth="#{session_resourceProfile.popupWidth}"
    useWindow="true"
    actionListener="#{session_flowBean.refreshTrain}">
    </af:commandNavigationItem>
    </f:facet>
    </af:train>
    </af:panelStretchLayout>
    </af:showDetailItem>
    </af:panelAccordion>
    Any ideas/help are appreciated.
    Thanks
    -Mina

    I tried wrapping af:commandNavigationItem with a panelGroupLayout layout set to horizontal, then set its width to e. g. 200px. It has error. It's not allowed. Then I tried wrapping the af:train with a panelGroupLayout layout set to horizontal, then set its width to e. g. 200px. Still does not work. The text of the train node still wraps.
    Any other ideas?
    Thanks
    -Mina

  • Ran Stellar defrag on a bootable CD. It was a (supposedly) successful defrag but the only way I could close the software was to manually shut down my mini. Now I can't get the mini to restart...it just spins until the stop icon comes on the screen?

    Ran Stellar defrag from a bootable CD. It was a successful defrag but when I tried to quit the program, it wouldn't respond. I finally had to manually turn off the mini. Now the mini won't restart...it attempts to for several minutes & then the stop icon displays. I have tried holding down the option key during restart & selecting the hard drive but get the same results. The Stellar people tell me it is a Mac issue. Help!

    Does it boot from the Restore Partition?
    Bootup holding CMD+r, or the Option/alt key to boot from the Restore partition & use Disk Utility from there to Repair the Disk, then Repair Permissions.
    If that doesn't help Reinstall the OS.

  • Difficult to input train-stop display-name

    Hi, experts,
    In jdev 11.1.2.3,
    When i try to input train-stop display-name in the Property inspector palette,
    I do have input the name string (and leave mouse from the Display name field to ID field) and click the save button in jdev,
    but infact this display name has not been saved, next time when i come back from some where to view it, it's empty.
    And I have stopped the running of app, the computer is OK(not hanging), jdev can do other works. but this issue happens several time today (some time it can work), rather difficult to input display name.
    (This issue also happens sometime on VO's hint field inputs).
    Is that a bug of jdev? some one else has met with it? or just a mirage of me?
    Thanks.

    Hi, Timo and Vinay
    Yes, I do have tried press enter key or leave the mouse to another field on the same pallette.
    but the "Save" button didnot enabled, and i have to press the "Save all" button. and cannot be saved in fact.
    This issue not always happens, but i have met many times today.
    Thanks.

  • Train-stop display-name property bug?

    Hi all,
    I'm using JDeveloper 11.1.1.4.
    When using train taskflow with fragments I noticed that when I enter Display name property on view (train stop) it doesn't appear as train stop title on page at all.
    When I enter Display name in property inspector it generates code like this:
    <view id="configuration">
        <display-name id="__3">#{bundle.configuration}</display-name>
        <page>/views/configuration.jsff</page>
        <train-stop id="__5"/>
    </view>After moving display-name tag inside train-stop it looks like this:
    <view id="configuration">
        <page>/views/configuration.jsff</page>
        <train-stop id="__5">
          <display-name id="__3">#{bundle.configuration}</display-name>
        </train-stop>
    </view>and it works fine (displays in af:train component on page).
    Is this a bug or by design?
    As far as I remember this worked fine before 11.1.1.2?

    Hi,
    this is bug 11821340
    Frank

  • Change the language in the display-name of a train stop

    Hello,
    does anybody know how to use internationalization in the <display-name> of a train stop?
    Bye

    Hi,
    I use the default model, and when trying to set the Display Name in the View Properties (a train stop), in the train task flow, i can not select a resource boundle key in the expression builder.
    If I set something like:
    <view id="datosRegistro">
    <page>/registro/datosRegistro.jsff</page>
    <train-stop>
    <display-name>#{viewcontrollerbundle['trainlabel']}</display-name>
    </train-stop>
    </view>
    Nothing appears in the train stop label.
    Of course, I have register the resource bundle in faces-config.xml file
    Thanks

  • Display train stops programatically/conditionally

    Hi,
    i would like to achieve the following using jdev 11.1.1.7:
    i am using the following code to navigate across my train:
                    <af:commandNavigationItem text="#{trainNode.textAndAccessKey}"
                                              id="cni1"
                                              visited="#{trainNode.visited}"
                                              disabled="#{trainNode.disabled}"
                                              action="#{trainNode.action}"
                                              selected="#{pageFlowScope.trainStopBean.currentTab}"
                                              icon="#{pageFlowScope.trainStopBean.trainStopImage}"
                                              styleClass="bodyText"/>
    based on when user selects value on SOC component i want to disable 2 of the middle train stops.
    how can this be achieved?
    thanks

    Check out this article Oracle ADF: All Aboard
    and http://www.oracle.com/technetwork/developer-tools/adf/learnmore/80-dyn-sequential-config-train-387002.pdf
    Timo

  • 'Stop' icon (no text) will not display if beside address on left side.

    I customized Nav tool bar by moving all icons to left end and in 'Show' picked icons only (no text). The 'Stop' icon is there while Customize is open but when 'Done' is clicked, 'Stop' icon disappears. You can put the 'Stop' icon anywhere else and it remains, but not next to the left side of address. How can I fix this?

    That is intended. You only see the Bookmarks Menu button if the menu bar is hidden.
    Firefox 4 has two bookmark buttons with a star in the Customize window.<br />
    One star button has a drop marker that open a Bookmark menu.<br />
    The other star button without the drop marker opens the bookmarks in the sidebar.<br />
    <br />
    You can drag the Bookmarks menu button with the drop marker in the Customize window from the toolbar palette on a toolbar (e.g. Navigation Toolbar or Tab Bar or to the left side of the Bookmarks Menu Items).<br />
    You only see the Bookmarks menu button if the menu bar is hidden.<br />
    If the bookmarks toolbar is visible then the default bookmarks menu button will appear on the right hand side of the Bookmarks Toolbar as part of the Bookmarks Toolbar Items.
    Firefox 4 uses a combined Stop/Reload/Go button that is positioned at the right end side of the location bar.
    To move the Stop and Reload buttons to their position to the left of the location bar you can use these steps:
    * Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    * Drag the Reload and Stop buttons to their previous position to the left of the location bar.
    * Set the order to "Reload - Stop" to get a combined "Reload/Stop" button.
    * Set the order to "Stop - Reload" or separate them otherwise to get two distinct buttons.

  • Train Stop Lables not Visible

    Hi All,
    I'm using Jdeveloper REL1 PS2 with ADFBC
    I'm having a problem getting my train stop labels to render. Besides the train stop label not being visible, everything else is working as advertised. I can navigate though the train stops, the data on my pages appears as expected.. etc.
    Here is what I've done so far:
    1. I created a bounded taskflow with page fragments and checked "create train" checkbox.
    2. In my task flow, I've assigned *<display-name>* values to each view activity participating in the train. See code below. According to the documentation I've read, this is what I need to set to label my train stops. However, when I run my task flow in a region, the the labels are not visible.
    I've read section 18.8 in the Fusion Developer's guide, I've followed examples in these two blogs:
    http://biemond.blogspot.com/2007/11/taskflow-train-in-jdeveloper-11g.html
    http://biemond.blogspot.com/2008/06/advanced-taskflow-train-features.html
    I've read previous posts regarding this issue like the this one:
    Re: Creating ADF Train
    Which states *"In Task flow click the View activity in structure window Right click Choose > insert inside > Display name and set the value to it."*
    I also went through the train taskflows and pages in the Fusion Order Demo app and I cannot see how my implementation of the taskflow or how I'm adding the af:train component to my .jsff pages is different from the examples that I've found.
    Any help would be appreciated. Thanks!
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <task-flow-definition id="EditEventTrainFlow">
        <default-activity id="__34">EditEventDetail</default-activity>
        <transaction id="__15">
          <new-transaction/>
        </transaction>
        <data-control-scope id="__16">
          <isolated/>
        </data-control-scope>
        <view id="EditEventDetail">
          <display-name id="__10">Edit Event</display-name>
          <page>/oracle/ou/oep/ui/pages/fragments/EditEventDetail.jsff</page>
          <train-stop id="__9"/>
        </view>
        <view id="EditEventRoomAssignments">
          <display-name id="__38">Assign Rooms</display-name>
          <page>/oracle/ou/oep/ui/pages/fragments/EditEventRoomAssignments.jsff</page>
          <train-stop id="__11"/>
        </view>
        <task-flow-return id="Submit">
          <outcome id="__13">
            <name>done</name>
            <commit/>
          </outcome>
        </task-flow-return>
        <task-flow-return id="Cancel">
          <outcome id="__14">
            <name>cancel</name>
            <rollback/>
          </outcome>
        </task-flow-return>
        <view id="ConfirmEventChanges">
          <display-name id="__18">Confirm</display-name>
          <page>/oracle/ou/oep/ui/pages/fragments/ConfirmEventChanges.jsff</page>
          <train-stop id="__17"/>
        </view>
        <train/>
        <control-flow-rule id="__19">
          <from-activity-id id="__20">*</from-activity-id>
          <control-flow-case id="__21">
            <from-outcome id="__23">cancel</from-outcome>
            <to-activity-id id="__22">Cancel</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <control-flow-rule id="__24">
          <from-activity-id id="__25">ConfirmEventChanges</from-activity-id>
          <control-flow-case id="__27">
            <from-outcome id="__35">submit</from-outcome>
            <to-activity-id id="__26">Submit</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__29">
            <from-outcome id="__30">goToEditEventDetail</from-outcome>
            <to-activity-id id="__28">EditEventDetail</to-activity-id>
          </control-flow-case>
          <control-flow-case id="__32">
            <from-outcome id="__33">goToRoomAssignments</from-outcome>
            <to-activity-id id="__31">EditEventRoomAssignments</to-activity-id>
          </control-flow-case>
        </control-flow-rule>
        <use-page-fragments/>
      </task-flow-definition>
    </adfc-config>

    Hi,
    You need to first name the view activity to desired name first and then change the display name.You will find a good example in JDeveloper Help Topics under Cue Cards>Work with ADF Technologies>Implement a Multi-Step page Flow with ADF Train>Step 2
    For Ex:
    In the Application Navigator, select the ViewController project and open the Create Task Flow dialog. Enter train-flow.xml in the File Name field. Select both Create as Bounded Task Flow and Create with Page Fragments. Then select Create Train and click OK.
    From the Component Palette, ADF Task Flow page, Components panel, drag View and drop it on the blank canvas in the diagrammer. Rename the activity to start. Repeat the procedure to add three more view activities, using the following names: addresses, payment, review.
    Drag and drop Task Flow Return on the diagram. Accept the default name of taskFlowReturn1. In the Component Palette, click Control Flow Case. On the diagram, click the review icon, then click the taskFlowReturn1 icon. Rename the control flow case element to commit.
    In the Structure window, expand view - start . Right-click train-stop and choose Insert inside train-stop Display Name. In the Property Inspector, enter Start in the Display Name field. Repeat the procedure in step 6 to add train stop display names to the remaining view activities: view - addresses , view - payment, view - review . Use the following values, respectively: Addresses, Payment, Review. In the Application Navigator, select the ViewController project and open the Create Task Flow dialog again. Enter childtrain-flow.xml in the File Name field. Make sure Create as Bounded Task Flow and Create with Page Fragments are selected. Then select Create Train and click OK. From the Component Palette, drag View and drop it on the diagrammer. Rename the activity to billing. Repeat the procedure to add one more view activity, using the name shipping. Drag and drop Task Flow Return on the diagram. Change the name to childFlowReturn1. Draw a Control Flow Case from shipping to childFlowReturn1. Rename the case element to done. In the Structure window, expand view - billing. Right-click train-stop and choose Insert inside train-stop Display Name. In the Property Inspector, enter Billing in the Display Name field. Repeat the procedure in step 13 to add
    Hope this helps!
    Edited by: Swathi Patnam on Sep 9, 2010 2:16 PM

  • IE 7 and Firefox 3 display issues - neither work as expected

    hi,
    I'm having a terrible time trying to figure out how to solve the 2 display issues I have on IE and Firefox. I can't get either one to work like it's supposed to.
    I'm using RH8, Webhelp and it doesn't matter what skin I use (nothing custom, just what is available in RH).
    On IE 7.0.5730.13, Webhelp only displays information in the information frame (text) when I attempt to resize the panes. If I just click and move my mouse just a little bit to expand the TOC text magically appears for THAT selected TOC topic only. If I move to another topic in the TOC, I have to do the same thing. And by resize, I mean, I click and move a millimeter and the stuff displays. Otherwise, if I do nothing, the TOC displays as expected but the text frame (contents) is blank.
    On Firefox 3.5.6, the TOC pane does not display 100% vertically........it's cut off at the end of the TOC and contains scrollbars to move vertically and horizontally.
    So, neither browser really works for me.  Am I the only one?
    I'm using RH 8.0.0.203
    Any advice or suggestions are very much welcome.......

    Ahhh, okay.
    That actually seems to be providing a bit of a clue to the overall picture I might think. The icon should be kicking off a Dynamic HTML drop-down area.
    Since the icon isn't seemingly doing anything in FF, it's logical to me that you somehow have JavaScripting turned off in FF. This can be done using an Add on product, which is why I asked.
    It's also likely the reason for the super short TOC display. Typically the TOC depends on JavaScript to work its magick.
    My thought here is that if you and Peter can determine where JavaScript is being turned off, you will solve the issues.
    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

  • How to stop to display the main report page header in the subreport!

    Hello all,
    I have an existed report that display the CR page header on every page of the report. Now I added another subreport into report footer without using link. How do I stop to display the main report page header and display the subreport in the new page with subreport header only? I really appreciate your time to help me out on this issue. Thanks.

    Hi,
    I tried to supress the page header with (onlastrecord and TotalpageCount > 1) condition, but the last page of main report without page header. I still like the page header display on last record, but not on the subreport only. How do I get it? Thanks in advance.

Maybe you are looking for