Adding EL expression to train skip property

Is there a way I can get JHeadstart to populate the skip property of a train stop ? If not, what is the best way to preserve an EL expression entered manually ?
Cheers,
Brent

Brent,
No, we don;t have decalartive support for thos yet. You can customize groupAdfcConfig.vm to implement this.
Using the custom group properties in the application definition, you could do this in a generic way:
#if ($JHS.current.group.wizardBaseGroup)
<train-stop>
#if ($page.itemRegion)
<display-name>#REGION_TITLE($page.itemRegion)</display-name>
#elseif ($page.regionContainer)
<display-name>#REGION_TITLE($page.regionContainer)</display-name>
#else
<display-name>#GROUP_TITLE($page.group)</display-name>
#end
*<skip>${page.group.property1}</skip>*
</train-stop>
#end
The you can specify the boolean skip expression in the first custom property of the group.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • Using region attributes to populate train skip property

    Hi Steven,
    It's been a while since I've looked at trains in 11g and now that I picked it up again I'm working on using the "skip" property of the train stop.
    Back in this thread Adding EL expression to train skip property you suggested modifying the groupAdfcConfig template like :
    #if ($JHS.current.group.wizardBaseGroup)
    <train-stop>
    #if ($page.itemRegion)
    <display-name>#REGION_TITLE($page.itemRegion)</display-name>
    #elseif ($page.regionContainer)
    <display-name>#REGION_TITLE($page.regionContainer)</display-name>
    #else
    <display-name>#GROUP_TITLE($page.group)</display-name>
    #end
    *<skip>${page.group.property1}</skip>*
    </train-stop>
    #end
    The problem with this is that the skip values need to be provided at the region level (ie for each stop) rather than just once for the top level group. I've played around with the groupAdfcConfig template and now have it looking like
    #if ($JHS.current.group.wizardBaseGroup)
    <train-stop id="#NEW_ID("__")">
    #if ($page.itemRegion)
    <display-name id="#NEW_ID("__")">#REGION_TITLE($page.itemRegion)</display-name>
    *<skip>${page.itemRegion.rendered}</skip>*
    #elseif ($page.regionContainer)
    <display-name id="#NEW_ID("__")">#REGION_TITLE($page.regionContainer)</display-name>
    *<skip>${page.regionContainer.rendered}</skip>*
    #else
    <display-name id="#NEW_ID("__")">#GROUP_TITLE($page.group)</display-name>
    #end
    </train-stop>
    #end
    .. using the rendered property of the train region to populate the skip property. The problem I am currently facing is when I'm using a group region because there is no ${page.groupRegion} method. You simply default to ${page.group} for the group region to get the display name but the trouble with that is there is no method in the PGGroup class to retrieve the rendered attribute. For now, I've had to wrap the group region inside a region container just to be able to get the rendered attribute property back.
    Is there a way I can access the rendered property of the group Region ?
    Cheers,
    Brent

    Brent,
    We would need to change the generator code for that. Can't you put the group region inside a region container an set the rendered property on the region container instead?
    Steven Davelaar,
    JHeadstart Team.

  • How to set value for  skip condition in train stop property of train compnt

    Hi,
    Iam using JDev 11.1.1.5 version, i have created a TaskFlow where having train components pointing to different jsff pages, moving from one jsff page to another jsff page.
    I want to validate the input fileds in one of the jsff page, then only have to move to next jsff page. For this, how can i set skip property of train component....to disable to go for next train component...?
    Note: I want to set boolean value(returns 'True', if all input fileds are filled, otherwise 'False') into skip property of train component.
    Regards.

    You can use the skip property of the train stop. You can have an EL expression for it, some thing like this #{pageFlowScope.isContinueEnabled}.
    Once all the mandatory fields are entered, you can set the isContinueEnabled flag and refresh the train button bar.
    For more info refer this: http://docs.oracle.com/cd/E14571_01/web.1111/b31974/taskflows_complex.htm#CJHFBFIE
    Also, you can try navigating to different train stops programmatically.
    Check: 082.      How-to programmatically navigate ADF train models
    in http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html

  • Skip Property in Train Stop???

    Hi, I saw some tutorial regarding Train including this >>> http://www.oracle.com/technetwork/developer-tools/adf/learnmore/82-programmatically-navigate-trains-396873.pdf
    but while conducting a research and development using the document, I can't find the Skip property of the train stop indicated in Page 8.
    Does anyone familiar with this? I have a use case wherein the train stop should be disabled and we have to navigate programaticalyl.
    Thanks..

    open your task flow in jdeveloper main menu.
    then click on the view (train stpe) you want to change its skip property.
    you will see the skip property in the property inspector.

  • How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods

    Hi All,
    How to Handle Automatic Skip Property of Item in Oracle Forms through Custom.pll or from other methods.
    This is a enhancement requirement.
    When ever user enter value in field 1 then automatically cursor should go to next field.

    Hello Bobb,
    You can create a trigger(when-list-changed) for each list item where you could:
    1.recreate the record groups and then use POPULATE_LIST so you can hide the selected values. In forms builder online help there are some good examples about create record groups dynamically.
    or
    2.you can perform a validation instead of hiding the selected values. If the values is already selected the display a message 'Value already selected....'
    Second option is much faster(only an 'if clause')
    Hope this helps.
    Regards,
    Alex

  • Adding the expression in Item under UI Property

    HI:
    I was trying to create a Item in a region editing parameters in the create Action properties.
    I can not edit or add the expression parameters because the
    elipse icon did not bring the window to give name and
    write the expression for the parameter
    I use 10.1.3 JDeveloper
    Can you please help
    Thank you
    Ali

    Hi Ali,
    Sorry, little confusing. Can you please re explain.
    Abdul Wahid

  • Adding a custom field to the property inspector in JDev 10.1.3

    Hello All
    I have a requirement where i have to add some custom entries to the property inspector.Say if we choose a text field in html there will be some standard values in property inspector.Now i want to add my own custom entry always on selection of text field.
    Or i am developing a custom editor and i always want property inspector to display some values on certain selections.
    I already went through the code samples provided for jdev 10.1.3 but i couldnt find one for property inspcetor.I also went through the oracle.ide.* packages.Could someone provide me a class or method from where i can start ???
    Thanks in advance !!!

    I was able to find the ide.jar file which contains all the necessary oracle.ide.* class files.
    I had another query....basically there are 2 kinds of packages of the form javax.ide.* and oracle.ide.*
    So suppose im faced with the situation of say adding menu items and defining actions on them then i guess it can be done in 2 ways using classes in javax.ide or oracle.ide.Can you elaborate how i should choose between these 2 packages.
    Is it if im using the <jdeveloper-hook> i shud use oracle.ide.* and the regular jsr 198 schema then the javax.ide.*
    Kindly clarify !!!! Thanks in advance

  • Using Expression in the PageName Property of a Tablix

    Dear Community, my scenario includes SSRS 2008R2/2012 and RDL reports
    I need Excel 2010 sheets to be named; every Tablix a different sheet. The new Property PageName is perfect and works great.
    But I dislike to manually type the name and I'm looking for a way to set the PageName dinamically... The Dataset name could be my solution; I use
    basic Tablix and just need to seek the name to set the Property.
    I thought to the Custom Code. The (wrong) idea was to pass a field and retrieve the dataset name from it. No Success:
    =Code.getDatasetName(Fields!myFLD.Value)
    Public Function getDatasetName (byval myFLD As Field) As String
    return myFLD.ParentName.ToString  'invented method
    End Function
    Thank in advance
    pf

    Hi pf,
    If I understand correctly, you have several tablix in the report, and it has page break between each tablix.
    As per my understanding, we need set the PageName property for each tablix manual. Since that, we have to manual type the dataset name for each tablix. If we have add page break in one tablix, we can use field value expression to display group values as
    sheet name in excel.
    Reference:
    Naming Excel Worksheets
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Added AirPort express to extreme but my iPad does not see the express

    I wanted to extend my network due to "dead spots" in the house and patio but no change after adding the AirPort express to my extreme. It set up fine and both with a green light but the bars on the iPad have not changed. It still has a slow connection despite being in the same room as the express. I set it up as a N-device (the express) per the instructions to extend a network. Our home phone is 5.8GHz & should not interfere. Apple Tv & iPhone 4 work but did before. What have I missed??

    It sounds like the Express is not "extending" Quick check points:
    On the AirPort Extreme
    Open AirPort Utility - click Manual Setup
    Click the Wireless tab below the icons
    Make sure that there is a check mark next to "Allow this network to be extended"
    Update to save any changes
    On the AirPort Express
    Open AirPort Utility - click Manual Setup
    Click the Wireless tab
    Wireless Mode = Extend a wireless network
    Wireless Network Name = Same name as the Extreme network
    Make sure there is a check next to "Allow wireless clients"
    Security = Same setting as Extreme
    Password = Same as Extreme
    Update to save any changes
    If you have a laptop handy, turn off the wireless on the laptop and temporarily connect it to the ethernet port on the Express with an ethernet cable. Open your browser. If your Express is "extending", you will have internet access.

  • Adding Airport Express to working G5 Linksys WRG setup for music...issues

    Problem: G5 is "connecting" to wireless linksys network but no longer getting IP address (nor connecting to network to configure AX and itunes doesn't see remote speakers) Using DHCP, can see Mac addresses on Linksys web configure screens.
    It worked fine prior to adding AX. I had the G5 connecting to Linksys Network WRG wireless router accesspoint through to DSL modem. This has worked fine for months. Also connect to this network with WinPC. All using WPA Personal security password.
    CD Player died, so I purchased the Airport Express to play music to my stereo.
    I did get the Airport Express configured...although many tries. I had to turn on broadcast of network name or SID in the Linksys webconfig. Music did play from G5 but I somehow lost the ability to connect to internet. Firefox gave "cannot connect" message. (Safari Network Diagnostics cannot fix issue) When I stopped and restarted the Airport(on G5) the music quit playing. Still have green light on Express. WinPC still works fine as well, HOWEVER:
    G5 says that either(depending on which Im trying) that Airport is connected to "wireless network name" but doesn't have ip address OR that ethernet is connected but doesn't have ip address. I see on linksys that the mac addresses are "on". I've restarted everything, I've trashed the sys config folder and restarted G5...still same issue. Again WinPc works fine. Using DHCP...
    Any ideas on how to get my G5 back on network? and then I can try to have the AX work again.
    No tunes, and now no internet...help?
    This is posted on IMAC G5 forum but it was suggested I post here for Express expertise. THANKS.

    I would suggest getting your Internet connection back first, and then, adding the AX for streaming iTunes.
    Try the following...
    Modem/Router Power ReCycling
    - Power-off the DSL/Cable modem, Internet Router, & computer(s). (Wait at least 30 minutes. If possible, leave the modem off overnight.)
    - Power-on the DSL/Cable modem; Wait at least 30 minutes.
    - Power-on the Internet Router; Wait at least 5 minutes.
    - Power-on the computer(s)
    Typical Linksys Router Setup - Cable
    - Access the Linksys web-based setup at 192.168.1.1 (or whatever address your router is set at) using a web browser. The default username is blank & password is "admin."
    Setup tab
    - LAN IP Address: 192.168.1.1
    - Subnet Mask: 255.255.255.0
    - WAN Connection Type: Obtain an IP automatically
    - Apply (if you make changes)
    Status tab
    - WAN (all the values here should be populated by your ISP)
    DHCP tab
    - DHCP Server: Enable
    - Starting IP Address: 192.168.1.n, where n should be greater than 1
    - Number of DHCP Users: n, where n should reflect the realistic number of concurrent clients that you plan on having connected to the router at any given time.
    - Client Lease Time: 0
    - DNS 1, 2, 3: <leave at default>
    - WINS: <leave at default>
    - Apply (if you make changes)
    Advanced - Filters tab
    - Filtered Private IP Range: <leave at default>
    - Filtered Private Port Range: <leave at default>
    - Block WAN Request: Enable
    - Multicast Pass Through: Enable
    - IPSec Pass Through: Enable
    - PPTP Pass Through: Enable
    - Remote Management: Disable
    - Remote Upgrade: Disable
    - MTU: Disable
    - Filter Internet NAT Redirection: Enable
    - Filter IDENT(port 113): Enable
    - Apply (if you make changes)
    - Leave all the other tabs at their respective default settings.
    Connect your G5 directly, using an Ethernet cable, to one of the LAN ports of the Linksys router. Can you access the Internet now?

  • Front Row/Air Port Express/iTunes music skips

    I have my main music library on my Mac Pro. I'm using the Front Row interface on my MacBook to pull songs from the Mac Pro via AirPort Express. I'm also shuffling a large playlist. The MacBook then sends the song back to AirPort Express and to a set of wired speakers. When playing through Front Row, the song will skip and delay. Sometimes I have to back out of Front Row to get Front Row to proceed to the next song or change volume. Any thoughts?

    I have the same problems with my iTunes playing over AirTunes from my PowerBook. Certainly it occurs if iTunes skips over a track that is not currently available to the library (e.g. if it is on a disconnected hard drive). iTunes itself doesn't care about the missing file (it skips over) but the playback through AirTunes stops; even though the track appears to continue playing on the iTunes application.
    I have not found a cure (other than ensuring every one of the tracks is available at the point where it is playing - and everything else is working flawlessly!).

  • AirTunes + Leopard + Express = stutter and skip

    I am using AirTunes and Leopard with an Express. When I play music to an attached stereo (analog), the music skips and stutters. This only happens when the Express is part on an existing network. If I set up a new network with the Express, it works fine.
    Thanks,
    Ken

    The same issue, but I have Airport Express connected to Airport Extreme (n) as client. First hours it is good, but later I have the same problems. It doesn't matter if I listening to music during this. But when I'm connected to Express directly all is OK.
    I'm using old firmware, as with latest 7.2.1 it skips from the first song.
    And, yes, it seems to begin with Leopard, as it always work fine on TIger. Waiting for update...

  • AirPort Express drop-out / skips -- Windows XPSP2 w/ Linksys WRT54GS router

    Hello,
    I'm having some skipping / drop-out issues when streaming music from a Windows XPSP2 fileserver, which runs iTunes 7.3.2.6, to my AirPort Express. I've long suspected my LinkSys WRT54GS router. Here are some things I've tried:
    * tried enabling logging on my AirPort Express unit, (I actually installed a Windows SysLog client and ensured it was working) but it reveals no useful information after a skip -- just debug logging. No change.
    * changed the wireless channel from 6 to 11. No change.
    * Do not have wireless security enabled (just don't broadcast ESS ID). No change.
    * Latest firmware on router, AirPort Express, and iTunes. No change.
    * All other wireless devices in the house turned off. No change.
    I'm seriously considering buying a new wireless DSL router to see if it makes the problem go away (any suggestions to makes or models appreciated). Unfortunately my WRT54GS is not one of the routers that supports reflashing with a third-party firmware, or I would have done this eons ago.
    Another thing I am not sure how to test is the signal strength that the Airport Express gets from my LinkSys WRT54GS router. I've not been able to figure out how to get this information, and I also do not know what are considered good / not-good strengths. Any help here would be great.
    Here are some details.
    AirPort Express with Firmware 6.3, communicating wirelessly over Channel 11 to my LinkSys WRT54GS router with firmware 1.52.0, into which my Windows XPSP2 fileserver is physically connected with CAT5 cable. The music files are served up on a Maxtor DiamondMax 10 7200 rpm 300GB Serial ATA-150 Hard Drive.
    I've really tried everything I can think of, and I still get skipping.
    Specifically, music will play fine for 45 minutes, or 5 minutes, or an hour; then, the music will suddenly stop. The AirPort Express will continue to have its green LED on, though. The music will resume 1-10 seconds later. This skipping will happen periodically for a 1-2 minute period, usually 2-3 times per minute, go away for an indeterminate amount of time; or, it might persist until I get tired and turn off my stereo. There is no pattern as to time of day so I don't suspect neighborly interference.
    Other things in the house are an older 802.11b laptop, 5.8GHz phone, brand new microwave, and a few dozen Palm and Windows PDAs that all have their WiFis disabled, where appropriate.
    Any suggestions or ideas would be fantastic. This has been a problem for a couple of years now which I have systematically (though unsuccessfully) tried to solve.
    Thanks,
    -Jeff

    I haven't yet budgeted to buy a different router, but I'll respond when I do as to whether this was the fix or not.
    Just an observation ... in your case, the music streams wirelessly from your laptop to your router, and then wirelessly again from the router to your Airport. That's 2 wireless paths it must go. In my case, music streams directly to my router with a LAN cable; then, wirelessly from my router to the airport. So that's only 1 wireless path, and even still I am experiencing problems.

  • BRF+ in NW 701: Adding an expression in a ruleset-specific rule

    Hi,
    I'm running BRFPlus in NW 701 (FDT_WORKBENCH) and I'm aware that, this version has several limitations
    For example, in a ruleset-specific rule, I'm not able to add a ruleset variable nor to add a new expression operation as rule operation.
    Is there any kind of workaround or I need BRF+ in NW 702 only?
    Thank you in advance.
    Kind Regards,
    Andrea

    Hi Andrea,
    I am sorry but there is no workaround and it is pretty unlikely that those features will be ported into 701.
    A workaround could be to run BRFplus in 702 on a separate machine and connect by RFC. Or have the logic in ABAP abd only call into BRFplus for decision tables, formulas..
    BR,
    Carsten

  • Adding two expressions in ADF Groovy

    Hi All,
    I want to add two expressions in Groovy given as below. Is a Groovy reference link available for starters. Basically the below expression gives eg: "3+4" instead of 7.
    #{bindings.DefibrillationNoAmsShocks.inputValue}+#{bindings.DefibrillationNoOtherShocks.inputValue}
    Thanks

    What is the datatype of the attributes DefibrillationNoAmsShocks, DefibrillationNoOtherShocks?
    In Jdeveloper 11.1.1.4, If the datatype is of type oracle.jbo.domain.Number, both these expressions provides the desired results:
    "#{bindings.DefibrillationNoAmsShocks.inputValue.value + bindings.DefibrillationNoOtherShocks.inputValue.value}"
    "#{bindings.DefibrillationNoAmsShocks.inputValue.data + bindings.DefibrillationNoOtherShocks.inputValue.data}"Thanks,
    Navaneeth

Maybe you are looking for

  • Do you need to have a WIfi Connection to Play iTunes Match on your iPod?

    i just purchased iTunes Match for my iPod touch and iPad2 however im not sure if it will work off of a wifi network? i hope so!

  • Implications of changing locale through native code

    We have a Java application that uses a native Win32 based C++/COM library. This native library uses Win32 APIs (_wsetlocale, SetThreadUILanguage, etc) to set the locale for the current process, thread, etc. Clients are allowed to use tools to establi

  • Layout help please

    I am very new to dreamweaver and would like to make a website with layout featuring a drop down bar (similar to the bar on http://www.layersmagazine.com) but I am pretty confused about what I should do. I have some code set up already but I would qui

  • How to transfer existing Album Art to NEW Computer/iTunes?

    Hi guys, I will try to make this simple. I'm going from an iMac to a new macbook. I had hopes of creating a complete clone of my existing itunes library into the new computer...but it seems harder than I expected. Moving the music itself is not a pro

  • Browsers crashing when trying to view Youtube (other websites with video)

    Getting a spinning wheel on two browsers (Firefox and Safari) when trying to load up websites like Youtube and ESPN.com (video based websites). Issue only occurred after recent Firefox update. Force quits are very slow. Any help would be much appreci