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

Similar Messages

  • 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

  • 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

  • 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

  • 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.

  • [taskflow, train]Giving name to train stop

    Hi,
    how to give a name to a stop, when train is dropped in the UI ?
    Fred

    How do I change the label for the train stop in the train component? - Again easy. Select the train stop (view activity) in the diagram and look at the property inspector, choose the Train Stop tab and set the value of display-name property to a string or an EL Expression. If you look at the XML this results in a structure like this:
    <view id="page1">
    <page>/page1.jspx</page>
    <train-stop>
    <display-name>My Custom Label</display-name>
    </train-stop>
    </view>

  • Train-stop not Expected

    Hi All
    I am developing a bounded task flow, following the JDeveloper 12c tutorials. After finishing I got two errors:
    Element 'train-stop' not expected and
    Element not completed 'view'
    I am newbie to this, any help please?? I searched about this problem but I didn't find any solution.
    Thank you in advance

    Not sure where you did wrong.  You may want to look into a sample http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51adf-452576.html which does how to use trains.  It's for an older version of jdev, but should work on 12c too.
    Timo

  • [important] click current train stop will run the method

    Hi all,
    I have a question about train stop, I have a train with three train stops, and in the second train stop, I have a method bind to this train stop, if user navigate to the second train stop, this method will run, but in the second train stop, I found that I still can click this page's train stop in the train stop navigation, so this method will execute each time when I click the train stop. Do we have some problems to avoid the issue, I don't want to this method run when click the current train stop, but only run when other train stops navigate to this train stop. Thanks so much!
    Allen

    Thanks for your reply, Arun, my Jdev version is 11.1.1.5, I don't add a switcher component to execute the method, about refreshCondition, it's a attribute? how can I set refreshCondition? I want to know, ADF doesn't have a way to resolve the issue? you know, it's bad that allow the train stop clickable in this train stop, we should don't let this bind method run when click the current train stop. Thanks again!

  • Can we customize ADF Train flow to remove a Train stop on some condition?

    Hi,
      Can we customize ADF Train Flow using customization frame work and remove one train stop using some condition?
    Thanks
    Abhilash

    Read Frank's article http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51adf-452576.html
    Timo

  • Dynamically Add and Remove Train Stop with version 11.1.2.3

    I have found examples with prior versions, such as http://adfpractice-fedor.blogspot.com/2011/12/dynamic-adf-train-showing-train-stops.html.
    But, they do not work in 11.1.2.3.
    It appears that the APIs have changed considerably.
    Please advise as to a similiar example that is based on the API model for 11.1.2.3
    Thanks in advance for your help.

    Hi,
    I have a requirement to dynamically add different train stops at runtime, which are not part of the task flow at design time. I would like to build the train at runtime based on various conditions that occur. Is this possible?
    Train stops can only be removed from the train model before the first view renders, which means during task flow initialization. To a later point you cannot remove but hide stops. The train model is created upon task flow initialization too and any train stop that is not part of the model virtually doesn't exist. In your case I think creating a custom train model from ground up and using this with the train is the way to go. The default task flow metadata based implementation doesn't seem to do what you need it for. Alternatively, if you can predict the maximum number of train stops, you can design them at design time and then remove those you don't need at runtime using a HashMap reference in the train stop configuration and check the HashMap values upon initialization.
    Here's a write up on trains I did in the past: http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51adf-452576.html
    More documents you find on ADF Code Corner http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html (just search for train)
    Frank

  • Text wrap issue:ShowDetaillItem chop-off in the PanelAccordion.

    Issue: Text wrap issue in ShowDetailItem header. Tittle of the S+howDetaillItem+ chop-off does not display completely in the PanelAccordion.
    I have a few texts that does not wrap in ShowDetailItem Header used for the panel accordion. I could not fix it after trying a few options like changing the css skin, and in the design property inspector.
    Please suggest a way to fix this.
    Oracle Jdeveloper 11.1.1.5 is the version.
    Windows XP professional sp3
    Edited by: 899970 on Nov 30, 2011 11:34 AM

    Thanks for your response.
    Yes, we dont have enough room on the page.
    I want the text to wrap and display in the second line as it has more no. of letters compared to the other texts available.
    Please suggest me a way to get the text displayed the way I want it to be.
    Thanks
    Sam
    Edited by: 899970 on Nov 30, 2011 3:13 PM

  • I have Adobe CS4..... now when I want to print my picture, I get the message "Adobe CS4 has stopped working, sending issue to windows and then disappears.... nothing can print anymore...Help??

    I have Adobe CS4..... now when I want to print my picture, I get the message "Adobe CS4 has stopped working, sending issue to windows and then disappears.... nothing can print anymore...Help??

    Try updating the printer driver.

  • 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

  • How to use Train Component only with Task-flows as Train Stops

    Hi,
    I'm using JDeveloper version - 11.1.1.6
    I have below requirement:
    In a Page when user clicks the button, display the Popup with Train Component. I have to use bounded task flow for each Train Stop. I don't have any views to be used as Train Stops. (Most of the Train Samples have Views / JSFF Fragments as Train Stops and child task flows as Train stops)
    Please let me know if I can achieve this.
    Any pointers would be helpful.
    Thanks
    Ravi

    Hi,
    train stops must be displayed on a view. So if you have a task flow that navigates to other taskflows then it needs to have at least a single view to display the train stops. If you attempt to show. If you enter a task flow then this task flow will have its own train model. So maybe its better to look at what your use case is and why you need to quite called task flows without properly exiting them
    Frank

  • 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

Maybe you are looking for

  • How to publish a small size flash site

    I have made a total flash site but the exported site is 50 mb!! Not a usable size, so I want to know how to make this site 'smaller'. there are a ton of flash sites on the www, so I must do something wrong.. What is the normal file-size for a flash s

  • PSE 7 catalog error when restoring backup from PSE 5

    I am attempting to move from PSE5 on XP to PSE7 on Vista using the backup-restore method, . Catalog is about 75 MB, data set is 56 GB, all stored on external USB drive. Tried restoring in new folder using both with and without restoring folder arrang

  • Wrong with this query

    Hi i need to execute the following query using decode select decode(blob_content,(select blob_content from a_images2 where employee_number not in (select employee_number from a_images2 )),(select blob_content from a_images2 where employee_number='FIN

  • Recovery issue in noarchive log

    Hi, i need recovery for a database which is running in noarchive log mode.The dbas im my org take cold backup so they donot put the db in archive log mode. Now the database needs recovery it gets mounted but doesnot open and the db server asks me to

  • Error on opening Form in Forms builder

    Hi, I am getting the following error when I am trying to open a custom form which was developed by someone else. FRM 10102: Cannot attach PL/SQL library <library name i.e. .pll>. This library attachment will be lost if the module is saved. This .pll